Searched refs:pcred (Results 1 – 7 of 7) sorted by relevance
3829 .cr_posix = *pcred, in posix_cred_create_internal()3861 pcred->cr_gmuid = pcred->cr_uid; in posix_cred_create_internal()4018 pcred->cr_uid = euid; in kauth_cred_model_setresuid()4023 pcred->cr_ruid = ruid; in kauth_cred_model_setresuid()4082 pcred->cr_rgid = rgid; in kauth_cred_model_setresgid()4179 posix_cred_t pcred; in kauth_cred_getgroups() local4273 pcred.cr_gmuid = uid; in kauth_cred_model_setuidgid()4479 if ((pcred->cr_ruid == pcred->cr_uid) && in kauth_cred_copy_real()4480 (pcred->cr_rgid == pcred->cr_gid)) { in kauth_cred_copy_real()4484 pcred->cr_uid = pcred->cr_ruid; in kauth_cred_copy_real()[all …]
424 posix_cred_t pcred; in getgroups() local428 pcred = posix_cred_get(cred); in getgroups()431 *retval = pcred->cr_ngroups; in getgroups()435 if (ngrp < pcred->cr_ngroups) { in getgroups()439 ngrp = pcred->cr_ngroups; in getgroups()440 if ((error = copyout((caddr_t)pcred->cr_groups, in getgroups()
6946 posix_cred_t pcred = posix_cred_get(model); in exec_handle_sugid()6948 if (pcred->cr_svuid == pcred->cr_uid && in exec_handle_sugid()6949 pcred->cr_svgid == pcred->cr_gid) { in exec_handle_sugid()6953 pcred->cr_svuid = pcred->cr_uid; in exec_handle_sugid()6954 pcred->cr_svgid = pcred->cr_gid; in exec_handle_sugid()
279 posix_cred_t pcred = posix_cred_get(cred); in mac_cred_label_update() local282 pcred->cr_flags |= CRF_MAC_ENFORCE; in mac_cred_label_update()
784 posix_cred_t pcred = posix_cred_get(new); in mac_cred_label_update_execve() local794 pcred->cr_flags |= CRF_MAC_ENFORCE; in mac_cred_label_update_execve()
3919 kauth_cred_t pcred,
485 extern kauth_cred_t posix_cred_create(posix_cred_t pcred);