/external/python/cpython3/Lib/ |
D | stat.py | 77 S_ISGID = 0o2000 # set GID bit variable 78 S_ENFMT = S_ISGID # file locking enforcement 128 ((S_IXGRP|S_ISGID, "s"), 129 (S_ISGID, "S"),
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 65 #define MODE_SGID (S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) 159 if (buf.st_mode & S_ISGID) { in main() 198 if (!(buf.st_mode & S_ISGID)) { in main() 256 if (buf.st_mode & S_ISGID) { in main() 284 if (!(buf.st_mode & S_ISGID)) { in main() 328 if (buf.st_mode & S_ISGID) { in main() 405 if (!(buf.st_mode & S_ISGID)) { in main()
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown02.c | 43 #define NEW_PERMS1 S_IFREG | S_IRWXU | S_IRWXG | S_ISUID | S_ISGID 44 #define NEW_PERMS2 S_IFREG | S_IRWXU | S_ISGID 93 if (((stat_buf.st_mode & (S_ISUID | S_ISGID)))) { in verify_fchown() 102 if ((!(stat_buf.st_mode & S_ISGID))) { in verify_fchown()
|
D | fchown03.c | 46 #define NEW_PERMS (mode_t)(S_IFREG | S_IRWXU | S_IRWXG | S_ISUID | S_ISGID) 47 #define FCHOWN_PERMS (mode_t)(NEW_PERMS & ~(S_ISUID | S_ISGID))
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 54 #define MODE_SGID (S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO) 143 if (buf.st_mode & S_ISGID) { in main() 181 if (!(buf.st_mode & S_ISGID)) { in main() 237 if (buf.st_mode & S_ISGID) { in main() 266 if (!(buf.st_mode & S_ISGID)) { in main() 312 if (buf.st_mode & S_ISGID) { in main() 393 if (!(buf.st_mode & S_ISGID)) { in main()
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown02.c | 85 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 86 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID) 179 (stat_buf.st_mode & (S_ISUID | S_ISGID)) != 0) { in main() 186 && (stat_buf.st_mode & S_ISGID) == 0) { in main()
|
D | chown03.c | 88 #define NEW_PERMS (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 137 (NEW_PERMS & ~(S_ISUID | S_ISGID))) in main() 141 NEW_PERMS & ~(S_ISUID | S_ISGID)); in main()
|
/external/openssh/openbsd-compat/ |
D | strmode.c | 108 switch (mode & (S_IXGRP | S_ISGID)) { in strmode() 115 case S_ISGID: in strmode() 118 case S_IXGRP | S_ISGID: in strmode()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod05.c | 42 #define DIR_MODE (mode_t)(S_ISVTX | S_ISGID | S_IFDIR) 59 if ((PERMS & ~S_ISGID) != dir_mode) { in test_chmod() 62 PERMS & ~S_ISGID); in test_chmod()
|
/external/u-boot/fs/reiserfs/ |
D | mode_string.c | 16 #if ( S_ISUID != 04000 ) || ( S_ISGID != 02000 ) || ( S_ISVTX != 01000 ) \ 29 #if (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX) == 07777 36 S_IRGRP, S_IWGRP, S_IXGRP, S_ISGID,
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod05.c | 87 #define MODE_SGID S_IFIFO | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO 146 if (!(buf.st_mode & S_ISGID)) { in main() 241 if (!(buf.st_mode & S_ISGID)) { in setup()
|
D | mknod02.c | 87 #define MODE_SGID S_IFIFO | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO 148 if (!(buf.st_mode & S_ISGID)) { in main() 250 if (buf.st_mode & S_ISGID) { in setup()
|
D | mknod04.c | 87 #define MODE_SGID S_IFIFO | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO 147 if (buf.st_mode & S_ISGID) { in main() 250 if (!(buf.st_mode & S_ISGID)) { in setup()
|
D | mknod08.c | 144 if (buf.st_mode & S_ISGID) { in main() 245 if (buf.st_mode & S_ISGID) { in setup()
|
D | mknod03.c | 87 #define MODE_SGID S_IFIFO | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO 245 if (!(buf.st_mode & S_ISGID)) { in setup()
|
/external/strace/ |
D | printmode.c | 58 (mode & S_ISGID) ? "S_ISGID|" : "", in print_symbolic_mode_t() 60 mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)); in print_symbolic_mode_t()
|
/external/python/cpython3/Modules/ |
D | _stat.c | 124 #ifndef S_ISGID 125 # define S_ISGID 02000 macro 130 # define S_ENFMT S_ISGID 378 if (mode & S_ISGID) { in fileperm() 527 if (PyModule_AddIntMacro(m, S_ISGID)) return NULL; in PyInit__stat()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 41 if ((PERMS_DIR & ~S_ISGID) != dir_mode) { in verify_fchmod() 43 TESTDIR, dir_mode & ~S_ISGID, PERMS_DIR); in verify_fchmod()
|
/external/python/cpython2/Lib/ |
D | stat.py | 64 S_ISGID = 02000 variable 65 S_ENFMT = S_ISGID
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir02.c | 61 if (!(buf2.st_mode & S_ISGID)) { in verify_mkdir() 98 SAFE_CHMOD(TESTDIR1, buf.st_mode | S_ISGID); in setup()
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | types_solaris.go | 131 S_ISGID = C.S_ISGID const
|
D | types_openbsd.go | 114 S_ISGID = C.S_ISGID const
|
D | types_dragonfly.go | 113 S_ISGID = C.S_ISGID const
|
D | types_freebsd.go | 202 S_ISGID = C.S_ISGID const
|
/external/strace/tests/ |
D | mknod.c | 62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
|