| /freebsd-14.2/tools/regression/priv/ |
| H A D | priv_vfs_stickyfile.c | 99 error = chmod(dpath, 0700 | S_ISTXT); in priv_vfs_stickyfile_dir_fowner() 119 error = chmod(dpath, 0700 | S_ISTXT); in priv_vfs_stickyfile_dir_fother() 139 error = chmod(fpath, 0600 | S_ISTXT); in priv_vfs_stickyfile_file_fowner() 159 error = chmod(fpath, 0600 | S_ISTXT); in priv_vfs_stickyfile_file_fother()
|
| /freebsd-14.2/tools/build/cross-build/include/linux/sys/ |
| H A D | stat.h | 57 #ifndef S_ISTXT 58 #define S_ISTXT S_ISVTX macro
|
| /freebsd-14.2/lib/libc/gen/ |
| H A D | setmode.c | 209 if (perml & ~(STANDARD_BITS|S_ISTXT)) { in setmode() 214 ADDCMD('=', (STANDARD_BITS|S_ISTXT), perm, mask); in setmode() 252 who &= ~S_ISTXT; in setmode() 266 who |= S_ISTXT; in setmode() 267 perm |= S_ISTXT; in setmode()
|
| /freebsd-14.2/sys/sys/ |
| H A D | stat.h | 244 #define S_ISTXT 0001000 /* sticky bit */ macro 299 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
| /freebsd-14.2/contrib/mtree/ |
| H A D | mtree.h | 50 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
| /freebsd-14.2/sbin/mksnap_ffs/ |
| H A D | mksnap_ffs.c | 139 if ((stbuf.st_mode & S_ISTXT) && stbuf.st_uid != getuid()) in main()
|
| /freebsd-14.2/crypto/heimdal/appl/ftp/ftpd/ |
| H A D | ls.c | 123 #ifndef S_ISTXT 124 #define S_ISTXT S_ISVTX macro 210 if((st->st_mode & S_ISTXT)) { in make_fileinfo()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_policy.c | 354 if (vp->v_type != VDIR && (vap->va_mode & S_ISTXT)) { in secpolicy_setid_setsticky_clear()
|
| /freebsd-14.2/crypto/heimdal/appl/rcp/ |
| H A D | ChangeLog | 121 * rcp.c: add RCSID S_ISTXT -> S_ISVTX printf sizes of files with
|
| /freebsd-14.2/bin/cp/ |
| H A D | cp.c | 456 if ((mode & (S_ISUID | S_ISGID | S_ISTXT)) || in copy()
|
| /freebsd-14.2/usr.bin/posixmqcontrol/ |
| H A D | posixmqcontrol.c | 102 S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISTXT;
|
| /freebsd-14.2/bin/ls/ |
| H A D | print.c | 626 if (mode & S_ISTXT) in colortype()
|
| /freebsd-14.2/sys/fs/ext2fs/ |
| H A D | ext2_vnops.c | 541 if (vp->v_type != VDIR && (mode & S_ISTXT)) { in ext2_chmod() 970 if ((dp->i_mode & S_ISTXT) && tcnp->cn_cred->cr_uid != 0 && in ext2_rename()
|
| /freebsd-14.2/sys/fs/fuse/ |
| H A D | fuse_vnops.c | 1647 if ((dvattr.va_mode & S_ISTXT) && in fuse_vnop_lookup() 2355 if (checkperm && vp->v_type != VDIR && (vap->va_mode & S_ISTXT) in fuse_vnop_setattr()
|
| /freebsd-14.2/sys/ufs/ufs/ |
| H A D | ufs_vnops.c | 875 if (vp->v_type != VDIR && (mode & S_ISTXT)) { in ufs_chmod() 1617 if ((tdp->i_mode & S_ISTXT) && in ufs_rename()
|
| /freebsd-14.2/usr.bin/find/ |
| H A D | function.c | 1321 (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO); in f_perm()
|
| /freebsd-14.2/sys/fs/tmpfs/ |
| H A D | tmpfs_subr.c | 2085 if (vp->v_type != VDIR && (mode & S_ISTXT)) { in tmpfs_chmod()
|
| H A D | tmpfs_vnops.c | 192 if ((dnode->tn_mode & S_ISTXT) && in tmpfs_lookup1()
|
| /freebsd-14.2/sys/kern/ |
| H A D | uipc_mqueue.c | 2017 cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT; in kern_kmq_open()
|
| H A D | vfs_syscalls.c | 1169 cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT; in openatfp()
|