| commit | 8723d5ba8bdae1c41be7a6fc8469dc9aa551e7d0 | [log] [tgz] |
|---|---|---|
| author | Christoph Hellwig <hch@lst.de> | Sun Mar 14 10:59:39 2021 -0700 |
| committer | Darrick J. Wong <djwong@kernel.org> | Mon Mar 15 08:50:41 2021 -0700 |
| tree | 36a6d36f96d6bced2ea52ef5c8f08239fa0090a8 | |
| parent | 08a204387e8063ba7375481281701137bd553dee [diff] |
xfs: also reject BULKSTAT_SINGLE in a mount user namespace
BULKSTAT_SINGLE exposed the ondisk uids/gids just like bulkstat, and can
be called on any inode, including ones not visible in the current mount.
Fixes: f736d93d76d3 ("xfs: support idmapped mounts")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>