Re: One process with multiple user ids.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <gogi-k@...>
Cc: <linux-kernel@...>
Date: Tuesday, October 2, 2007 - 6:38 pm

Giuliano Gagliardi wrote:
Changing to a limited set of IDs is interesting, I have never looked at 
what happens when a thread does setuid, and neither the man page or a 
very quick look at the code tells me. But the portable way is to do the 
things needed for init, then fork into three processes and give each a 
UID as needed. I would really evaluate the design which made this 
necessary, to see if some IPC could be used. Certainly that's more 
likely to be portable.

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
One process with multiple user ids., Giuliano Gagliardi, (Tue Oct 2, 6:56 am)
Re: One process with multiple user ids., Bill Davidsen, (Tue Oct 2, 6:38 pm)
Re: One process with multiple user ids., David Newall, (Tue Oct 2, 6:23 pm)
Re: One process with multiple user ids., Chris Snook, (Tue Oct 2, 1:11 pm)
Re: One process with multiple user ids., Jan Engelhardt, (Tue Oct 2, 7:23 am)
Re: One process with multiple user ids., Giuliano Gagliardi, (Tue Oct 2, 7:34 am)
Re: One process with multiple user ids., Helge Hafting, (Mon Oct 8, 6:15 am)
Re: One process with multiple user ids., Mark Lord, (Tue Oct 2, 9:23 am)