Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/external/selinux/libsemanage/tests/
Dtest_semanage_store.c62 err = mkdir(rootpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
66 err = mkdir(polpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
70 err = mkdir(actpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
74 err = mkdir(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
160 err = mknod(readlockpath, S_IRUSR | S_IWUSR, S_IFREG); in test_semanage_store_access_check()
174 err = chmod(polpath, S_IRUSR | S_IXUSR); in test_semanage_store_access_check()
176 err = chmod(readlockpath, S_IRUSR); in test_semanage_store_access_check()
178 err = chmod(modpath, S_IRUSR | S_IXUSR); in test_semanage_store_access_check()
185 err = chmod(polpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check()
187 err = chmod(readlockpath, S_IRUSR | S_IWUSR); in test_semanage_store_access_check()
[all …]
/external/valgrind/memcheck/tests/solaris/
Dsyscall_at.c86 fchmodat(dfd, FILENAME, S_IRUSR | S_IWUSR, 0); in main()
87 fchmodat(0x4303151, DIRECTORY FILENAME, S_IRUSR | S_IWUSR, 0); in main()
88 fchmodat(AT_FDCWD, FILENAME, S_IRUSR | S_IWUSR, 0); in main()
89 fchmodat(0x4303152, FILENAME, S_IRUSR | S_IWUSR, 0); /* warning for this one */ in main()
92 mkdirat(dfd, FILENAME, S_IRUSR | S_IWUSR); in main()
93 mkdirat(0x9384151, DIRECTORY FILENAME, S_IRUSR | S_IWUSR); in main()
94 mkdirat(AT_FDCWD, FILENAME, S_IRUSR | S_IWUSR); in main()
95 mkdirat(0x9384152, FILENAME, S_IRUSR | S_IWUSR); /* warning for this one */ in main()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c51 #define DIR_TEMP_MODE (S_IRUSR | S_IXUSR)
52 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \
56 #define FIFO_MODE (S_IFIFO | S_IRUSR | S_IRGRP | S_IROTH)
58 #define CHR_MODE (S_IFCHR | S_IRUSR | S_IWUSR)
59 #define BLK_MODE (S_IFBLK | S_IRUSR | S_IWUSR)
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util_unittest.py31 os.chmod(self.read_only_path, stat.S_IRUSR)
36 os.chmod(self.writable_path, stat.S_IRUSR | stat.S_IWUSR)
46 os.chmod(self.sub_read_only_path, stat.S_IRUSR)
51 os.chmod(self.sub_writable_path, stat.S_IRUSR | stat.S_IWUSR)
87 stat.S_IRUSR & stat.S_IMODE(os.stat(read_only_path).st_mode))
89 stat.S_IRUSR & stat.S_IMODE(os.stat(sub_read_only_path).st_mode))
91 stat.S_IRUSR & stat.S_IMODE(os.stat(writable_path).st_mode))
95 stat.S_IRUSR & stat.S_IMODE(os.stat(sub_writable_path).st_mode))
/external/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat02.c46 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \
50 #define FIFOMODE (S_IFIFO | S_IRUSR | S_IRGRP | S_IROTH)
51 #define FREGMODE (S_IFREG | S_IRUSR | S_IRGRP | S_IROTH)
52 #define SOCKMODE (S_IFSOCK | S_IRUSR | S_IRGRP | S_IROTH)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
D16-1.c58 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
89 S_IRUSR | S_IWUSR, NULL); in main()
106 S_IRUSR | S_IWUSR, NULL); in main()
D7-3.c35 roqueue = mq_open(qname, O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR, NULL); in main()
42 roqueue2 = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, NULL); in main()
D15-1.c32 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main()
43 S_IRUSR | S_IWUSR, NULL); in main()
D23-1.c33 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main()
44 S_IRUSR | S_IWUSR, NULL); in main()
D11-1.c38 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main()
56 queue2 = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main()
D19-1.c53 S_IRUSR | S_IWUSR, &attr); in main()
75 queue = mq_open(qname, O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D5-1.c28 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D22-1.c29 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR); in main()
35 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
D25-1.c40 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
51 fd = shm_open(SHM_NAME, O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in main()
D14-2.c44 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
63 fd = shm_open(SHM_NAME, O_RDWR, S_IRUSR | S_IWUSR); in main()
D1-1.c44 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
65 fd = shm_open(SHM_NAME, O_RDONLY, S_IRUSR | S_IWUSR); in main()
D28-1.c44 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
79 fd = shm_open(SHM_NAME, O_RDONLY, S_IRUSR | S_IWUSR); in main()
D5-1.c52 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in child_process()
92 fd = shm_open(SHM_NAME, O_RDONLY, S_IRUSR | S_IWUSR); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/
D1-1.c38 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); in main()
44 if (mq_open(mqname, O_RDWR, S_IRUSR | S_IWUSR, 0) == -1) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D6-6.c44 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
56 fd = open(tmpfname, O_WRONLY, S_IRUSR | S_IWUSR); in main()
D6-4.c46 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
58 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main()
D6-5.c45 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
57 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/
D26-1.c54 S_IRUSR | S_IWUSR, NULL); in main()
63 S_IRUSR | S_IWUSR, NULL); in main()
/external/ltp/testcases/kernel/syscalls/link/
Dlink07.c41 #define MODE_TO S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IXOTH|S_IROTH|S_IWOTH
42 #define MODE_TE S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH
/external/ltp/testcases/kernel/device-drivers/nls/
DuserBlockNLS.c121 (S_IFBLK | S_IRUSR | S_IWUSR | in open_block_device()
141 (S_IFBLK | S_IRUSR | S_IWUSR in open_block_device()

12345678910>>...20