Searched refs:MODE_SGID (Results 1 – 8 of 8) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod03.c | 87 #define MODE_SGID S_IFIFO | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO macro 125 TEST(mknod(node_name, MODE_SGID, 0)); in main() 130 "%s", node_name, MODE_SGID, TEST_ERRNO, in main() 161 node_name, MODE_SGID); in main() 236 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
|
D | mknod05.c | 87 #define MODE_SGID S_IFIFO | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO macro 125 TEST(mknod(node_name, MODE_SGID, 0)); in main() 130 "%s", node_name, MODE_SGID, TEST_ERRNO, in main() 163 node_name, MODE_SGID); in main() 233 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
|
D | mknod04.c | 87 #define MODE_SGID S_IFIFO | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO macro 241 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
|
D | mknod02.c | 22 #define MODE_SGID 02000 macro
|
/third_party/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 22 #define MODE_SGID (S_ISGID|0777) macro 95 SAFE_CHMOD(DIR_B, MODE_SGID); in run() 111 file_test(SETGID_A, MODE_SGID, 1, nobody_gid); in run() 120 file_test(SETGID_B, MODE_SGID, -1, free_gid); in run() 125 file_test(ROOT_SETGID, MODE_SGID, 1, free_gid); in run()
|
D | creat09.c | 50 #define MODE_SGID (S_ISGID|0777) macro 80 SAFE_CHMOD(WORKDIR, MODE_SGID); in setup() 122 fd = SAFE_CREAT(CREAT_FILE, MODE_SGID); in run() 126 fd = SAFE_OPEN(OPEN_FILE, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in run()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 20 #define MODE_SGID (S_ISGID|0777) macro 93 SAFE_CHMOD(DIR_B, MODE_SGID); in run() 109 file_test(SETGID_A, MODE_SGID, 1, nobody_gid); in run() 118 file_test(SETGID_B, MODE_SGID, -1, free_gid); in run() 123 file_test(ROOT_SETGID, MODE_SGID, 1, free_gid); in run()
|
/third_party/ltp/testcases/kernel/syscalls/openat/ |
D | openat04.c | 38 #define MODE_SGID (S_ISGID|0777) macro 102 SAFE_CHMOD(WORKDIR, MODE_SGID); in setup() 142 tmpfile_fd = SAFE_OPENAT(dir_fd, ".", O_TMPFILE | O_RDWR, MODE_SGID); in run()
|