opnsense-src/sys/fs
Kyle Evans f61c48f440 kern: rename crsetgroups_fallback, document it in ucred(9)
As of FreeBSD 15.0, crsetgroups() *only* sets supplementary groups,
while crsetgroups_and_egid() will do both using an array of the same
style that previous versions used for crsetgroups() -- i.e., the first
element is the egid, and the remainder are supplementary groups.

Unlike the previous iteration of crsetgroups(), crsetgroups_and_egid()
is less prone to misuse as the caller must provide a default egid to use
in case the array is empty.  This is particularly useful for groups
being set from data provided by userland.

Reviewed by:	olce
Suggested by:	olce
Differential Revision:	https://reviews.freebsd.org/D51647
2025-07-31 19:50:48 -05:00
..
autofs Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
cd9660 cd9660: Add _WANT_ISO_MNT 2025-06-16 22:32:09 +01:00
cuse cuse: Use NULL for SYSUNINIT's last arg, which is a pointer type 2024-12-10 01:14:07 +08:00
deadfs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
devfs devfs: Set eofflag in devfs_readdir() 2025-05-29 18:25:56 +00:00
ext2fs ext2fs: 'struct ufid': Re-order fields and unpack 2024-12-13 15:04:50 +01:00
fdescfs fdescfs: Set *eofflag in fdesc_readdir() 2025-07-15 12:52:58 +00:00
fifofs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fuse kern: adopt the cr_gid macro for cr_groups[0] more widely 2025-07-24 09:59:08 -05:00
mntfs sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
msdosfs msdosfs: replace '/' in direntries with '?' 2025-07-18 00:53:54 +03:00
nfs kern: rename crsetgroups_fallback, document it in ucred(9) 2025-07-31 19:50:48 -05:00
nfsclient kern: start tracking cr_gid outside of cr_groups[] 2025-07-30 23:44:11 -05:00
nfsserver kern: rename crsetgroups_fallback, document it in ucred(9) 2025-07-31 19:50:48 -05:00
nullfs vfs: Initial revision of inotify 2025-07-04 14:42:33 +00:00
p9fs p9fs: Set *eofflag in p9fs_readdir() 2025-07-15 12:52:56 +00:00
procfs proc_rwmem check PRIV_PROC_MEM_WRITE when writing 2024-11-08 16:11:33 -08:00
pseudofs pseudofs: Simplify pfs_readdir() and set eofflag 2025-07-23 16:20:31 +00:00
smbfs smbfs: Set eofflag in VOP_READDIR 2025-07-23 16:20:31 +00:00
tarfs tarfs: 'struct tarfs_fid': Switch 'gen' to 'u_int', avoid packing 2024-12-13 15:04:42 +01:00
tmpfs pathconf: Add a new variable for hidden/system 2025-07-05 16:33:16 -07:00
udf udf: Improve input validation. 2025-07-16 21:33:41 +02:00
unionfs namei: Fix cn_flags width in various places 2025-05-27 13:29:14 +00:00