Thread (5 messages) 5 messages, 2 authors, 18d ago

Re: [PATCH] selftests: Open /dev/udmabuf O_RDONLY

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-06-27 01:09:43
Also in: bpf, linux-kselftest, lkml

On Thu, 25 Jun 2026 11:15:55 -0700 T.J. Mercier wrote:
Write permissions on the /dev/udmabuf device file are not required to
issue ioctls and allocate udmabufs. Applications should be opening this
file as O_RDONLY. The BPF dmabuf_iter selftest already does this. [1]

Remove the write access mode from the drivers/dma-buf/udmabuf.c and
drivers/net/hw/ncdevmem.c selftests.
You need to explain "why", too. Why change it if it clearly
worked for everyone running this test until now.
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help