> 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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to