Home
last modified time | relevance | path

Searched refs:mode_t (Results 1 – 25 of 29) sorted by relevance

12

/bionic/tests/headers/posix/
Dsys_stat_h.c48 STRUCT_MEMBER(struct stat, mode_t, st_mode); in sys_stat_h()
96 TYPE(mode_t); in sys_stat_h()
137 FUNCTION(chmod, int (*f)(const char*, mode_t)); in sys_stat_h()
138 FUNCTION(fchmod, int (*f)(int, mode_t)); in sys_stat_h()
139 FUNCTION(fchmodat, int (*f)(int, const char*, mode_t, int)); in sys_stat_h()
145 FUNCTION(mkdir, int (*f)(const char*, mode_t)); in sys_stat_h()
146 FUNCTION(mkdirat, int (*f)(int, const char*, mode_t)); in sys_stat_h()
147 FUNCTION(mkfifo, int (*f)(const char*, mode_t)); in sys_stat_h()
148 FUNCTION(mkfifoat, int (*f)(int, const char*, mode_t)); in sys_stat_h()
149 FUNCTION(mknod, int (*f)(const char*, mode_t, dev_t)); in sys_stat_h()
[all …]
Dsys_ipc_h.c42 STRUCT_MEMBER(struct ipc_perm, mode_t, mode); in sys_ipc_h()
47 TYPE(mode_t); in sys_ipc_h()
Dspawn_h.c37 TYPE(mode_t); in spawn_h()
54 …_spawn_file_actions_addopen, int (*f)(posix_spawn_file_actions_t*, int, const char*, int, mode_t)); in spawn_h()
Dsys_mman_h.c65 TYPE(mode_t); in sys_mman_h()
89 FUNCTION(shm_open, int (*f)(const char*, int, mode_t)); in sys_mman_h()
Dfcntl_h.c110 TYPE(mode_t); in fcntl_h()
114 FUNCTION(creat, int (*f)(const char*, mode_t)); in fcntl_h()
Dsys_types_h.c45 TYPE(mode_t); in sys_types_h()
/bionic/libc/include/sys/
Dstat.h47 mode_t st_mode; \
68 mode_t st_mode; \
139 int chmod(const char* __path, mode_t __mode);
140 int fchmod(int __fd, mode_t __mode);
141 int mkdir(const char* __path, mode_t __mode);
152 int mknod(const char* __path, mode_t __mode, dev_t __dev);
153 mode_t umask(mode_t __mask);
160 int mkfifo(const char* __path, mode_t __mode) __INTRODUCED_IN(21);
165 int mkfifoat(int __dir_fd, const char* __path, mode_t __mode) __INTRODUCED_IN(23);
167 int fchmodat(int __dir_fd, const char* __path, mode_t __mode, int __flags);
[all …]
Dtypes.h64 typedef __mode_t mode_t; typedef
/bionic/libc/include/bits/fortify/
Dstat.h31 mode_t __umask_chk(mode_t) __INTRODUCED_IN(18);
32 mode_t __umask_real(mode_t mode) __RENAME(umask);
38 mode_t umask(mode_t mode) in umask()
Dfcntl.h49 int open(const char* pathname, int flags, mode_t modes, ...) __overloadable
70 int open(const char* const __pass_object_size pathname, int flags, mode_t modes) in open()
78 int openat(int dirfd, const char* pathname, int flags, mode_t modes, ...)
94 int openat(int dirfd, const char* const __pass_object_size pathname, int flags, mode_t modes) in openat()
105 int open64(const char* pathname, int flags, mode_t modes, ...) __overloadable
116 int open64(const char* const __pass_object_size pathname, int flags, mode_t modes) in open64()
124 int openat64(int dirfd, const char* pathname, int flags, mode_t modes, ...)
136 int openat64(int dirfd, const char* const __pass_object_size pathname, int flags, mode_t modes) in openat64()
/bionic/libc/bionic/
Dopen.cpp51 int creat(const char* pathname, mode_t mode) { in creat()
57 mode_t mode = 0; in open()
62 mode = static_cast<mode_t>(va_arg(args, int)); in open()
76 mode_t mode = 0; in openat()
81 mode = static_cast<mode_t>(va_arg(args, int)); in openat()
Dmkfifo.cpp33 int mkfifo(const char* path, mode_t mode) { in mkfifo()
37 int mkfifoat(int fd, const char* path, mode_t mode) { in mkfifoat()
Dfchmodat.cpp37 extern "C" int __fchmodat(int, const char*, mode_t);
39 int fchmodat(int dirfd, const char* pathname, mode_t mode, int flags) { in fchmodat()
Dfchmod.cpp38 extern "C" int __fchmod(int, mode_t);
40 int fchmod(int fd, mode_t mode) { in fchmod()
Dmkdir.cpp33 int mkdir(const char* path, mode_t mode) { in mkdir()
Dchmod.cpp33 int chmod(const char* path, mode_t mode) { in chmod()
Dmknod.cpp34 int mknod(const char* path, mode_t mode, dev_t dev) { in mknod()
Dspawn.cpp57 mode_t mode;
298 mode_t mode) { in posix_spawn_add_file_action()
330 int fd, const char* path, int flags, mode_t mode) { in posix_spawn_file_actions_addopen()
/bionic/tests/
Dclang_fortify_asan.cpp40 volatile mode_t unknown = 01000; in TEST()
41 mode_t previous = umask(unknown); in TEST()
Dsys_stat_test.cpp165 static void AssertFileModeEquals(mode_t expected_mode, const char* filename) { in AssertFileModeEquals()
168 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in AssertFileModeEquals()
169 ASSERT_EQ(expected_mode & mask, static_cast<mode_t>(sb.st_mode) & mask); in AssertFileModeEquals()
222 static void AssertSymlinkModeEquals(mode_t expected_mode, const char* linkname) { in AssertSymlinkModeEquals()
225 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in AssertSymlinkModeEquals()
226 ASSERT_EQ(expected_mode & mask, static_cast<mode_t>(sb.st_mode) & mask); in AssertSymlinkModeEquals()
/bionic/tools/versioner/tests/fortify_inline/headers/
Dfcntl.h9 typedef unsigned int mode_t; typedef
20 int open(const char* name, int flags, mode_t mode) in open()
/bionic/libc/include/
Dfcntl.h114 int creat(const char* __path, mode_t __mode);
116 int creat64(const char* __path, mode_t __mode) __INTRODUCED_IN(21);
/bionic/libc/
DSECCOMP_ALLOWLIST_APP.TXT27 int creat:creat(const char *pathname, mode_t mode) lp32
58 int mkdir(const char *pathname, mode_t mode) lp32
DSYSCALLS.TXT128 int __fchmod:fchmod(int, mode_t) all
145 int __openat:openat(int, const char*, int, mode_t) all
147 int __fchmodat:fchmodat(int, const char*, mode_t) all
152 int mkdirat(int, const char*, mode_t) all
153 int mknodat(int, const char*, mode_t, dev_t) all
299 mode_t umask(mode_t) all
/bionic/libc/include/android/
Dlegacy_sys_stat_inlines.h39 static __inline int mkfifo(const char* __path, mode_t __mode) { in mkfifo()

12