Searched refs:MODE_SGID (Results 1 – 6 of 6) sorted by relevance
/external/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()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 65 #define MODE_SGID (S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) macro 187 if (chmod(DIR_B, MODE_SGID) == -1) { in main() 272 fd = open(setgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main() 345 fd = creat(setgid_B, MODE_SGID); in main() 393 fd = creat(root_setgid_B, MODE_SGID); in main()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 54 #define MODE_SGID (S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO) macro 170 if (chmod(DIR_B, MODE_SGID) < 0) { in main() 253 ret = open(setgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main() 329 ret = open(setgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main() 378 ret = open(root_setgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main()
|