Re: [PATCH v5 18/42] stat: handle idmapped mounts

From
Christoph Hellwig <hch@infradead.org>
Date
2021-01-19 14:30:12
Also in
linux-ext4, linux-fsdevel, linux-integrity, linux-security-module, linux-xfs, selinux
Reply to
Christian Brauner, 2021-01-12
On Tue, Jan 12, 2021 at 11:01:00PM +0100, Christian Brauner wrote:
The generic_fillattr() helper fills in the basic attributes associated
with an inode. Enable it to handle idmapped mounts. If the inode is
accessed through an idmapped mount we need to map it according to the
mount's user namespace before we store the uid and gid.
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 (82 messages) 82 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