Searched refs:MODE_SGID (Results 1 – 7 of 7) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
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 | 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 | mknod02.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() 131 node_name, MODE_SGID, TEST_ERRNO, in main() 165 node_name, MODE_SGID); in main()
|
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()
|
/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 | 40 #define MODE_SGID (S_ISGID|0777) macro 62 SAFE_CHMOD(WORKDIR, MODE_SGID); in setup() 99 fd = SAFE_CREAT(CREAT_FILE, MODE_SGID); in run() 103 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()
|