Home
last modified time | relevance | path

Searched refs:check_mode (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/pan/
Dscan.l78 static int check_mode(int, int, ...);
104 check_mode(scan_mode, SCAN_OUTSIDE, 0);
118 check_mode(scan_mode, SCAN_RTSKEY, 0);
140 check_mode(scan_mode, SCAN_OUTSIDE, 0);
167 check_mode(scan_mode, SCAN_TSTKEY, 0);
178 check_mode(scan_mode, SCAN_TSTKEY, SCAN_OUTPUT, 0);
186 check_mode(scan_mode, SCAN_TSTKEY, 0);
348 check_mode(int scan_mode, int fst, ...)
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl08.c39 static void check_mode(struct shmid_ds *ds, short exp_mode) in check_mode() function
61 check_mode(&ds, 0666); in verify_shmset()
72 check_mode(&ds, old_mode & ~0066); in verify_shmset()
88 check_mode(&ds, old_mode & MODE_MASK); in verify_shmset()
/third_party/ltp/testcases/kernel/syscalls/fchown/
Dfchown03.c44 static void check_mode(struct stat *s, mode_t exp_mode) in check_mode() function
67 check_mode(&stat_buf, NEW_PERMS); in run()
72 check_mode(&stat_buf, NEW_PERMS & ~(S_ISUID | S_ISGID)); in run()
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown03.c39 static void check_mode(struct stat *s, mode_t exp_mode) in check_mode() function
61 check_mode(&stat_buf, NEW_PERMS); in run()
67 check_mode(&stat_buf, NEW_PERMS & ~(S_ISUID | S_ISGID)); in run()
/third_party/libfuse/test/
Dtest_syscalls.c185 static int check_mode(const char *path, mode_t mode) in check_mode() function
200 return check_mode(path, mode); in check_testfile_mode()
495 res = check_mode(path, 0644); in create_file()
633 res = check_mode(path, 0755); in create_dir()
994 err += check_mode(testfile, 0644); in test_create()
1084 err += check_mode(testfile, 0644); in test_mknod()
1153 err += check_mode(testfile, 0644); in do_test_open()
1155 err += check_mode(testfile, mode); in do_test_open()
1342 err += check_mode(testfile2, 0777); in test_symlink()
1404 err += check_mode(testfile2, 0644); in test_link()
[all …]