Home
last modified time | relevance | path

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

12

/external/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()
/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c65 SAFE_CHMOD("unwrite_dir", 0555); in setup()
69 SAFE_CHMOD("unsearch_dir", 0666); in setup()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify23.c133 SAFE_CHMOD(TEST_FILE, 0600); in test_fanotify()
149 SAFE_CHMOD(TEST_FILE, 0600); in test_fanotify()
170 SAFE_CHMOD(TEST_FILE, 0600); in test_fanotify()
/external/ltp/testcases/kernel/syscalls/lstat/
Dlstat02.c97 SAFE_CHMOD(TEST_DIR, MODE_RW0); in setup()
112 SAFE_CHMOD(TEST_DIR, MODE_RWX); in cleanup()
/external/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()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c122 SAFE_CHMOD(DIR_TEMP, FILE_MODE); in setup()
137 SAFE_CHMOD(DIR_TEMP, MODE_RWX); in cleanup()
/external/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()
/external/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()
/external/ltp/testcases/kernel/syscalls/execve/
Dexecve02.c71 SAFE_CHMOD(TEST_APP, 0700); in setup()
/external/ltp/testcases/kernel/syscalls/rename/
Drename12.c38 SAFE_CHMOD(TEMP_DIR, buf1.st_mode | S_ISVTX); in setup()
/external/ltp/testcases/kernel/syscalls/utime/
Dutime05.c43 SAFE_CHMOD(MNT_POINT, MODE_RWX); in setup()
Dutime03.c51 SAFE_CHMOD(TEMP_FILE, FILE_MODE); in setup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c60 SAFE_CHMOD(TESTDIR1, 0777 | S_ISGID); in setup()
/external/ltp/testcases/kernel/syscalls/stat/
Dstat03.c61 SAFE_CHMOD(TST_EACCES_DIR, MODE_RW); in setup()
Dstat01.c63 SAFE_CHMOD(TC[i].pathname, TC[i].mode); in setup()
/external/ltp/testcases/kernel/security/dirtyc0w_shmem/
Ddirtyc0w_shmem.c66 SAFE_CHMOD(TEST_FILE, 0444); in dirtyc0w_shmem_test()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl38.c64 SAFE_CHMOD(TEST_DIR, 0755); in verify_dnotify()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl06.c94 SAFE_CHMOD(BIN_PATH, SUID_MODE); in setup()
/external/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()
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup202.c92 SAFE_CHMOD(testfile, tc->mode); in run()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c101 SAFE_CHMOD(DIR_TEMP, 0444); in setup()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown02.c54 SAFE_CHMOD(tc[i].filename, tc[i].set_mode); in run()

12