Re: A few questions...

看板FB_hackers作者時間18年前 (2007/07/25 02:44), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/11 (看更多)
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16faYG00 (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #16faYG00 (FB_hackers)