site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On May 11, 2006, at 9:28 PM, Russell Seehafer (RIT Student) wrote: Hi, Thanks! Russ HTH. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEZAFTedHYW7bHtqIRAv2XAJ9Gny13NuUFYFNx0BSHsLXXC8NshQCg1mrF /VozuSFlTTBia/GT0p26xis= =4446 -----END PGP SIGNATURE----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I have a nke that keeps track of its associated user space clients based on the value returned from kauth_getuid() I have run into some instances where this call returns 0. I cannot find any documentation on this method does anyone have any idea what could be causing this call to return 0? My understanding is that if a packet is being transmitted by safari, for example, that kauth_getuid() would return the user's id of the user that is running safari. Is there more I should consider when using this method? 0 is a valid UID. It is the UID of the root user. 0 could also be returned because there is no current task at the point you call kauth_getuid() so you are getting the root user by default (ie the kernel task). This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand