/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod08.c | 85 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 120 TEST(mknod(node_name, MODE_RWX, 0)); in main() 126 node_name, MODE_RWX, TEST_ERRNO, in main() 160 node_name, MODE_RWX); in main() 234 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup()
|
D | mknod04.c | 85 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 125 TEST(mknod(node_name, MODE_RWX, 0)); in main() 130 "%s", node_name, MODE_RWX, TEST_ERRNO, in main() 163 node_name, MODE_RWX); in main() 238 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup()
|
D | mknod06.c | 89 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 166 TEST(mknod(node_name, MODE_RWX, 0)); in main() 268 if (mknod("tnode_1", MODE_RWX, 0) < 0) { in setup1() 286 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 | 85 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 230 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup()
|
D | mknod02.c | 85 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 239 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup()
|
D | mknod03.c | 85 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro 236 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod05.c | 103 #define MODE_RWX (mode_t)(S_IRWXU | S_IRWXG | S_IRWXO) macro 105 #define PERMS (mode_t)(MODE_RWX | DIR_MODE) 146 printf("MODE_RWX = 0%03o\n", MODE_RWX); in main() 201 if (mkdir(TESTDIR, MODE_RWX) < 0) in setup()
|
D | chmod06.c | 62 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO) macro 190 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 193 SAFE_TOUCH(cleanup, "t_file", MODE_RWX, NULL); in setup() 220 if (chmod(DIR_TEMP, MODE_RWX) == -1) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/lstat/ |
D | lstat02.c | 51 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 125 SAFE_MKDIR(cleanup, TEST_DIR, MODE_RWX); in setup() 130 SAFE_TOUCH(cleanup, "test_file", MODE_RWX, NULL); in setup() 134 SAFE_MKDIR(cleanup, "test_eloop", MODE_RWX); in setup()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat03.c | 91 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 281 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup1() 319 if ((fd = open("t_file", O_RDWR | O_CREAT, MODE_RWX)) == -1) { in setup2() 362 if (chmod(DIR_TEMP, MODE_RWX) < 0) { in cleanup()
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink03.c | 91 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 284 if (mkdir(DIR_TEMP, MODE_RWX) < 0) { in setup1() 363 if ((fd = open("t_file", O_RDWR | O_CREAT, MODE_RWX)) == -1) { in setup3() 386 if (chmod(DIR_TEMP, MODE_RWX) < 0) { in cleanup()
|
/external/ltp/testcases/kernel/syscalls/readlink/ |
D | readlink03.c | 52 #define MODE_RWX (S_IRWXU | S_IRWXG | S_IRWXO) macro 131 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 147 SAFE_MKDIR(cleanup, "test_eloop", MODE_RWX); in setup()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 63 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO) macro 141 if (mkdir(DIR_A, MODE_RWX) == -1) { in main() 175 if (mkdir(DIR_B, MODE_RWX) == -1) { in main() 242 fd = open(nosetgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_RWX); in main() 314 fd = creat(nosetgid_B, MODE_RWX); in main()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 53 #define MODE_RWX (S_IRWXU | S_IRWXG | S_IRWXO) macro 127 if (mkdir(DIR_A, MODE_RWX) < 0) { in main() 160 if (mkdir(DIR_B, MODE_RWX) < 0) { in main() 224 ret = open(nosetgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_RWX); in main() 299 ret = open(nosetgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_RWX); in main()
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link07.c | 43 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 102 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir09.c | 62 #define MODE_RWX 07770 macro 183 TEST(mkdir(tmpdir, MODE_RWX)); in runtest() 397 TEST(mkdir(tmpdir, MODE_RWX)); in dochild1() 497 TEST(mkdir(tmpdir, MODE_RWX)); in dochild3()
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown02.c | 63 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 232 if (mkdir(DIR_TEMP, MODE_RWX) == -1) in setup_eacces() 297 if ((fd = open(TFILE3, O_RDWR | O_CREAT, MODE_RWX)) == -1) { in setup_enotdir()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 91 #define MODE_RWX (S_IRWXU | S_IRWXG | S_IRWXO) macro 194 if (mkdir(TESTDIR, MODE_RWX) < 0) { in setup()
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown04.c | 59 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO) macro 169 SAFE_TOUCH(cleanup, "t_file", MODE_RWX, NULL); in setup()
|