Hi I have a user process that runs as uid root. It calls seteuid/setegid to temporarily drop privileges. geteuid and geteuid report the correct euid and egid.
But in the kernel, on a system call, kauth_cred_geteuid(l->l_cred) and kauth_cred_getegid(l->l_cred) still give me 0 for euid and egid. I assume I am missing sothing obvious for anyone knowledgable. Is it obvious for anyone? -- Emmanuel Dreyfus m...@netbsd.org