Home
last modified time | relevance | path

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

12

/xnu-8020.121.3/libsyscall/wrappers/
H A Dopen-base.c37 …sion_compat_open_shim)(int opened_fd, int openat_fd, const char *orig_path, int oflag, mode_t mode,
38 int (*close_syscall)(int), int (*open_syscall)(const char *, int, mode_t),
39 int (*openat_syscall)(int, const char *, int, mode_t),
44 int __open(const char *path, int oflag, mode_t mode);
45 int __openat(int fd, const char *path, int oflag, mode_t mode);
59 int __open_nocancel(const char *path, int oflag, mode_t mode);
60 int __openat_nocancel(int fd, const char *path, int oflag, mode_t mode);
83 mode_t mode = 0; in open()
126 mode_t mode = 0; in openat()
H A D_libkernel_init.c44 …rsion_compat_open_shim(int opened_fd, int openat_fd, const char *orig_path, int oflag, mode_t mode,
45 int (*close_syscall)(int), int (*open_syscall)(const char *, int, mode_t),
46 int (*openat_syscall)(int, const char *, int, mode_t),
50 …sion_compat_open_shim)(int opened_fd, int openat_fd, const char *orig_path, int oflag, mode_t mode,
51 int (*close_syscall)(int), int (*open_syscall)(const char *, int, mode_t),
52 int (*openat_syscall)(int, const char *, int, mode_t),
H A Dsystem-version-compat-support.c43 …sion_compat_open_shim)(int opened_fd, int openat_fd, const char *orig_path, int oflag, mode_t mode,
44 int (*close_syscall)(int), int (*open_syscall)(const char *, int, mode_t),
45 int (*openat_syscall)(int, const char *, int, mode_t),
H A Dsystem-version-compat.c133 …rsion_compat_open_shim(int opened_fd, int openat_fd, const char *orig_path, int oflag, mode_t mode, in _system_version_compat_open_shim()
134 int (*close_syscall)(int), int (*open_syscall)(const char *, int, mode_t), in _system_version_compat_open_shim() argument
135 int (*openat_syscall)(int, const char *, int, mode_t), in _system_version_compat_open_shim()
/xnu-8020.121.3/bsd/sys/
H A Dstat.h121 mode_t st_mode; /* inode protection mode */
168 mode_t st_mode; /* [XSI] Mode of file (see below) */ \
197 mode_t st_mode; /* [XSI] Mode of file (see below) */
246 mode_t st_mode; /* [XSI] Mode of file (see below) */
279 mode_t st_mode; /* [XSI] Mode of file (see below) */
311 mode_t st_mode; /* [XSI] Mode of file (see below) */
343 mode_t st_mode; /* [XSI] Mode of file (see below) */
560 int chmod(const char *, mode_t) __DARWIN_ALIAS(chmod);
561 int fchmod(int, mode_t) __DARWIN_ALIAS(fchmod);
564 int mkdir(const char *, mode_t);
[all …]
H A Dipc.h112 mode_t mode; /* [XSI] Read/write permission */
132 mode_t mode; /* Read/Write permission */
H A Dfcntl.h731 mode_t o_mode; /* same as open(2) */
744 mode_t o_mode;
750 mode_t o_mode;
787 int creat(const char *, mode_t) __DARWIN_ALIAS_C(creat);
H A Dposix_shm.h59 mode_t pshm_mode;
H A Dposix_sem.h58 mode_t psem_mode;
H A Dvstat.h54 mode_t vst_mode; /* inode protection mode */
H A Dspawn_internal.h391 mode_t psfao_mode; /* mode for open */
H A Dkauth.h164 …ed_access(kauth_cred_t cred, id_t object_uid, id_t object_gid, mode_t object_mode, mode_t mode_req…
/xnu-8020.121.3/bsd/kern/
H A Dsysv_ipc.c106 mode_t mode_owner = (perm->mode & S_IRWXU); in ipcperm()
107 mode_t mode_group = (mode_t)((perm->mode & S_IRWXG) << 3); in ipcperm()
108 mode_t mode_world = (mode_t)((perm->mode & S_IRWXO) << 6); in ipcperm()
H A Dposix_sem.c94 mode_t psem_mode;
164 static int psem_access(struct pseminfo *pinfo, mode_t mode, kauth_cred_t cred);
389 mode_t fmode; in sem_open()
390 mode_t cmode = (mode_t)uap->mode; in sem_open()
397 AUDIT_ARG(mode, (mode_t)uap->mode); in sem_open()
470 fmode = (mode_t)FFLAGS(uap->oflag); in sem_open()
652 psem_access(struct pseminfo *pinfo, mode_t mode, kauth_cred_t cred) in psem_access()
654 mode_t mode_req = ((mode & FREAD) ? S_IRUSR : 0) | in psem_access()
H A Dposix_shm.c345 mode_t cmode = (mode_t)uap->mode; in shm_open()
721 mode_t mode_req = ((mode & FREAD) ? S_IRUSR : 0) | in pshm_access()
/xnu-8020.121.3/libsyscall/wrappers/unix03/
H A Dfchmod.c32 extern int __fchmod(int fd, mode_t mode);
41 fchmod(int fd, mode_t mode) in fchmod()
H A Dchmod.c32 extern int __chmod(const char *path, mode_t mode);
41 chmod(const char *path, mode_t mode) in chmod()
/xnu-8020.121.3/bsd/sys/_types/
H A D_mode_t.h31 typedef __darwin_mode_t mode_t; typedef
/xnu-8020.121.3/bsd/security/audit/
H A Daudit_private.h138 mode_t vn_mode;
202 mode_t pipc_mode;
254 mode_t ar_arg_mode;
H A Daudit.h211 void audit_arg_mode(struct kaudit_record *ar, mode_t mode);
247 gid_t gid, mode_t mode);
/xnu-8020.121.3/SETUP/installfile/
H A Dinstallfile.c46 mode_t mode; in main()
/xnu-8020.121.3/bsd/miscfs/devfs/
H A Ddevfsdefs.h298 int devfs_make_symlink(devnode_t *dir_p, char *name, mode_t mode, char *target, devdirent_t **n…
/xnu-8020.121.3/tests/vm_memory_tests_src/
H A Dcommon.c21 int w_fd = open(TEST_TXT_FILE, O_WRONLY | O_CREAT | O_TRUNC, (mode_t)0666); in mach_server_data_setup()
/xnu-8020.121.3/libsyscall/wrappers/spawn/
H A Dspawn.h79 …const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __SPI_AVAILABLE(watch…
H A Dposix_spawn_filtering.c43 extern int __open_nocancel(const char *path, int oflag, mode_t mode);

12