/third_party/python/Lib/ |
D | stat.py | 93 S_ISGID = 0o2000 # set GID bit variable 94 S_ENFMT = S_ISGID # file locking enforcement 145 ((S_IXGRP|S_ISGID, "s"), 146 (S_ISGID, "S"),
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 20 #define MODE_SGID (S_ISGID|0777) 68 if (buf.st_mode & S_ISGID) in file_test() 83 if (buf.st_mode & S_ISGID) in run() 96 if (!(buf.st_mode & S_ISGID)) in run()
|
D | open13.c | 43 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID)
|
/third_party/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 22 #define MODE_SGID (S_ISGID|0777) 70 if (buf.st_mode & S_ISGID) in file_test() 85 if (buf.st_mode & S_ISGID) in run() 98 if (!(buf.st_mode & S_ISGID)) in run()
|
D | creat09.c | 40 #define MODE_SGID (S_ISGID|0777) 65 if (!(buf.st_mode & S_ISGID)) in setup() 91 if (buf.st_mode & S_ISGID) in file_test()
|
/third_party/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod05.c | 43 #define DIR_MODE (mode_t)(S_ISVTX | S_ISGID | S_IFDIR) 60 if ((PERMS & ~S_ISGID) != dir_mode) { in test_chmod() 63 PERMS & ~S_ISGID); in test_chmod()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir02.c | 40 if (!(statbuf.st_mode & S_ISGID)) { in verify_mkdir() 60 SAFE_CHMOD(TESTDIR1, 0777 | S_ISGID); in setup()
|
/third_party/python/Modules/ |
D | _stat.c | 128 #ifndef S_ISGID 129 # define S_ISGID 02000 macro 134 # define S_ENFMT S_ISGID 382 if (mode & S_ISGID) { in fileperm() 521 ADD_INT_MACRO(module, S_ISGID); in stat_exec()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
D | chmod.c | 30 …S_IRUSR | S_ISGID | S_ISVTX | S_IWUSR | S_IROTH | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP … in chmod_0100() 63 …S_ISUID | S_ISGID | S_ISVTX | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH … in chmod_0300()
|
D | fchmodat.c | 36 …S_ISUID | S_ISGID | S_ISVTX | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH … in fchmodat_0100()
|
D | fchmod.c | 35 …S_IRUSR | S_ISGID | S_ISVTX | S_IWUSR | S_IROTH | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP … in fchmod_0100()
|
/third_party/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 42 if ((PERMS_DIR & ~S_ISGID) != dir_mode) { in verify_fchmod() 44 TESTDIR, dir_mode & ~S_ISGID, PERMS_DIR); in verify_fchmod()
|
/third_party/ltp/testcases/kernel/syscalls/chown/ |
D | chown02.c | 20 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 21 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID)
|
D | chown03.c | 26 #define NEW_PERMS (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 67 check_mode(&stat_buf, NEW_PERMS & ~(S_ISUID | S_ISGID)); in run()
|
/third_party/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown03.c | 31 #define NEW_PERMS (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 72 check_mode(&stat_buf, NEW_PERMS & ~(S_ISUID | S_ISGID)); in run()
|
D | fchown02.c | 27 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 28 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID)
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl06.h | 24 #define SUID_MODE (S_ISUID|S_ISGID|S_IXUSR|S_IXGRP|S_IXOTH)
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl32.c | 33 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID)
|
/third_party/musl/libc-test/src/api/ |
D | ftw.c | 34 C(S_ISGID) in f()
|
/third_party/ltp/testcases/kernel/syscalls/umount2/ |
D | umount2_01.c | 40 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID)
|