/bionic/tests/headers/posix/ |
D | sys_stat_h.c | 48 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 …]
|
D | sys_ipc_h.c | 42 STRUCT_MEMBER(struct ipc_perm, mode_t, mode); in sys_ipc_h() 47 TYPE(mode_t); in sys_ipc_h()
|
D | spawn_h.c | 37 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()
|
D | sys_mman_h.c | 65 TYPE(mode_t); in sys_mman_h() 89 FUNCTION(shm_open, int (*f)(const char*, int, mode_t)); in sys_mman_h()
|
D | fcntl_h.c | 110 TYPE(mode_t); in fcntl_h() 114 FUNCTION(creat, int (*f)(const char*, mode_t)); in fcntl_h()
|
D | sys_types_h.c | 45 TYPE(mode_t); in sys_types_h()
|
/bionic/libc/include/sys/ |
D | stat.h | 47 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 …]
|
D | types.h | 64 typedef __mode_t mode_t; typedef
|
/bionic/libc/include/bits/fortify/ |
D | stat.h | 31 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()
|
D | fcntl.h | 49 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/ |
D | open.cpp | 51 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()
|
D | mkfifo.cpp | 33 int mkfifo(const char* path, mode_t mode) { in mkfifo() 37 int mkfifoat(int fd, const char* path, mode_t mode) { in mkfifoat()
|
D | fchmodat.cpp | 37 extern "C" int __fchmodat(int, const char*, mode_t); 39 int fchmodat(int dirfd, const char* pathname, mode_t mode, int flags) { in fchmodat()
|
D | fchmod.cpp | 38 extern "C" int __fchmod(int, mode_t); 40 int fchmod(int fd, mode_t mode) { in fchmod()
|
D | mkdir.cpp | 33 int mkdir(const char* path, mode_t mode) { in mkdir()
|
D | chmod.cpp | 33 int chmod(const char* path, mode_t mode) { in chmod()
|
D | mknod.cpp | 34 int mknod(const char* path, mode_t mode, dev_t dev) { in mknod()
|
D | spawn.cpp | 57 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/ |
D | clang_fortify_asan.cpp | 40 volatile mode_t unknown = 01000; in TEST() 41 mode_t previous = umask(unknown); in TEST()
|
D | sys_stat_test.cpp | 165 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/ |
D | fcntl.h | 9 typedef unsigned int mode_t; typedef 20 int open(const char* name, int flags, mode_t mode) in open()
|
/bionic/libc/include/ |
D | fcntl.h | 114 int creat(const char* __path, mode_t __mode); 116 int creat64(const char* __path, mode_t __mode) __INTRODUCED_IN(21);
|
/bionic/libc/ |
D | SECCOMP_ALLOWLIST_APP.TXT | 27 int creat:creat(const char *pathname, mode_t mode) lp32 58 int mkdir(const char *pathname, mode_t mode) lp32
|
D | SYSCALLS.TXT | 128 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/ |
D | legacy_sys_stat_inlines.h | 39 static __inline int mkfifo(const char* __path, mode_t __mode) { in mkfifo()
|