Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c79 SAFE_CHMOD("unwrite_dir", 0555); in setup()
83 SAFE_CHMOD("unsearch_dir", 0666); in setup()
/external/ltp/testcases/kernel/syscalls/link/
Dlink07.c100 SAFE_CHMOD(cleanup, ".", MODE_TO); in setup()
106 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_TE); in setup()
Dlink06.c100 SAFE_CHMOD(cleanup, ".", MODE_TO); in setup()
/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/utime/
Dutime03.c261 SAFE_CHMOD(cleanup, TEMP_FILE, FILE_MODE); in setup()
262 SAFE_CHMOD(cleanup, tmpd, 0711); in setup()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown02.c144 SAFE_CHMOD(cleanup, TESTFILE1, NEW_PERMS1); in setup()
146 SAFE_CHMOD(cleanup, TESTFILE2, NEW_PERMS2); in setup()
/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/statx/
Dstatx07.c105 SAFE_CHMOD(tc->server_file, CURRENT_MODE); in test_statx()
118 SAFE_CHMOD(tc->server_file, DEFAULT_MODE); in test_statx()
Dstatx06.c98 SAFE_CHMOD(TEST_FILE, 0777); in change_mode()
/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()
Dinotify01.c51 SAFE_CHMOD(fname, 0755); 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/statfs/
Dstatfs03.c123 SAFE_CHMOD(cleanup, tst_get_tmpdir(), S_IRWXU); in setup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c86 SAFE_CHMOD(TESTDIR1, buf.st_mode | S_ISGID); in setup()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl06.c85 SAFE_CHMOD(BIN_PATH, SUID_MODE); in setup()
/external/ltp/testcases/kernel/syscalls/stat/
Dstat03.c72 SAFE_CHMOD(TST_EACCES_DIR, MODE_RW); in setup()
Dstat01.c89 SAFE_CHMOD(TC[i].pathname, TC[i].mode); in setup()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c101 SAFE_CHMOD(DIR_TEMP, 0444); in setup()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod03.c236 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
Dmknod05.c233 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
Dmknod04.c241 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate04.c139 SAFE_CHMOD(TESTFILE, 02666); in verify_ftruncate()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown02.c245 SAFE_CHMOD(cleanup, TESTFILE1, NEW_PERMS1); in setup1()

12