Home
last modified time | relevance | path

Searched refs:S_ISTXT (Results 1 – 18 of 18) sorted by relevance

/freebsd-14-stable/tools/regression/priv/
HDpriv_vfs_stickyfile.c99 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-stable/tools/build/cross-build/include/linux/sys/
HDstat.h57 #ifndef S_ISTXT
58 #define S_ISTXT S_ISVTX macro
/freebsd-14-stable/lib/libc/gen/
HDsetmode.c209 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-stable/sys/sys/
HDstat.h245 #define S_ISTXT 0001000 /* sticky bit */ macro
300 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
/freebsd-14-stable/contrib/mtree/
HDmtree.h50 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
/freebsd-14-stable/sbin/mksnap_ffs/
HDmksnap_ffs.c139 if ((stbuf.st_mode & S_ISTXT) && stbuf.st_uid != getuid()) in main()
/freebsd-14-stable/crypto/heimdal/appl/ftp/ftpd/
HDls.c123 #ifndef S_ISTXT
124 #define S_ISTXT S_ISVTX macro
210 if((st->st_mode & S_ISTXT)) { in make_fileinfo()
/freebsd-14-stable/sys/contrib/openzfs/module/os/freebsd/spl/
HDspl_policy.c351 if (vp->v_type != VDIR && (vap->va_mode & S_ISTXT)) { in secpolicy_setid_setsticky_clear()
/freebsd-14-stable/crypto/heimdal/appl/rcp/
HDChangeLog121 * rcp.c: add RCSID S_ISTXT -> S_ISVTX printf sizes of files with
/freebsd-14-stable/usr.bin/posixmqcontrol/
HDposixmqcontrol.c102 S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISTXT;
/freebsd-14-stable/sys/fs/ext2fs/
HDext2_vnops.c541 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-stable/sys/ufs/ufs/
HDufs_vnops.c877 if (vp->v_type != VDIR && (mode & S_ISTXT)) { in ufs_chmod()
1619 if ((tdp->i_mode & S_ISTXT) && in ufs_rename()
/freebsd-14-stable/sys/fs/fuse/
HDfuse_vnops.c1647 if ((dvattr.va_mode & S_ISTXT) && in fuse_vnop_lookup()
2354 if (checkperm && vp->v_type != VDIR && (vap->va_mode & S_ISTXT) in fuse_vnop_setattr()
/freebsd-14-stable/usr.bin/find/
HDfunction.c1321 (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO); in f_perm()
/freebsd-14-stable/sys/fs/tmpfs/
HDtmpfs_vnops.c192 if ((dnode->tn_mode & S_ISTXT) && in tmpfs_lookup1()
HDtmpfs_subr.c2085 if (vp->v_type != VDIR && (mode & S_ISTXT)) { in tmpfs_chmod()
/freebsd-14-stable/sys/kern/
HDuipc_mqueue.c2017 cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT; in kern_kmq_open()
HDvfs_syscalls.c1169 cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT; in openatfp()