Home
last modified time | relevance | path

Searched refs:S_IRWXU (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/ltp/testcases/kernel/syscalls/nftw/
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_IRWXG |
[all …]
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_IRWXG |
[all …]
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()
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()
/third_party/ltp/testcases/kernel/syscalls/openat2/
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_SYMLINKS, &how, sizeof(*how)},
[all …]
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, …
33 …{"invalid-size-big", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, sizeof(*how) + 1, EF…
34 …{"invalid-size-big-with-pad", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, (struct open_how …
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown02.c20 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
21 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID)
22 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
Dchown04.c40 #define MODE_RWX (S_IRWXU|S_IRWXG|S_IRWXO)
93 SAFE_MKDIR(DIR_TEMP, S_IRWXU); in setup()
/third_party/ltp/testcases/kernel/syscalls/fchown/
Dfchown02.c27 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
28 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID)
29 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
/third_party/ltp/testcases/kernel/syscalls/mount/
Dmount03.c142 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); in test_rwflag()
160 fd = open(file, O_RDWR, S_IRWXU); in test_rwflag()
181 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); in test_rwflag()
251 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); in test_rwflag()
293 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); in test_rwflag()
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()
Dmount05.c43 #define DIR_MODE (S_IRWXU | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP)
77 if (open(file_des, O_CREAT | O_EXCL, S_IRWXU) == -1 && in main()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
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()
Dfchmodat.c58 S_IRWXU | S_IRWXG | S_IRWXO, in fchmodat_0200()
74 int result = fchmodat(-1, "test.txt", S_IRWXU | S_IRWXG | S_IRWXO, AT_SYMLINK_NOFOLLOW); in fchmodat_0300()
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/
Dsf_unistd.h48 #ifndef S_IRWXU
49 #define S_IRWXU 0000700 /* rwx, owner */ macro
/third_party/mindspore/mindspore/dataset/engine/
Dcache_admin.py36 os.chmod(cache_admin, stat.S_IRWXU)
37 os.chmod(cache_server, stat.S_IRWXU)
/third_party/jinja2/
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/skia/third_party/externals/jinja2/
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/python/Lib/test/
Dtest__osx_support.py47 os.chmod(self.prog_name, stat.S_IRWXU)
59 os.chmod(self.prog_name, stat.S_IRWXU)
150 os.chmod(c_name, stat.S_IRWXU)
229 os.chmod(c_name, stat.S_IRWXU)
/third_party/node/tools/inspector_protocol/jinja2/
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/ltp/testcases/kernel/device-drivers/include/
DuserBlockInclude.c92 (S_IFDIR | S_IRWXU | S_IRGRP | in open_block_device()
104 (S_IFDIR | S_IRWXU | S_IRGRP in open_block_device()
/third_party/ltp/testcases/kernel/device-drivers/nls/
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/dev_sim_framework/user_space/
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/syscalls/rmdir/
Drmdir02.c22 #define DIR_MODE (S_IRWXU | S_IRWXG | S_IRWXO)
23 #define FILE_MODE (S_IRWXU | S_IRWXG | S_IRWXO)

1234567