opnsense-src/sys/fs/tmpfs
Rick Macklem afd5bc6309 pathconf: Add a new variable for hidden/system
For the NFSv4 server to implement the "hidden" and
"system" attributes, it needs to know if UF_HIDDEN,
UF_SYSTEM are supported for the file.

This patch adds a new pathconf variable called
_PC_HAS_HIDDENSYSTEM to do that. The ZFS patch
will be handled separately as a OpenZFS pull request.

Although this pathconf variable may be queried
by applications using pathconf(2), the current
interface where chflags(2) returns EOPNOTSUPP
may still be used to check if the flags are set.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D51172
2025-07-05 16:33:16 -07:00
..
tmpfs.h tmpfs: Rework file handles 2024-12-23 15:46:55 +01:00
tmpfs_fifoops.c sys: Remove $FreeBSD$: two-line .c pattern 2023-08-16 11:54:30 -06:00
tmpfs_fifoops.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tmpfs_subr.c tmpfs: turn vfs.tmpfs.memory_percent into CTLFLAG_RWTUN 2025-04-11 13:02:06 -04:00
tmpfs_vfsops.c tmpfs: Rework file handles 2024-12-23 15:46:55 +01:00
tmpfs_vnops.c pathconf: Add a new variable for hidden/system 2025-07-05 16:33:16 -07:00
tmpfs_vnops.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00