cperciva c009fddfd6 In revision 1.228, I accidentally broke the "total number of processes in
the system" resource limit code: When checking if the caller has superuser
privileges, we should be checking the *real* user, not the *effective*
user.  (In general, resource limiting is done based on the real user, in
order to avoid resource-exhaustion-by-setuid-program attacks.)

Now that a SUSER_RUID flag to suser_cred exists, use it here to return
this code to its correct behaviour.

Pointed out by:	rwatson
2004-07-26 07:54:39 +00:00
..
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-06-17 17:16:53 +00:00
2004-07-10 21:36:01 +00:00
2003-06-11 00:56:59 +00:00
2004-06-21 22:34:57 +00:00
2004-07-13 19:36:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 06:34:30 +00:00
2003-06-11 06:34:30 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-07-10 21:43:23 +00:00
2004-07-17 23:15:41 +00:00
2004-07-13 19:36:59 +00:00
2003-06-11 00:56:59 +00:00
2004-05-30 20:34:58 +00:00
2004-05-30 20:34:58 +00:00
2004-07-10 21:43:23 +00:00
2004-06-17 17:16:53 +00:00
2004-05-30 20:34:58 +00:00