Home
last modified time | relevance | path

Searched refs:MODE_RWX (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod08.c86 #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()
Dmknod04.c86 #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()
Dmknod06.c89 #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()
Dmknod09.c73 #define MODE_RWX S_IFMT /* mode different from those expected */ macro
101 TEST(mknod(TNODE, MODE_RWX, 0)); in main()
Dmknod05.c86 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro
231 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
Dmknod03.c86 #define MODE_RWX S_IFIFO | S_IRWXU | S_IRWXG | S_IRWXO macro
234 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
Dmknod02.c86 #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/
Dlstat02.c51 #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/
Dchmod06.c44 #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()
Dchmod05.c41 #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/
Dstat03.c92 #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/
Dsymlink03.c92 #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/
Dcreat08.c64 #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/
Dopen10.c53 #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/
Dmkdir09.c56 #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/
Dlchown02.c64 #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/
Dlink07.c43 #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/
Dchown04.c59 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO) macro
169 SAFE_TOUCH(cleanup, "t_file", MODE_RWX, NULL); in setup()