Subject: Re: commoning up code that changes uids and gids
To: David Laight <>
From: Noriyuki Soda <>
List: tech-kern
Date: 03/04/2003 18:52:08
>>>>> On Tue, 4 Mar 2003 09:20:31 +0000, David Laight <> 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.