/external/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()
|
/external/ltp/testcases/kernel/syscalls/lstat/ |
D | lstat02.c | 51 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 118 SAFE_MKDIR(cleanup, TEST_DIR, MODE_RWX); in setup() 122 SAFE_TOUCH(cleanup, "test_file", MODE_RWX, NULL); in setup() 126 SAFE_MKDIR(cleanup, "test_eloop", MODE_RWX); in setup()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 44 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO) macro 133 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup() 136 SAFE_TOUCH("t_file", MODE_RWX, NULL); in setup() 150 SAFE_CHMOD(DIR_TEMP, MODE_RWX); in cleanup()
|
D | chmod05.c | 41 #define MODE_RWX (mode_t)(S_IRWXU | S_IRWXG | S_IRWXO) macro 43 #define PERMS (mode_t)(MODE_RWX | DIR_MODE) 82 SAFE_MKDIR(TESTDIR, MODE_RWX); in setup()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat03.c | 92 #define MODE_RWX S_IRWXU | S_IRWXG | S_IRWXO macro 259 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup1() 289 if ((fd = open("t_file", O_RDWR | O_CREAT, MODE_RWX)) == -1) { in setup2() 328 if (chmod(DIR_TEMP, MODE_RWX) < 0) { in cleanup()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 64 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO) macro 143 if (mkdir(DIR_A, MODE_RWX) == -1) { in main() 177 if (mkdir(DIR_B, MODE_RWX) == -1) { in main() 244 fd = open(nosetgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_RWX); in main() 316 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/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()
|
/external/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()
|
/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/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()
|