> I am trying to check that a process (struct proc) has root > powers when it calls my KLD system call. Don't you get a 'struct thread *' as an argument to your system call entry point? The 'flag' argument to suser_cred(9) is documented in its manual page. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy