/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_system.c | 73 mac_system_check_acct(kauth_cred_t cred, struct vnode *vp) 87 mac_system_check_host_priv(kauth_cred_t cred) 100 mac_system_check_nfsd(kauth_cred_t cred) 113 mac_system_check_reboot(kauth_cred_t cred, int howto) 126 mac_system_check_settime(kauth_cred_t cred) 139 mac_system_check_swapon(kauth_cred_t cred, struct vnode *vp) 151 mac_system_check_swapoff(kauth_cred_t cred, struct vnode *vp) 165 mac_system_check_sysctl(kauth_cred_t cred, int *name, u_int namelen,
|
H A D | mac_framework.h | 137 int mac_audit_check_postselect(kauth_cred_t cred, unsigned short syscode, 139 int mac_audit_check_preselect(kauth_cred_t cred, unsigned short syscode, 144 void mac_bpfdesc_label_associate(kauth_cred_t cred, struct bpf_d *bpf_d); 145 int mac_cred_check_label_update(kauth_cred_t cred, 150 int mac_cred_check_visible(kauth_cred_t u1, kauth_cred_t u2); 152 void mac_cred_label_associate(kauth_cred_t cred_parent, 153 kauth_cred_t cred_child); 154 void mac_cred_label_associate_fork(kauth_cred_t cred, proc_t child); 155 void mac_cred_label_associate_kernel(kauth_cred_t cre [all...] |
H A D | mac_policy.h | 115 typedef struct ucred *kauth_cred_t; typedef in typeref:struct:ucred 182 kauth_cred_t cred, 218 kauth_cred_t cred, 254 kauth_cred_t cred, 316 kauth_cred_t old, 340 kauth_cred_t cred, 358 kauth_cred_t u1, 359 kauth_cred_t u2 373 kauth_cred_t cred, 385 kauth_cred_t cre [all...] |
H A D | mac_posix_sem.c | 108 mac_posixsem_label_associate(kauth_cred_t cred, struct pseminfo *psem, 117 mac_posixsem_vnode_label_associate(kauth_cred_t cred, 126 mac_posixsem_check_create(kauth_cred_t cred, const char *name) 139 mac_posixsem_check_open(kauth_cred_t cred, struct pseminfo *psem) 153 mac_posixsem_check_post(kauth_cred_t cred, struct pseminfo *psem) 166 mac_posixsem_check_unlink(kauth_cred_t cred, struct pseminfo *psem, 180 mac_posixsem_check_wait(kauth_cred_t cred, struct pseminfo *psem)
|
H A D | mac_posix_shm.c | 109 mac_posixshm_vnode_label_associate(kauth_cred_t cred, 118 mac_posixshm_label_associate(kauth_cred_t cred, struct pshminfo *pshm, 126 mac_posixshm_check_create(kauth_cred_t cred, const char *name) 139 mac_posixshm_check_open(kauth_cred_t cred, struct pshminfo *shm) 152 mac_posixshm_check_mmap(kauth_cred_t cred, struct pshminfo *shm, 167 mac_posixshm_check_stat(kauth_cred_t cred, struct pshminfo *shm) 180 mac_posixshm_check_truncate(kauth_cred_t cred, struct pshminfo *shm, 194 mac_posixshm_check_unlink(kauth_cred_t cred, struct pshminfo *shm,
|
H A D | mac_pipe.c | 139 mac_pipe_label_associate(kauth_cred_t cred, struct pipe *cpipe) 146 mac_pipe_check_kqfilter(kauth_cred_t cred, struct knote *kn, 158 mac_pipe_check_ioctl(kauth_cred_t cred, struct pipe *cpipe, u_int cmd) 171 mac_pipe_check_read(kauth_cred_t cred, struct pipe *cpipe) 184 mac_pipe_check_label_update(kauth_cred_t cred, struct pipe *cpipe, 198 mac_pipe_check_select(kauth_cred_t cred, struct pipe *cpipe, int which) 211 mac_pipe_check_stat(kauth_cred_t cred, struct pipe *cpipe) 224 mac_pipe_check_write(kauth_cred_t cred, struct pipe *cpipe) 237 mac_pipe_label_update(kauth_cred_t cred, struct pipe *cpipe,
|
H A D | mac_sysv_msg.c | 116 mac_sysvmsg_label_associate(kauth_cred_t cred, struct msqid_kernel *msqptr, 125 mac_sysvmsq_label_associate(kauth_cred_t cred, struct msqid_kernel *msqptr) 146 mac_sysvmsq_check_enqueue(kauth_cred_t cred, struct msg *msgptr, 161 mac_sysvmsq_check_msgrcv(kauth_cred_t cred, struct msg *msgptr) 174 mac_sysvmsq_check_msgrmid(kauth_cred_t cred, struct msg *msgptr) 187 mac_sysvmsq_check_msqget(kauth_cred_t cred, struct msqid_kernel *msqptr) 200 mac_sysvmsq_check_msqsnd(kauth_cred_t cred, struct msqid_kernel *msqptr) 213 mac_sysvmsq_check_msqrcv(kauth_cred_t cred, struct msqid_kernel *msqptr) 226 mac_sysvmsq_check_msqctl(kauth_cred_t cred, struct msqid_kernel *msqptr,
|
H A D | mac_process.c | 108 kauth_cred_t cr; 121 mac_cred_label_destroy(kauth_cred_t cred) 156 mac_cred_label_associate_fork(kauth_cred_t cred, proc_t proc) 166 mac_cred_label_associate_kernel(kauth_cred_t cred) 177 mac_cred_label_associate_user(kauth_cred_t cred) 246 mac_cred_label_update(kauth_cred_t cred, struct label *newlabel) 257 mac_cred_check_label_update(kauth_cred_t cred, struct label *newlabel) 270 mac_cred_check_visible(kauth_cred_t u1, kauth_cred_t u2) 298 kauth_cred_t cre [all...] |
H A D | mac_sysv_sem.c | 114 mac_sysvsem_label_associate(kauth_cred_t cred, struct semid_kernel *semakptr) 128 mac_sysvsem_check_semctl(kauth_cred_t cred, struct semid_kernel *semakptr, 142 mac_sysvsem_check_semget(kauth_cred_t cred, struct semid_kernel *semakptr) 155 mac_sysvsem_check_semop(kauth_cred_t cred, struct semid_kernel *semakptr,
|
H A D | mac_socket.c | 278 mac_socket_check_kqfilter(kauth_cred_t cred, struct knote *kn, 292 mac_socket_check_label_update(kauth_cred_t cred, struct socket *so, 307 mac_socket_check_select(kauth_cred_t cred, struct socket *so, int which) 320 mac_socket_check_stat(kauth_cred_t cred, struct socket *so) 334 mac_socket_label_update(kauth_cred_t cred, struct socket *so, struct label *label) 362 mac_setsockopt_label(kauth_cred_t cred, struct socket *so, struct mac *mac) 394 mac_socket_label_get(__unused kauth_cred_t cred, struct socket *so, 431 mac_socketpeer_label_get(__unused kauth_cred_t cred, struct socket *so, 469 mac_socket_check_accept(kauth_cred_t cred, struct socket *so) 482 mac_socket_check_accepted(kauth_cred_t cre [all...] |
H A D | mac_vfs.c | 360 kauth_cred_t cred; 403 kauth_cred_t cred; 417 mac_cred_label_update_execve(vfs_context_t ctx, kauth_cred_t new, struct vnode *vp, 420 kauth_cred_t cred; 440 kauth_cred_t cred; 457 kauth_cred_t cred; 475 kauth_cred_t cred; 491 kauth_cred_t cred; 507 kauth_cred_t cred; 523 kauth_cred_t cre [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_quota.h | 84 typedef struct ucred *kauth_cred_t; typedef in typeref:struct:ucred 87 int hfs_chkdq(struct cnode *, int64_t, kauth_cred_t, int); 88 int hfs_chkdqchg(struct cnode *, int64_t, kauth_cred_t, int); 89 int hfs_chkiq(struct cnode *, long, kauth_cred_t, int); 90 int hfs_chkiqchg(struct cnode *, long, kauth_cred_t, int);
|
H A D | hfs_attrlist.h | 86 kauth_cred_t cred, struct proc *p);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | quota.h | 87 typedef struct ucred *kauth_cred_t; typedef in typeref:struct:ucred 91 int chkdq(struct inode *, int64_t, kauth_cred_t, int); 92 int chkdqchg(struct inode *, int64_t, kauth_cred_t, int); 93 int chkiq(struct inode *, long, kauth_cred_t, int); 94 int chkiqchg(struct inode *, long, kauth_cred_t, int);
|
H A D | ufs_extern.h | 81 typedef struct ucred *kauth_cred_t; typedef in typeref:struct:ucred 91 int ufs_access_internal(vnode_t, mode_t, kauth_cred_t); 94 int ffs_write_internal(vnode_t, struct uio *, int, kauth_cred_t); 95 int ffs_truncate_internal(vnode_t, off_t, int, kauth_cred_t); 106 int ufs_checkpath(struct inode *, struct inode *, kauth_cred_t); 111 int ufs_dirempty(struct inode *, ino_t, kauth_cred_t);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | kauth.h | 181 // typedef struct ucred *kauth_cred_t; 190 extern kauth_cred_t kauth_cred_get(void); 191 extern kauth_cred_t kauth_cred_get_with_ref(void); 192 extern kauth_cred_t kauth_cred_proc_ref(proc_t procp); 193 extern kauth_cred_t kauth_cred_alloc(void); 194 extern kauth_cred_t kauth_cred_create(kauth_cred_t cred); 195 extern void kauth_cred_ref(kauth_cred_t _cred); 197 extern void kauth_cred_rele(kauth_cred_t _cred) __deprecated; 198 extern kauth_cred_t kauth_cred_du [all...] |
H A D | ucred.h | 116 typedef struct ucred *kauth_cred_t; typedef in typeref:struct:ucred 138 #define NOCRED ((kauth_cred_t )0) /* no credential available */ 139 #define FSCRED ((kauth_cred_t )-1) /* filesystem credential */ 146 int crcmp(kauth_cred_t cr1, kauth_cred_t cr2); 147 int suser(kauth_cred_t cred, u_short *acflag); 151 void cru2x(kauth_cred_t cr, struct xucred *xcr);
|
H A D | file.h | 82 typedef struct ucred *kauth_cred_t; typedef in typeref:struct:ucred 94 kauth_cred_t f_cred; /* credentials associated with descriptor */
|
H A D | buf_internal.h | 106 kauth_cred_t b_rcred; /* Read credentials reference. */ 107 kauth_cred_t b_wcred; /* Write credentials reference. */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/ |
H A D | ffs_extern.h | 99 typedef struct ucred *kauth_cred_t; typedef in typeref:struct:ucred 113 ufs_daddr_t, ufs_daddr_t, int, kauth_cred_t, ufs_daddr_t *); 115 ufs_daddr_t, int, kauth_cred_t, struct buf **, int, int *); 129 ufs_daddr_t, ufs_daddr_t, int, int, kauth_cred_t, struct buf **); 138 int ffs_valloc(vnode_t dvp, mode_t mode, kauth_cred_t cred, vnode_t *vpp);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | sysv_ipc.c | 80 ipcperm(kauth_cred_t cred, struct ipc_perm *perm, int mode)
|
H A D | kern_credential.c | 90 extern void kauth_cred_print(kauth_cred_t cred); 94 int is_target_cred( kauth_cred_t the_cred ); 172 static int kauth_cred_add(kauth_cred_t new_cred); 173 static void kauth_cred_remove(kauth_cred_t cred); 175 static u_long kauth_cred_get_hashkey(kauth_cred_t cred); 176 static kauth_cred_t kauth_cred_update(kauth_cred_t old_cred, kauth_cred_t new_cred, boolean_t retain_auditinfo); 177 static void kauth_cred_unref_hashlocked(kauth_cred_t *credp); 182 static void kauth_cred_print(kauth_cred_t cre [all...] |
H A D | kern_xxx.c | 97 kauth_cred_t my_cred;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs.h | 517 kauth_cred_t nxo_cred; /* mapped credential */ 824 kauth_cred_t r_cred; /* credential used for request */ 1001 kauth_cred_t nd_cr; /* Credentials */ 1045 int nfs_vinvalbuf2(vnode_t, int, thread_t, kauth_cred_t, int); 1047 int nfs_request_create(nfsnode_t, mount_t, struct nfsm_chain *, int, thread_t, kauth_cred_t, struct nfsreq **); 1056 int nfs_request2(nfsnode_t, mount_t, struct nfsm_chain *, int, thread_t, kauth_cred_t, int, struct nfsm_chain *, u_int64_t *, int *); 1057 int nfs_request_async(nfsnode_t, mount_t, struct nfsm_chain *, int, thread_t, kauth_cred_t, struct nfsreq_cbinfo *cb, struct nfsreq **); 1097 int nfs_write_rpc2(nfsnode_t, struct uio *, thread_t, kauth_cred_t, int *, uint64_t *); 1105 int nfs3_read_rpc_async(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struct nfsreq_cbinfo *, struct nfsreq **); 1106 int nfs4_read_rpc_async(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struc [all...] |
H A D | nfsmount.h | 121 int (*nf_read_rpc_async)(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struct nfsreq_cbinfo *, struct nfsreq **); 124 int (*nf_write_rpc_async)(nfsnode_t, struct uio *, size_t, thread_t, kauth_cred_t, int, struct nfsreq_cbinfo *, struct nfsreq **); 126 int (*nf_commit_rpc)(nfsnode_t, uint64_t, uint64_t, kauth_cred_t); 129 int (*nf_remove_rpc)(nfsnode_t, char *, int, thread_t, kauth_cred_t);
|