Searched refs:kauth_filesec_t (Results 1 - 9 of 9) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A Dkernel_types.h147 typedef struct kauth_filesec * kauth_filesec_t; typedef in typeref:struct:kauth_filesec
H A Dkauth.h395 * KAUTH_FILESEC_NOACL on disk to distinguish a kauth_filesec_t with an empty
437 #define KAUTH_FILESEC_NONE ((kauth_filesec_t)0)
438 #define KAUTH_FILESEC_WANTED ((kauth_filesec_t)1)
442 typedef struct kauth_filesec *kauth_filesec_t; typedef in typeref:struct:kauth_filesec
507 kauth_filesec_t kauth_filesec_alloc(int size);
508 void kauth_filesec_free(kauth_filesec_t fsp);
522 void kauth_filesec_acl_setendian(int, kauth_filesec_t, kauth_acl_t);
523 int kauth_copyinfilesec(user_addr_t xsecurity, kauth_filesec_t *xsecdestpp);
H A Dvnode.h1945 int vn_stat(struct vnode *vp, void * sb, kauth_filesec_t *xsec, int isstat64, vfs_context_t ctx);
1946 int vn_stat_noauth(struct vnode *vp, void * sb, kauth_filesec_t *xsec, int isstat64, vfs_context_t ctx);
/xnu-2782.1.97/bsd/kern/
H A Dkern_authorization.c937 * Parameters: xsecurity user space kauth_filesec_t
938 * xsecdstpp pointer to kauth_filesec_t to be
953 * Notes: The returned kauth_filesec_t is in host byte order
956 * kauth_filesec_t in the success case using the function
963 kauth_copyinfilesec(user_addr_t xsecurity, kauth_filesec_t *xsecdestpp)
967 kauth_filesec_t fsec;
1048 kauth_filesec_t
1051 kauth_filesec_t fsp;
1057 MALLOC(fsp, kauth_filesec_t, KAUTH_FILESEC_SIZE(count), M_KAUTH, M_WAITOK);
1069 * Free a kauth_filesec_t tha
[all...]
H A Dkern_descrip.c2835 kauth_filesec_t fsec;
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_vnops.c331 * Notes: The kauth_filesec_t in 'vap', if any, is in host byte order.
1168 vn_stat_noauth(struct vnode *vp, void *sbptr, kauth_filesec_t *xsec, int isstat64, vfs_context_t ctx)
1173 kauth_filesec_t fsec;
1335 vn_stat(struct vnode *vp, void *sb, kauth_filesec_t *xsec, int isstat64, vfs_context_t ctx)
H A Dkpi_vfs.c1975 * Notes: The kauth_filesec_t in '*fsecp', if retrieved, will be in
1995 vnode_get_filesec(vnode_t vp, kauth_filesec_t *fsecp, vfs_context_t ctx)
1997 kauth_filesec_t fsec;
2019 * To be valid, a kauth_filesec_t must be large enough to hold a zero
2122 * The kauth_filesec_t in 'fsec', if any, is in host byte order,
2136 vnode_set_filesec(vnode_t vp, kauth_filesec_t fsec, kauth_acl_t acl, vfs_context_t ctx)
2187 kauth_filesec_t fsec;
2405 * Notes: The kauth_filesec_t in 'vap', if any, is in host byte order.
2499 * Notes: The kauth_filesec_t in 'vap', if any, is in host byte order,
2512 kauth_filesec_t fse
[all...]
H A Dvfs_syscalls.c3542 * Notes: The kauth_filesec_t in 'va', if any, is in host byte order.
3552 kauth_filesec_t xsecdst;
3933 * Notes: The kauth_filesec_t in 'va', if any, is in host byte order.
3942 kauth_filesec_t xsecdst;
5247 kauth_filesec_t fsec;
5806 * Notes: The kauth_filesec_t in 'va', if any, is in host byte order.
5816 kauth_filesec_t xsecdst;
5934 kauth_filesec_t xsecdst;
7259 kauth_filesec_t xsecdst;
7754 umask1(proc_t p, int newmask, __unused kauth_filesec_t fse
[all...]
H A Dvfs_attrlist.c2172 * We have a kauth_acl_t but we will be returning a kauth_filesec_t.
2182 * Since we have a kauth_acl_t (not a kauth_filesec_t), we have to check against
3618 kauth_filesec_t rfsec;
3767 * We are (for now) passed a kauth_filesec_t, but all we want from
3779 rfsec = (kauth_filesec_t)cp;

Completed in 191 milliseconds