Subject: Re: commoning up code that changes uids and gids
To: David Laight <david@l8s.co.uk>
From: Noriyuki Soda <soda@sra.co.jp>
List: tech-kern
Date: 03/04/2003 18:52:08
>>>>> On Tue, 4 Mar 2003 09:20:31 +0000, David Laight <david@l8s.co.uk> said:

>> please don't add these unless you really really really really need to.

> On what basis?

Because using setreuid(2) is just wrong.
Such code should be rewritten by using saved UID feature.
--
soda