Home
last modified time | relevance | path

Searched refs:SAFE_CHMOD (Results 1 – 25 of 39) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/link/
Dlink04.c71 SAFE_CHMOD("dir1", MODE_TO1); in verify_link()
75 SAFE_CHMOD("dir2", MODE_TO2); in verify_link()
79 SAFE_CHMOD(DIR_TEMP, MODE_TE); in verify_link()
/third_party/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c79 SAFE_CHMOD("unwrite_dir", 0555); in setup()
83 SAFE_CHMOD("unsearch_dir", 0666); in setup()
/third_party/ltp/testcases/kernel/syscalls/lstat/
Dlstat02.c97 SAFE_CHMOD(TEST_DIR, MODE_RW0); in setup()
112 SAFE_CHMOD(TEST_DIR, MODE_RWX); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c122 SAFE_CHMOD(DIR_TEMP, FILE_MODE); in setup()
137 SAFE_CHMOD(DIR_TEMP, MODE_RWX); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx07.c102 SAFE_CHMOD(tc->server_file, CURRENT_MODE); in test_statx()
115 SAFE_CHMOD(tc->server_file, DEFAULT_MODE); in test_statx()
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify08.c71 SAFE_CHMOD(FILE_PATH, 0644); in verify_inotify()
155 SAFE_CHMOD(FILE_PATH, 0600); in setup()
Dinotify07.c73 SAFE_CHMOD(DIR_PATH, 0755); in verify_inotify()
162 SAFE_CHMOD(DIR_PATH, 0700); in setup()
Dinotify10.c117 SAFE_CHMOD(TEST_DIR, 0755); in verify_inotify()
118 SAFE_CHMOD(TEST_FILE, 0644); in verify_inotify()
/third_party/ltp/testcases/kernel/syscalls/symlink/
Dsymlink03.c275 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup1()
348 SAFE_CHMOD(NULL, DIR_TEMP, MODE_RWX); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/execve/
Dexecve02.c71 SAFE_CHMOD(TEST_APP, 0700); in setup()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c60 SAFE_CHMOD(TESTDIR1, 0777 | S_ISGID); in setup()
/third_party/ltp/testcases/kernel/syscalls/statfs/
Dstatfs03.c123 SAFE_CHMOD(cleanup, tst_get_tmpdir(), S_IRWXU); in setup()
/third_party/ltp/testcases/kernel/syscalls/stat/
Dstat03.c72 SAFE_CHMOD(TST_EACCES_DIR, MODE_RW); in setup()
Dstat01.c95 SAFE_CHMOD(TC[i].pathname, TC[i].mode); in setup()
/third_party/ltp/testcases/kernel/syscalls/utime/
Dutime03.c53 SAFE_CHMOD(TEMP_FILE, FILE_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl38.c64 SAFE_CHMOD(TEST_DIR, 0755); in verify_dnotify()
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl06.c88 SAFE_CHMOD(BIN_PATH, SUID_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown02.c43 SAFE_CHMOD(tc[i].filename, tc[i].set_mode); in run()
Dchown03.c50 SAFE_CHMOD(FILENAME, NEW_PERMS); in run()
/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup202.c92 SAFE_CHMOD(testfile, tc->mode); in run()
/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat09.c62 SAFE_CHMOD(WORKDIR, MODE_SGID); in setup()
/third_party/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c101 SAFE_CHMOD(DIR_TEMP, 0444); in setup()
/third_party/ltp/testcases/kernel/syscalls/fchown/
Dfchown02.c54 SAFE_CHMOD(tc[i].filename, tc[i].set_mode); in run()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod05.c233 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
Dmknod03.c236 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()

12