Home
last modified time | relevance | path

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

/freebsd/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/tools/build/cross-build/include/linux/sys/
H A Dstat.h57 #ifndef S_ISTXT
58 #define S_ISTXT S_ISVTX macro
66 #define ALLPERMS (S_ISUID | S_ISGID | S_ISTXT | S_IRWXU | S_IRWXG | S_IRWXO)
/freebsd/lib/libc/gen/
H A Dsetmode.c207 if (perml & ~(STANDARD_BITS|S_ISTXT)) { in setmode()
212 ADDCMD('=', (STANDARD_BITS|S_ISTXT), perm, mask); in setmode()
250 who &= ~S_ISTXT; in setmode()
264 who |= S_ISTXT; in setmode()
265 perm |= S_ISTXT; in setmode()
/freebsd/sys/sys/
H A Dstat.h243 #define S_ISTXT 0001000 /* sticky bit */
298 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
242 #define S_ISTXT global() macro
/freebsd/contrib/mtree/
H A Dmtree.h50 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
/freebsd/sbin/mksnap_ffs/
H A Dmksnap_ffs.c139 if ((stbuf.st_mode & S_ISTXT) && stbuf.st_uid != getuid()) in main()
/freebsd/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/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_policy.c351 if (vp->v_type != VDIR && (vap->va_mode & S_ISTXT)) { in secpolicy_setid_setsticky_clear()
/freebsd/crypto/heimdal/appl/rcp/
H A DChangeLog121 * rcp.c: add RCSID S_ISTXT -> S_ISVTX printf sizes of files with
/freebsd/bin/cp/
H A Dcp.c426 if ((mode & (S_ISUID | S_ISGID | S_ISTXT)) || in copy()
/freebsd/usr.bin/posixmqcontrol/
H A Dposixmqcontrol.c102 S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISTXT;
/freebsd/sys/fs/ext2fs/
H A Dext2_vnops.c538 if (vp->v_type != VDIR && (mode & S_ISTXT)) { in ext2_chmod()
967 if ((dp->i_mode & S_ISTXT) && tcnp->cn_cred->cr_uid != 0 && in ext2_rename()
/freebsd/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/sys/fs/fuse/
H A Dfuse_vnops.c1646 if ((dvattr.va_mode & S_ISTXT) && in fuse_vnop_lookup()
2347 if (checkperm && vp->v_type != VDIR && (vap->va_mode & S_ISTXT) in fuse_vnop_setattr()
/freebsd/usr.bin/find/
H A Dfunction.c1316 (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO); in f_perm()
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_subr.c2160 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/sys/fs/p9fs/
H A Dp9fs_vnops.c1093 if (vp->v_type != VDIR && (mode & S_ISTXT)) { in p9fs_chmod()
/freebsd/sys/kern/
H A Duipc_mqueue.c2021 cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT; in kern_kmq_open()
H A Dvfs_syscalls.c1207 cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT; in openatfp()