/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/contrib/libarchive/libarchive/ |
H A D | archive_entry_strmode.c | 75 if (mode & S_ISGID) {
|
/freebsd-9.3-release/contrib/binutils/binutils/ |
H A D | filemode.c | 230 #ifdef S_ISGID 231 if (bits & S_ISGID)
|
/freebsd-9.3-release/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_perms.c | 265 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 302 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 316 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 337 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 346 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742); 421 assert((st.st_mode & 07777) == (S_ISGID | 0742)); 432 assert((st.st_mode & 07777) == (S_ISGID | 0742));
|
H A D | test_write_disk.c | 60 /* When verifying a dir, ignore the S_ISGID bit, as some systems set 63 st.st_mode &= ~S_ISGID;
|
/freebsd-9.3-release/contrib/gnu-sort/lib/ |
H A D | stat-macros.h | 184 # if !S_ISGID 185 # define S_ISGID 02000 macro 253 (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)
|
/freebsd-9.3-release/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-9.3-release/usr.sbin/mtree/ |
H A D | mtree.h | 54 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
/freebsd-9.3-release/bin/cp/ |
H A D | utils.c | 127 fs->st_mode & ~(S_ISUID | S_ISGID)); 136 fs->st_mode & ~(S_ISUID | S_ISGID)); 323 fs->st_mode &= S_ISUID | S_ISGID | S_ISVTX | 337 ts.st_mode &= S_ISUID | S_ISGID | S_ISVTX | 354 fs->st_mode &= ~(S_ISUID | S_ISGID);
|
H A D | cp.c | 376 if ((mode & (S_ISUID | S_ISGID | S_ISTXT)) ||
|
/freebsd-9.3-release/contrib/tcsh/ |
H A D | tc.os.h | 315 #ifndef S_ISGID 316 # define S_ISGID 0002000 /* setgid */ macro 317 #endif /* S_ISGID */ 322 # define S_ENFMT S_ISGID /* record locking enforcement flag */
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | setmode.c | 166 #define STANDARD_BITS (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) 232 who |= S_ISGID|S_IRWXG; 258 perm |= S_ISUID|S_ISGID;
|
/freebsd-9.3-release/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-9.3-release/contrib/mtree/ |
H A D | mtree.h | 50 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
/freebsd-9.3-release/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-9.3-release/contrib/file/src/ |
H A D | fsmagic.c | 177 #ifdef S_ISGID 178 if (sb->st_mode & S_ISGID)
|
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_rw.c | 80 * clear the S_ISGID bit if the Group execute bit is 85 ip->i_d.di_mode &= ~S_ISGID;
|
/freebsd-9.3-release/bin/mv/ |
H A D | mv.c | 322 if (oldmode & (S_ISUID | S_ISGID)) { 326 sbp->st_mode &= ~(S_ISUID | S_ISGID);
|
/freebsd-9.3-release/usr.bin/compress/ |
H A D | compress.c | 365 fs->st_mode &= S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; 381 fs->st_mode &= ~(S_ISUID|S_ISGID);
|
/freebsd-9.3-release/contrib/amd/amd/ |
H A D | info_exec.c | 374 if (sb.st_mode & (S_ISUID|S_ISGID)) {
|
/freebsd-9.3-release/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 112 if (bitset(S_ISGID, st->st_mode)) 114 if (bitset(S_ISGID, st->st_mode) && st->st_gid != 0)
|
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/ |
H A D | xfs_frw.c | 601 ((xip->i_d.di_mode & (S_ISGID | S_IXGRP)) == 602 (S_ISGID | S_IXGRP))) &&
|
/freebsd-9.3-release/sys/fs/tmpfs/ |
H A D | tmpfs_subr.c | 1190 if (!groupmember(node->tn_gid, cred) && (mode & S_ISGID)) { 1270 if ((node->tn_mode & (S_ISUID | S_ISGID)) && (ouid != uid || ogid != gid)) { 1272 node->tn_mode &= ~(S_ISUID | S_ISGID);
|