Home
last modified time | relevance | path

Searched refs:S_IRWXU (Results 1 - 25 of 181) sorted by relevance

12345678

/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dnftw.c69 S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH,
72 S_IRWXU | S_IRWXG | S_IROTH | S_IWOTH,
75 S_IRWXU | S_IRWXG | S_IRWXO,
78 S_IRWXU | S_IRWXG | S_IRWXO,
81 S_IRWXU | S_IRWXG
85 S_IRWXU
95 S_IRWXU
106 S_IRWXU | S_IRWXG | S_IROTH | S_IWOTH,
109 S_IRWXU | S_IRWXG | S_IROTH | S_IWOTH,
112 S_IRWXU | S_IRWX
[all...]
H A Dnftw64.c69 S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH,
72 S_IRWXU | S_IRWXG | S_IROTH | S_IWOTH,
75 S_IRWXU | S_IRWXG | S_IRWXO,
78 S_IRWXU | S_IRWXG | S_IRWXO,
81 S_IRWXU | S_IRWXG
85 S_IRWXU
95 S_IRWXU
106 S_IRWXU | S_IRWXG | S_IROTH | S_IWOTH,
109 S_IRWXU | S_IRWXG | S_IROTH | S_IWOTH,
112 S_IRWXU | S_IRWX
[all...]
H A Dtools.c49 chmod("./tmp/data/d333", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function()
50 chmod("./tmp/data/d666", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function()
51 chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IRWXU | S_IRWXG | in cleanup_function()
72 if (mkdir("./tmp", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) == -1) { in setup_path()
H A Dtools64.c48 chmod("./tmp/data/d333", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function()
49 chmod("./tmp/data/d666", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function()
50 chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IRWXU | S_IRWXG | in cleanup_function()
71 if (mkdir("./tmp", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) == -1) { in setup_path()
/third_party/ltp/testcases/kernel/syscalls/openat2/
H A Dopenat201.c27 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, 0, &how, sizeof(*how)},
30 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_XDEV, &how, sizeof(*how)},
31 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_MAGICLINKS, &how, sizeof(*how)},
32 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_SYMLINKS, &how, sizeof(*how)},
33 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_BENEATH, &how, sizeof(*how)},
34 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_IN_ROOT, &how, sizeof(*how)},
35 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, 0, &how, sizeof(*how)},
38 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_XDEV, &how, sizeof(*how)},
39 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_MAGICLINKS, &how, sizeof(*how)},
40 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_SYMLINK
[all...]
H A Dopenat203.c26 {"invalid-dfd", -1, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, sizeof(*how), EBADF},
30 {"invalid-resolve", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, -1, &how, sizeof(*how), EINVAL},
31 {"invalid-size-zero", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, 0, EINVAL},
32 {"invalid-size-small", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, sizeof(*how) - 1, EINVAL},
33 {"invalid-size-big", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, sizeof(*how) + 1, EFAULT},
34 {"invalid-size-big-with-pad", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, (struct open_how **)&phow, sizeof(*how) + 8, E2BIG},
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/
H A Dstat_fstatat64_test.cpp23 mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
29 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
45 mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
52 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
68 mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
75 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
H A Dstat_fstatat_test.cpp21 mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
28 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
43 mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
50 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
H A Dstat_mkdir_test.cpp19 mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
33 mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; in HWTEST_F()
/third_party/rust/crates/nix/test/
H A Dtest_stat.rs326 mkdirat(dirfd, filename, Mode::S_IRWXU).expect("mkdirat failed"); in test_mkdirat_success_path()
334 stat::SFlag::S_IFDIR.bits() | stat::Mode::S_IRWXU.bits(); in test_mkdirat_success_mode()
340 mkdirat(dirfd, filename, Mode::S_IRWXU).expect("mkdirat failed"); in test_mkdirat_success_mode()
360 let result = mkdirat(dirfd, filename, Mode::S_IRWXU).unwrap_err(); in test_mkdirat_fail()
379 mknod(&target, SFlag::S_IFREG, Mode::S_IRWXU, 0).unwrap(); in test_mknod()
382 assert_eq!(mode & libc::S_IRWXU, libc::S_IRWXU); in test_mknod()
403 Dir::open(tempdir.path(), OFlag::O_DIRECTORY, Mode::S_IRWXU).unwrap(); in test_mknodat()
408 Mode::S_IRWXU, in test_mknodat()
420 assert_eq!(mode & libc::S_IRWXU, lib in test_mknodat()
[all...]
/third_party/ltp/testcases/kernel/syscalls/chown/
H A Dchown02.c21 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
22 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID)
23 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dmkdirat.c29 int ret = mkdirat(TEST_AT_FDCWD, "aa", S_IRWXU | S_IRWXG | S_IXOTH | S_IROTH); in mkdirat_0100()
44 int ret = mkdirat(TEST_ERROR_AT_FDCWD, "bb", S_IRWXU | S_IRWXG | S_IXOTH | S_IROTH); in mkdirat_0200()
H A Dfchmodat.c63 S_IRWXU | S_IRWXG | S_IRWXO, in fchmodat_0200()
79 int result = fchmodat(-1, "test.txt", S_IRWXU | S_IRWXG | S_IRWXO, AT_SYMLINK_NOFOLLOW); in fchmodat_0300()
H A Dfchmod.c54 int result = fchmod(fd, S_IRWXU | S_IRWXG | S_IRWXO); in fchmod_0200()
69 int result = fchmod(-1, S_IRWXU | S_IRWXG | S_IRWXO); in fchmod_0300()
/third_party/libsnd/src/
H A Dsf_unistd.h48 #ifndef S_IRWXU
49 #define S_IRWXU 0000700 /* rwx, owner */ macro
/third_party/ltp/testcases/kernel/syscalls/fchown/
H A Dfchown02.c28 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
29 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID)
30 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
/third_party/node/deps/v8/third_party/jinja2/
H A Dbccache.py216 os.mkdir(actual_dir, stat.S_IRWXU)
221 os.chmod(actual_dir, stat.S_IRWXU)
226 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU
237 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU
/third_party/node/tools/inspector_protocol/jinja2/
H A Dbccache.py237 os.mkdir(actual_dir, stat.S_IRWXU)
242 os.chmod(actual_dir, stat.S_IRWXU)
246 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU:
255 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU:
/third_party/python/Lib/test/
H A Dtest__osx_support.py46 os.chmod(self.prog_name, stat.S_IRWXU)
58 os.chmod(self.prog_name, stat.S_IRWXU)
149 os.chmod(c_name, stat.S_IRWXU)
228 os.chmod(c_name, stat.S_IRWXU)
/third_party/skia/third_party/externals/jinja2/
H A Dbccache.py216 os.mkdir(actual_dir, stat.S_IRWXU)
221 os.chmod(actual_dir, stat.S_IRWXU)
226 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU
237 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount02.c54 #define DIR_MODE (S_IRWXU | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP)
55 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO)
157 fd = SAFE_OPEN(cleanup, "mntpoint/file", O_CREAT | O_RDWR, S_IRWXU); in mount_open()
/third_party/ltp/testcases/kernel/device-drivers/nls/
H A DuserBlockNLS.c89 rc = mkdir(NLS_DEVICE_PATH, (S_IFDIR | S_IRWXU | in open_block_device()
104 (S_IFDIR | S_IRWXU | S_IRGRP in open_block_device()
/third_party/ltp/testcases/kernel/device-drivers/usb/user_usb/
H A Duser_tusb.c44 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tusbopen()
57 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tusbopen()
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
H A Duser_tmod.c63 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tmodopen()
76 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tmodopen()
/third_party/ltp/testcases/kernel/device-drivers/include/
H A DuserBlockInclude.c92 (S_IFDIR | S_IRWXU | S_IRGRP | in open_block_device()
104 (S_IFDIR | S_IRWXU | S_IRGRP in open_block_device()

Completed in 8 milliseconds

12345678