Peter Wemm
b67cbc6548
Implement code for an OpenBSD-style issetuigid().
...
This is valueable for library code which needs to be able to find out
whether the current process is or *was* set[ug]id at some point in the
past, and may have a "tainted" execution environment. This is especially
a problem with the trend to immediately revoke privs at startup and regain
them for critical sections. One problem with this is that if a cracker
is able to compromise the program while it's still got a saved id, the
cracker can direct the program to regain the privs. Another problem is
that the user may be able to affect the program in some other way (eg:
setting resolver host aliases) and the library code needs to know when it
should disable these sorts of features.
Reviewed by: ache
Inspired by: OpenBSD (but with a different implementation)
1997-03-31 15:13:33 +00:00
..
1997-02-22 09:48:43 +00:00
1997-03-23 03:37:54 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-22 06:53:45 +00:00
1997-03-31 14:55:05 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 11:25:10 +00:00
1997-03-22 20:34:21 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-31 11:11:26 +00:00
1997-03-24 11:25:10 +00:00
1997-02-22 09:48:43 +00:00
1997-03-23 03:37:54 +00:00
1997-03-24 11:25:10 +00:00
1997-03-25 17:11:30 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-04 18:31:56 +00:00
1996-12-30 18:26:28 +00:00
1997-02-28 10:14:24 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 11:25:10 +00:00
1997-03-31 15:13:33 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-23 03:37:54 +00:00
1997-02-22 09:48:43 +00:00
1997-02-27 18:03:48 +00:00
1997-02-22 09:48:43 +00:00
1997-03-22 20:34:21 +00:00
1997-03-22 08:03:51 +00:00
1997-03-22 20:34:21 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1996-03-31 18:53:43 +00:00
1997-03-29 11:11:18 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 11:25:10 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 11:25:10 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 11:52:29 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 11:52:29 +00:00
1997-03-24 11:52:29 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 11:52:29 +00:00
1997-03-31 14:55:05 +00:00
1997-03-31 14:52:50 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 12:03:06 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 12:03:06 +00:00
1997-03-24 11:37:53 +00:00
1997-03-24 11:25:10 +00:00
1997-02-22 09:48:43 +00:00
1997-03-24 11:25:10 +00:00
1997-03-24 12:03:06 +00:00
1997-02-22 09:48:43 +00:00
1997-02-24 20:30:58 +00:00
1997-02-24 20:30:58 +00:00
1997-03-31 12:30:01 +00:00
1997-03-31 12:30:01 +00:00
1997-03-23 03:37:54 +00:00
1997-03-31 12:30:01 +00:00
1997-03-23 03:37:54 +00:00
1997-02-22 09:48:43 +00:00
1997-03-08 15:22:14 +00:00
1997-03-07 14:40:54 +00:00
1997-02-22 09:48:43 +00:00
1997-03-05 04:54:54 +00:00
1997-03-31 12:21:37 +00:00
1997-03-02 11:06:22 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-03-05 04:54:54 +00:00
1997-03-31 12:21:37 +00:00
1997-03-24 11:52:29 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-02-10 02:22:35 +00:00