Home
last modified time | relevance | path

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

/freebsd-14.2/tools/regression/priv/
H A Dpriv_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.2/tools/build/cross-build/include/linux/sys/
H A Dstat.h57 #ifndef S_ISTXT
58 #define S_ISTXT S_ISVTX macro
/freebsd-14.2/lib/libc/gen/
H A Dsetmode.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.2/sys/sys/
H A Dstat.h244 #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 Dmtree.h50 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
/freebsd-14.2/sbin/mksnap_ffs/
H A Dmksnap_ffs.c139 if ((stbuf.st_mode & S_ISTXT) && stbuf.st_uid != getuid()) in main()
/freebsd-14.2/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c123 #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 Dspl_policy.c354 if (vp->v_type != VDIR && (vap->va_mode & S_ISTXT)) { in secpolicy_setid_setsticky_clear()
/freebsd-14.2/crypto/heimdal/appl/rcp/
H A DChangeLog121 * rcp.c: add RCSID S_ISTXT -> S_ISVTX printf sizes of files with
/freebsd-14.2/bin/cp/
H A Dcp.c456 if ((mode & (S_ISUID | S_ISGID | S_ISTXT)) || in copy()
/freebsd-14.2/usr.bin/posixmqcontrol/
H A Dposixmqcontrol.c102 S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISTXT;
/freebsd-14.2/bin/ls/
H A Dprint.c626 if (mode & S_ISTXT) in colortype()
/freebsd-14.2/sys/fs/ext2fs/
H A Dext2_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.2/sys/fs/fuse/
H A Dfuse_vnops.c1647 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 Dufs_vnops.c875 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 Dfunction.c1321 (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO); in f_perm()
/freebsd-14.2/sys/fs/tmpfs/
H A Dtmpfs_subr.c2085 if (vp->v_type != VDIR && (mode & S_ISTXT)) { in tmpfs_chmod()
H A Dtmpfs_vnops.c192 if ((dnode->tn_mode & S_ISTXT) && in tmpfs_lookup1()
/freebsd-14.2/sys/kern/
H A Duipc_mqueue.c2017 cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT; in kern_kmq_open()
H A Dvfs_syscalls.c1169 cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT; in openatfp()