Subject: setreuid semantics changed
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: None <Mark_Weaver@brown.edu>
List: current-users
Date: 04/08/1994 02:23:56
The recent change in semantics of setreuid has broken suidperl, and
will probably break lots of other things.

It seems that "setreuid" only sets the euid, and not the ruid anymore.
Even more to my surprise, comments in the source indicate that this is
intentional.

I *very* strongly believe that this change is a bad thing.  What
happens to the countless programs that do "setreuid(geteuid(), getuid());"
before and after a critical section?  It's a nightmare.

I beg the NetBSD team to reconsider this.

	Mark
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science

------------------------------------------------------------------------------