Re: [PATCH v5 30/42] would_dump: handle idmapped mounts

From
Christoph Hellwig <hch@infradead.org>
Date
2021-01-19 22:40:21
Also in
linux-api, linux-ext4, linux-fsdevel, linux-security-module, linux-xfs, selinux
Reply to
Christian Brauner, 2021-01-12
On Tue, Jan 12, 2021 at 11:01:12PM +0100, Christian Brauner wrote:
When determining whether or not to create a coredump the vfs will verify
that the caller is privileged over the inode. Make the would_dump()
helper handle idmapped mounts by passing down the mount's user namespace
of the exec file. If the initial user namespace is passed nothing
changes so non-idmapped mounts will see identical behavior as before.
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Thread (79 messages) 79 messages, 7 authors, last reply 2021-01-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help