/freebsd-11-stable/lib/libc/string/ |
H A D | strmode.c | 109 switch (mode & (S_IXGRP | S_ISGID)) { 116 case S_ISGID: 119 case S_IXGRP | S_ISGID:
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | strmode.c | 108 switch (mode & (S_IXGRP | S_ISGID)) { 115 case S_ISGID: 118 case S_IXGRP | S_ISGID:
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | priv_vfs_setgid.c | 78 error = chmod(fpath, 0600 | S_ISGID); 98 error = chmod(fpath, 0600 | S_ISGID);
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_entry_strmode.c | 75 if (mode & S_ISGID) {
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | filemode.c | 230 #ifdef S_ISGID 231 if (bits & S_ISGID)
|
/freebsd-11-stable/contrib/apr/file_io/unix/ |
H A D | fileacc.c | 49 mode |= S_ISGID; 84 if (mode & S_ISGID)
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | mpeix.c | 457 sendmail_mpe_gidflag = ((mode & S_ISGID) == S_ISGID); 488 sendmail_mpe_gidflag = ((mode & S_ISGID) == S_ISGID);
|
/freebsd-11-stable/usr.sbin/fmtree/ |
H A D | mtree.h | 54 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_perms.c | 298 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 335 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 349 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 370 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 379 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 450 assertEqualInt(st.st_mode & 07777, S_ISGID | 0742); 461 assertEqualInt(st.st_mode & 07777, S_ISGID | 0742);
|
H A D | test_write_disk.c | 55 /* When verifying a dir, ignore the S_ISGID bit, as some systems set 58 st.st_mode &= ~S_ISGID;
|
/freebsd-11-stable/bin/cp/ |
H A D | utils.c | 136 fs->st_mode & ~(S_ISUID | S_ISGID)); 144 fs->st_mode & ~(S_ISUID | S_ISGID)); 354 fs->st_mode &= S_ISUID | S_ISGID | S_ISVTX | 369 ts.st_mode &= S_ISUID | S_ISGID | S_ISVTX | 386 fs->st_mode &= ~(S_ISUID | S_ISGID);
|
H A D | cp.c | 380 if ((mode & (S_ISUID | S_ISGID | S_ISTXT)) ||
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_policy.c | 323 if ((vap->va_mode & (S_ISUID | S_ISGID)) != 0) { 326 vap->va_mode &= ~(S_ISUID|S_ISGID); 353 if ((vap->va_mode & S_ISGID) != 0) {
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | setmode.c | 167 #define STANDARD_BITS (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) 237 who |= S_ISGID|S_IRWXG; 263 perm |= S_ISUID|S_ISGID;
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | tc.os.h | 314 #ifndef S_ISGID 315 # define S_ISGID 0002000 /* setgid */ macro 316 #endif /* S_ISGID */ 321 # define S_ENFMT S_ISGID /* record locking enforcement flag */
|
/freebsd-11-stable/contrib/mtree/ |
H A D | mtree.h | 50 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
/freebsd-11-stable/contrib/elftoolchain/ar/ |
H A D | util.c | 144 if (m & S_ISGID)
|
/freebsd-11-stable/sys/sys/ |
H A D | stat.h | 196 #define S_ISGID 0002000 /* set group id on execution */ macro 253 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
/freebsd-11-stable/contrib/file/src/ |
H A D | fsmagic.c | 179 #ifdef S_ISGID 180 if (sb->st_mode & S_ISGID)
|
/freebsd-11-stable/bin/mv/ |
H A D | mv.c | 318 if (oldmode & (S_ISUID | S_ISGID)) { 322 sbp->st_mode &= ~(S_ISUID | S_ISGID);
|
/freebsd-11-stable/usr.bin/compress/ |
H A D | compress.c | 366 fs->st_mode &= S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; 382 fs->st_mode &= ~(S_ISUID|S_ISGID);
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | info_exec.c | 373 if (sb.st_mode & (S_ISUID|S_ISGID)) {
|
/freebsd-11-stable/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 111 if (bitset(S_ISGID, st->st_mode)) 113 if (bitset(S_ISGID, st->st_mode) && st->st_gid != 0)
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_acl.c | 901 mode = (fmode & (S_IFMT | S_ISUID | S_ISGID | S_ISVTX)); 1658 if (dzp->z_mode & S_ISGID) { 1696 if (!(flag & IS_ROOT_NODE) && (dzp->z_mode & S_ISGID) && 1698 acl_ids->z_mode |= S_ISGID; 1700 if ((acl_ids->z_mode & S_ISGID) && 1702 acl_ids->z_mode &= ~S_ISGID;
|
/freebsd-11-stable/bin/pax/ |
H A D | file_subs.c | 64 #define SETBITS (S_ISUID | S_ISGID)
|