/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/ |
H A D | bsd-getpeereid.c | 30 struct ucred cred; 43 # include <ucred.h> 49 ucred_t *ucred = NULL; local 51 if (getpeerucred(s, &ucred) == -1) 53 if ((*euid = ucred_geteuid(ucred)) == -1) 55 if ((*gid = ucred_getrgid(ucred)) == -1) 58 ucred_free(ucred);
|
/macosx-10.9.5/xnu-2422.115.4/security/ |
H A D | mac_file.c | 79 mac_file_label_associate(struct ucred *cred, struct fileglob *fg) 94 mac_file_check_create(struct ucred *cred) 103 mac_file_check_dup(struct ucred *cred, struct fileglob *fg, int newfd) 112 mac_file_check_fcntl(struct ucred *cred, struct fileglob *fg, int cmd, 122 mac_file_check_ioctl(struct ucred *cred, struct fileglob *fg, u_int cmd) 131 mac_file_check_inherit(struct ucred *cred, struct fileglob *fg) 140 mac_file_check_receive(struct ucred *cred, struct fileglob *fg) 149 mac_file_check_get_offset(struct ucred *cred, struct fileglob *fg) 158 mac_file_check_change_offset(struct ucred *cred, struct fileglob *fg) 167 mac_file_check_get(struct ucred *cre [all...] |
H A D | mac_sysv_shm.c | 116 mac_sysvshm_label_associate(struct ucred *cred, struct shmid_kernel *shmsegptr) 130 mac_sysvshm_check_shmat(struct ucred *cred, struct shmid_kernel *shmsegptr, 145 mac_sysvshm_check_shmctl(struct ucred *cred, struct shmid_kernel *shmsegptr, 160 mac_sysvshm_check_shmdt(struct ucred *cred, struct shmid_kernel *shmsegptr) 173 mac_sysvshm_check_shmget(struct ucred *cred, struct shmid_kernel *shmsegptr,
|
H A D | mac_audit.c | 83 mac_system_check_audit(struct ucred *cred, void *record, int length) 93 mac_system_check_auditon(struct ucred *cred, int cmd) 103 mac_system_check_auditctl(struct ucred *cred, struct vnode *vp) 240 mac_audit_check_preselect(struct ucred *cred, unsigned short syscode, void *args) 277 mac_audit_check_postselect(struct ucred *cred, unsigned short syscode, 328 mac_system_check_audit(__unused struct ucred *cred, __unused void *record, __unused int length) 335 mac_system_check_auditon(__unused struct ucred *cred, __unused int cmd) 342 mac_system_check_auditctl(__unused struct ucred *cred, __unused struct vnode *vp) 378 mac_audit_check_preselect(__unused struct ucred *cred, __unused unsigned short syscode, 386 mac_audit_check_postselect(__unused struct ucred *cre [all...] |
H A D | mac_process.c | 67 #include <sys/ucred.h> 95 mac_cred_label_init(struct ucred *cred) 197 mac_cred_label_associate(struct ucred *parent_cred, struct ucred *child_cred) 347 mac_proc_check_get_task_name(struct ucred *cred, struct proc *p) 357 mac_proc_check_get_task(struct ucred *cred, struct proc *p)
|
/macosx-10.9.5/ntfs-83/kext/ |
H A D | ntfs_vnops.h | 42 #include <sys/ucred.h>
|
H A D | ntfs_secure.h | 43 #include <sys/ucred.h>
|
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/ |
H A D | file.h | 82 struct ucred; 83 typedef struct ucred *kauth_cred_t;
|
H A D | ucred.h | 61 * @(#)ucred.h 8.4 (Berkeley) 1/9/95 89 struct ucred { struct 90 TAILQ_ENTRY(ucred) cr_link; /* never modify this without KAUTH_CRED_HASH_LOCK */ 118 typedef struct ucred *kauth_cred_t; 130 * This is the external representation of struct ucred.
|
H A D | kernel_types.h | 54 struct ucred; 55 typedef struct ucred * ucred_t; 105 typedef struct ucred * ucred_t;
|
H A D | ipc.h | 180 struct ucred; 182 int ipcperm(struct ucred *, struct ipc_perm *, int);
|
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/ |
H A D | getpeereid.c | 32 #include <sys/ucred.h>
|
H A D | getmntinfo.c | 37 #include <sys/ucred.h>
|
H A D | getmntinfo64.c | 37 #include <sys/ucred.h>
|
/macosx-10.9.5/Heimdal-323.92.1/kcm/ |
H A D | headers.h | 65 #include <sys/ucred.h> 74 #include <ucred.h>
|
/macosx-10.9.5/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_quota.h | 83 struct ucred; 84 typedef struct ucred *kauth_cred_t;
|
/macosx-10.9.5/cddafs-252/ |
H A D | AppleCDDAFileSystemVFSOps.h | 41 #include <sys/ucred.h>
|
/macosx-10.9.5/Librpcsvc-23/ |
H A D | bootparam_prot.x | 46 %#include <sys/ucred.h>
|
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/liblutil/ |
H A D | getpeereid.c | 18 #define _GNU_SOURCE 1 /* Needed for glibc struct ucred */ 32 #include <ucred.h> 47 #include <sys/ucred.h> 69 struct ucred peercred;
|
/macosx-10.9.5/Heimdal-323.92.1/lib/ipc/ |
H A D | hi_locl.h | 57 #include <ucred.h>
|
/macosx-10.9.5/NFS-81/nfsiod/ |
H A D | nfsiod.c | 62 #include <sys/ucred.h>
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | sysv_ipc.c | 64 #include <sys/ucred.h>
|
H A D | kern_resource.c | 439 kauth_cred_t ucred; local 442 ucred = kauth_cred_proc_ref(curp); 445 if (suser(ucred, NULL) && kauth_cred_getruid(ucred) && 446 kauth_cred_getuid(ucred) != kauth_cred_getuid(my_cred) && 447 kauth_cred_getruid(ucred) != kauth_cred_getuid(my_cred)) { 455 if (n < chgp->p_nice && suser(ucred, &curp->p_acflag)) { 469 kauth_cred_unref(&ucred); 479 kauth_cred_t ucred, target_cred; local 481 ucred 507 kauth_cred_t ucred; local [all...] |
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/i386/ |
H A D | stubs.c | 40 #include <sys/ucred.h>
|
/macosx-10.9.5/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_cache.c | 912 kauth_cred_t ucred; local 942 ucred = vfs_context_ucred(ctx); 946 if (vp->v_cred == ucred && (vp->v_authorized_actions & action) == action) 958 kauth_cred_t ucred; local 962 ucred = vfs_context_ucred(ctx); 964 if (!IS_VALID_CRED(ucred) || action == 0) 990 if (vp->v_cred != ucred) { 991 kauth_cred_ref(ucred); 996 vp->v_cred = ucred; 1050 kauth_cred_t ucred; local [all...] |