Re: A few questions...
- From: John-Mark Gurney <gurney_j@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 24 Jul 2007 11:43:55 -0700
Daniel Molina Wegener wrote this message on Mon, Jul 23, 2007 at 20:52 -0400:
a) Is there any function or variable that tells me which is the
root user UID in the system, or root always have 0 and it's
an "elegant" option to compare the variables or structure
members against zero.
#include <sys/conf.h>
uid == UID_ROOT
b) Can normal users look for system processes or kernel threads?
Yes, ps does this...
c) Can root look for system processes or kernel threads?
Yes, ps does this...
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: A few questions...
- From: Victor Loureiro Lima
- Re: A few questions...
- References:
- A few questions...
- From: Daniel Molina Wegener
- A few questions...
- Prev by Date: Re: A few questions...
- Next by Date: Re: A few questions...
- Previous by thread: Re: A few questions...
- Next by thread: Re: A few questions...
- Index(es):