Darrick J. Wong cab23a4233 xfs: hide private inodes from bulkstat and handle functions
We're about to start adding functionality that uses internal inodes that
are private to XFS.  What this means is that userspace should never be
able to access any information about these files, and should not be able
to open these files by handle.

To prevent users from ever finding the file or mis-interactions with the
security apparatus, set S_PRIVATE on the inode.  Don't allow bulkstat,
open-by-handle, or linking of S_PRIVATE files into the directory tree.
This should keep private inodes actually private.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2024-04-15 14:58:48 -07:00
..
2024-02-22 12:43:35 -08:00
2024-02-22 12:44:22 -08:00
2024-03-27 13:17:15 +01:00
2024-03-13 13:52:24 -07:00
2023-12-15 10:03:45 -08:00
2024-02-22 12:40:12 -08:00
2024-01-10 08:45:22 -08:00
2023-12-07 14:51:07 +05:30
2024-02-22 12:43:35 -08:00
2024-02-17 09:32:32 +05:30