Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Listening on system-restricted ports



Robert Casties <email@hidden> wrote:

>Changing the EUID is not a trivial thing for a mutlithreaded VM to do
>correctly...

Can you explain why it's non-trivial, because it seems dead simple to me.
The euid applies to the entire process, but so do many other things, such
as current directory or the file-descriptor limit.

Of course, if you assume that euid only applies to the current thread, then
yes, that's fiendishly difficult to do.  But the problem there is that the
assumption is faulty, not that setuid() or seteuid() are intrinsically
difficult to perform.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.