Lines Matching defs:retval
156 setprivexec(proc_t p, struct setprivexec_args *uap, int32_t *retval)
159 *retval = p->p_debugger;
177 getpid(proc_t p, __unused struct getpid_args *uap, int32_t *retval)
180 *retval = p->p_pid;
197 getppid(proc_t p, __unused struct getppid_args *uap, int32_t *retval)
200 *retval = p->p_ppid;
217 getpgrp(proc_t p, __unused struct getpgrp_args *uap, int32_t *retval)
220 *retval = p->p_pgrpid;
242 getpgid(proc_t p, struct getpgid_args *uap, int32_t *retval)
255 *retval = pt->p_pgrpid;
279 getsid(proc_t p, struct getsid_args *uap, int32_t *retval)
294 *retval = sessp->s_sid;
313 getuid(__unused proc_t p, __unused struct getuid_args *uap, int32_t *retval)
316 *retval = kauth_getruid();
331 geteuid(__unused proc_t p, __unused struct geteuid_args *uap, int32_t *retval)
334 *retval = kauth_getuid();
351 gettid(__unused proc_t p, struct gettid_args *uap, int32_t *retval)
368 *retval = 0;
383 getgid(__unused proc_t p, __unused struct getgid_args *uap, int32_t *retval)
386 *retval = kauth_getrgid();
407 getegid(__unused proc_t p, __unused struct getegid_args *uap, int32_t *retval)
410 *retval = kauth_getgid();
446 getgroups(__unused proc_t p, struct getgroups_args *uap, int32_t *retval)
458 *retval = pcred->cr_ngroups;
474 *retval = ngrp;
487 getsgroups(__unused proc_t p, __unused struct getsgroups_args *uap, __unused int32_t *retval)
500 getwgroups(__unused proc_t p, __unused struct getwgroups_args *uap, __unused int32_t *retval)
531 setsid(proc_t p, __unused struct setsid_args *uap, int32_t *retval)
542 *retval = p->p_pid;
586 setpgid(proc_t curp, register struct setpgid_args *uap, __unused int32_t *retval)
676 issetugid(proc_t p, __unused struct issetugid_args *uap, int32_t *retval)
687 *retval = (p->p_flag & P_SUGID) ? 1 : 0;
713 setuid(proc_t p, struct setuid_args *uap, __unused int32_t *retval)
833 seteuid(proc_t p, struct seteuid_args *uap, __unused int32_t *retval)
935 setreuid(proc_t p, struct setreuid_args *uap, __unused int32_t *retval)
1076 setgid(proc_t p, struct setgid_args *uap, __unused int32_t *retval)
1178 setegid(proc_t p, struct setegid_args *uap, __unused int32_t *retval)
1282 setregid(proc_t p, struct setregid_args *uap, __unused int32_t *retval)
1397 settid(proc_t p, struct settid_args *uap, __unused int32_t *retval)
1469 settid_with_pid(proc_t p, struct settid_with_pid_args *uap, __unused int32_t *retval)
1591 setgroups1(proc_t p, u_int gidsetsize, user_addr_t gidset, uid_t gmuid, __unused int32_t *retval)
1728 initgroups(proc_t p, struct initgroups_args *uap, __unused int32_t *retval)
1732 return(setgroups1(p, uap->gidsetsize, uap->gidset, uap->gmuid, retval));
1762 setgroups(proc_t p, struct setgroups_args *uap, __unused int32_t *retval)
1766 return(setgroups1(p, uap->gidsetsize, uap->gidset, KAUTH_UID_NONE, retval));
1778 setsgroups(__unused proc_t p, __unused struct setsgroups_args *uap, __unused int32_t *retval)
1791 setwgroups(__unused proc_t p, __unused struct setwgroups_args *uap, __unused int32_t *retval)
1909 getlogin(proc_t p, struct getlogin_args *uap, __unused int32_t *retval)
1949 setlogin(proc_t p, struct setlogin_args *uap, __unused int32_t *retval)
2086 setlcid(proc_t p0, struct setlcid_args *uap, __unused int32_t *retval)
2192 getlcid(proc_t p0, struct getlcid_args *uap, int32_t *retval)
2219 *retval = p->p_lctx->lc_id;
2229 setlcid(proc_t p0, struct setlcid_args *uap, int32_t *retval)
2236 getlcid(proc_t p0, struct getlcid_args *uap, int32_t *retval)