/external/selinux/libsemanage/tests/ |
D | test_semanage_store.c | 62 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() 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() 189 err = chmod(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check() 207 err = chmod(polpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check() 211 err = chmod(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check() [all …]
|
/external/u-boot/drivers/mtd/ubi/ |
D | debug.c | 422 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 429 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 436 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 443 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 450 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 457 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 464 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 471 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 478 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
D | 16-1.c | 58 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()
|
D | 7-3.c | 35 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()
|
D | 15-1.c | 32 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 43 S_IRUSR | S_IWUSR, NULL); in main()
|
D | 23-1.c | 33 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 44 S_IRUSR | S_IWUSR, NULL); in main()
|
D | 11-1.c | 38 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()
|
D | 19-1.c | 53 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/kernel/syscalls/mknod/ |
D | mknod07.c | 52 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ 58 #define CHR_MODE (S_IFCHR | S_IRUSR | S_IWUSR) 59 #define BLK_MODE (S_IFBLK | S_IRUSR | S_IWUSR)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
D | 5-1.c | 28 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/ |
D | 22-1.c | 29 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()
|
D | 25-1.c | 35 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main() 46 fd = shm_open(SHM_NAME, O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in main()
|
D | 18-1.c | 34 #define MOD_FLAGS (S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH) /* -w?rw?r-? */ 36 #define ALL_MOD_FLAGS (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \
|
D | 14-2.c | 39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main() 58 fd = shm_open(SHM_NAME, O_RDWR, S_IRUSR | S_IWUSR); in main()
|
D | 1-1.c | 39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main() 60 fd = shm_open(SHM_NAME, O_RDONLY, S_IRUSR | S_IWUSR); in main()
|
D | 5-1.c | 47 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in child_process() 87 fd = shm_open(SHM_NAME, O_RDONLY, S_IRUSR | S_IWUSR); in main()
|
D | 28-1.c | 39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main() 74 fd = shm_open(SHM_NAME, O_RDONLY, S_IRUSR | S_IWUSR); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 1-1.c | 38 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/ |
D | 6-4.c | 45 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()
|
D | 6-6.c | 43 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 55 fd = open(tmpfname, O_WRONLY, S_IRUSR | S_IWUSR); in main()
|
D | 6-5.c | 44 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 56 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main()
|
/external/ltp/testcases/kernel/syscalls/nftw/ |
D | tools64.c | 121 if (chmod("./tmp/data/d333", (mode_t) S_IWUSR | S_IXUSR | S_IWGRP | in setup_path() 129 if (chmod("./tmp/data/d666", (mode_t) S_IRUSR | S_IWUSR | S_IRGRP | in setup_path() 137 if (chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IWUSR | S_IXUSR | in setup_path()
|
D | tools.c | 122 if (chmod("./tmp/data/d333", (mode_t) S_IWUSR | S_IXUSR | S_IWGRP | in setup_path() 130 if (chmod("./tmp/data/d666", (mode_t) S_IRUSR | S_IWUSR | S_IRGRP | in setup_path() 138 if (chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IWUSR | S_IXUSR | in setup_path()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/ |
D | 26-1.c | 54 S_IRUSR | S_IWUSR, NULL); in main() 63 S_IRUSR | S_IWUSR, NULL); in main()
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link07.c | 41 #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
|