Home
last modified time | relevance | path

Searched refs:dpflags (Results 1 – 5 of 5) sorted by relevance

/xnu-10063.141.1/libsyscall/wrappers/
H A Dopen_dprotected_np.c30 int __open_dprotected_np(const char* path, int flags, int class, int dpflags, int mode);
31 int __openat_dprotected_np(int fd, const char* path, int flags, int class, int dpflags, int mode, i…
34 open_dprotected_np(const char *path, int flags, int class, int dpflags, ...) in open_dprotected_np() argument
38 if (dpflags & O_DP_AUTHENTICATE) { in open_dprotected_np()
45 va_start(ap, dpflags); in open_dprotected_np()
49 return __open_dprotected_np(path, flags, class, dpflags, mode); in open_dprotected_np()
53 openat_dprotected_np(int fd, const char *path, int flags, int class, int dpflags, ...) in openat_dprotected_np() argument
57 if (dpflags & O_DP_AUTHENTICATE) { in openat_dprotected_np()
64 va_start(ap, dpflags); in openat_dprotected_np()
68 return __openat_dprotected_np(fd, path, flags, class, dpflags, mode, AUTH_OPEN_NOAUTHFD); in openat_dprotected_np()
H A Dguarded_open_dprotected_np.c30 const guardid_t *guard, u_int guardflags, int flags, int dpclass, int dpflags, int mode);
34 const guardid_t *guard, u_int guardflags, int flags, int dpclass, int dpflags, ...) in guarded_open_dprotected_np() argument
40 va_start(ap, dpflags); in guarded_open_dprotected_np()
44 return __guarded_open_dprotected_np(path, guard, guardflags, flags, dpclass, dpflags, mode); in guarded_open_dprotected_np()
/xnu-10063.141.1/bsd/sys/
H A Dguarded.h52 int dpclass, int dpflags, ...);
/xnu-10063.141.1/bsd/kern/
H A Dkern_guarded.c372 if (uap->dpflags & (O_DP_GETRAWENCRYPTED | O_DP_GETRAWUNENCRYPTED)) { in guarded_open_dprotected_np()
377 if (uap->dpflags & O_DP_GETRAWENCRYPTED) { in guarded_open_dprotected_np()
380 if (uap->dpflags & O_DP_GETRAWUNENCRYPTED) { in guarded_open_dprotected_np()
/xnu-10063.141.1/bsd/vfs/
H A Dvfs_syscalls.c5008 int class, int dpflags, int fd, int authfd, enum uio_seg segflg, int *retval) in openat_dprotected_internal() argument
5045 if (dpflags & (O_DP_GETRAWENCRYPTED | O_DP_GETRAWUNENCRYPTED | O_DP_AUTHENTICATE)) { in openat_dprotected_internal()
5052 if (dpflags & O_DP_GETRAWENCRYPTED) { in openat_dprotected_internal()
5055 if (dpflags & O_DP_GETRAWUNENCRYPTED) { in openat_dprotected_internal()
5058 if (dpflags & O_DP_AUTHENTICATE) { in openat_dprotected_internal()
5072 if ((uap->dpflags & O_DP_AUTHENTICATE) && (uap->flags & O_CREAT)) { in openat_dprotected_np()
5077 uap->class, uap->dpflags, uap->fd, uap->authfd, UIO_USERSPACE, retval); in openat_dprotected_np()
5083 if (uap->dpflags & O_DP_AUTHENTICATE) { in open_dprotected_np()
5088 uap->class, uap->dpflags, AT_FDCWD, AUTH_OPEN_NOAUTHFD, UIO_USERSPACE, retval); in open_dprotected_np()