/third_party/ltp/testcases/kernel/syscalls/lstat/ |
D | lstat02.c | 33 #define MODE_RWX 0777 macro 94 SAFE_MKDIR(TEST_DIR, MODE_RWX); in setup() 95 SAFE_TOUCH(TEST_EACCES, MODE_RWX, NULL); in setup() 96 SAFE_TOUCH(TEST_FILE, MODE_RWX, NULL); in setup() 99 SAFE_MKDIR("test_eloop", MODE_RWX); in setup() 112 SAFE_CHMOD(TEST_DIR, MODE_RWX); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod08.c | 86 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 121 TEST(mknod(node_name, MODE_RWX, 0)); in main() 127 node_name, MODE_RWX, TEST_ERRNO, in main() 161 node_name, MODE_RWX); in main() 235 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
|
D | mknod04.c | 86 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 126 TEST(mknod(node_name, MODE_RWX, 0)); in main() 131 "%s", node_name, MODE_RWX, TEST_ERRNO, in main() 164 node_name, MODE_RWX); in main() 239 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
|
D | mknod06.c | 89 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 146 TEST(mknod(node_name, MODE_RWX, 0)); in main() 242 if (mknod("tnode_1", MODE_RWX, 0) < 0) { in setup1() 260 if (mknod("tnode", MODE_RWX, 0) < 0) { in setup3()
|
D | mknod09.c | 73 #define MODE_RWX S_IFMT /* mode different from those expected */ macro 101 TEST(mknod(TNODE, MODE_RWX, 0)); in main()
|
D | mknod05.c | 86 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 231 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
|
D | mknod03.c | 86 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 234 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
|
D | mknod02.c | 86 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 240 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 19 #define MODE_RWX 0777 macro 79 SAFE_MKDIR(DIR_A, MODE_RWX); in run() 91 SAFE_MKDIR(DIR_B, MODE_RWX); in run() 108 file_test(NOSETGID_A, MODE_RWX, 0, nobody_gid); in run() 113 file_test(NOSETGID_B, MODE_RWX, 0, free_gid); in run()
|
/third_party/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 21 #define MODE_RWX 0777 macro 81 SAFE_MKDIR(DIR_A, MODE_RWX); in run() 93 SAFE_MKDIR(DIR_B, MODE_RWX); in run() 110 file_test(NOSETGID_A, MODE_RWX, 0, nobody_gid); in run() 115 file_test(NOSETGID_B, MODE_RWX, 0, free_gid); in run()
|
D | creat09.c | 39 #define MODE_RWX 0777 macro 60 SAFE_MKDIR(WORKDIR, MODE_RWX); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/link/ |
D | link04.c | 27 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 117 SAFE_MKDIR("dir1", MODE_RWX); in setup() 118 SAFE_MKDIR("dir2", MODE_RWX); in setup() 119 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 31 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO) macro 120 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup() 123 SAFE_TOUCH("t_file", MODE_RWX, NULL); in setup() 137 SAFE_CHMOD(DIR_TEMP, MODE_RWX); in cleanup()
|
D | chmod05.c | 42 #define MODE_RWX (mode_t)(S_IRWXU | S_IRWXG | S_IRWXO) macro 44 #define PERMS (mode_t)(MODE_RWX | DIR_MODE) 83 SAFE_MKDIR(TESTDIR, MODE_RWX); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink03.c | 92 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 265 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup1() 328 if ((fd = open("t_file", O_RDWR | O_CREAT, MODE_RWX)) == -1) { in setup3() 348 SAFE_CHMOD(NULL, DIR_TEMP, MODE_RWX); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir09.c | 56 #define MODE_RWX 07770 macro 142 TEST(mkdir(tmpdir, MODE_RWX)); in runtest() 335 TEST(mkdir(tmpdir, MODE_RWX)); in dochild1() 409 TEST(mkdir(tmpdir, MODE_RWX)); in dochild3()
|
/third_party/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown02.c | 64 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 228 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup_eacces() 266 if ((fd = open(TFILE3, O_RDWR | O_CREAT, MODE_RWX)) == -1) { in setup_enotdir()
|
/third_party/ltp/testcases/kernel/syscalls/chown/ |
D | chown04.c | 40 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO) macro 91 SAFE_TOUCH("t_file", MODE_RWX, NULL); in setup()
|