Colin Percival
66d5c640fa
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
..
2004-07-18 16:30:31 +00:00
2004-07-11 16:17:42 +00:00
2004-06-05 02:18:28 +00:00
2004-07-18 20:28:07 +00:00
2004-07-12 08:14:09 +00:00
2004-07-13 19:36:59 +00:00
2004-06-17 17:16:53 +00:00
2004-07-26 07:24:04 +00:00
2004-07-10 21:36:01 +00:00
2004-06-28 18:57:06 +00:00
2004-07-11 19:26:43 +00:00
2004-07-22 20:40:23 +00:00
2004-07-22 20:40:23 +00:00
2004-07-26 07:24:04 +00:00
2004-07-18 23:36:13 +00:00
2004-07-26 07:54:39 +00:00
2004-07-25 19:49:01 +00:00
2004-07-02 20:21:44 +00:00
2004-06-27 09:03:22 +00:00
2004-07-18 23:36:13 +00:00
2004-07-23 17:41:44 +00:00
2004-07-26 07:24:04 +00:00
2004-07-13 19:36:59 +00:00
2004-07-23 20:12:56 +00:00
2004-07-15 08:26:07 +00:00
2004-07-19 06:21:27 +00:00
2004-06-01 16:17:10 +00:00
2004-07-15 08:26:07 +00:00
2004-07-20 02:15:10 +00:00
2004-06-16 09:47:26 +00:00
2004-07-03 02:38:03 +00:00
2004-06-20 22:17:22 +00:00
2004-07-26 07:24:04 +00:00
2004-07-26 07:24:04 +00:00
2004-06-14 18:19:05 +00:00
2004-07-21 16:04:46 +00:00
2004-07-16 21:00:50 +00:00
2004-07-10 15:42:16 +00:00
2004-07-23 19:59:16 +00:00
2004-07-16 21:04:55 +00:00
2004-07-15 08:26:07 +00:00
2004-07-26 07:24:04 +00:00
2004-07-18 23:36:13 +00:00
2004-07-18 23:36:13 +00:00
2004-06-21 22:34:57 +00:00
2004-07-12 15:28:31 +00:00
2004-07-26 07:24:04 +00:00
2004-07-13 19:36:59 +00:00
2004-07-13 19:36:59 +00:00
2004-07-23 23:09:00 +00:00
2004-07-23 23:09:00 +00:00
2004-07-26 07:24:04 +00:00
2004-06-04 04:03:26 +00:00
2004-07-18 16:30:31 +00:00
2004-07-15 20:47:41 +00:00
2004-06-16 09:47:26 +00:00
2004-07-21 04:49:48 +00:00
2004-06-16 09:47:26 +00:00
2004-07-10 21:43:23 +00:00
2004-07-16 21:04:55 +00:00
2004-07-01 16:22:10 +00:00
2004-07-09 11:37:44 +00:00
2004-07-02 19:09:50 +00:00
2004-06-28 16:28:23 +00:00
2004-07-16 21:04:55 +00:00
2004-07-25 23:32:32 +00:00
2004-07-25 20:16:51 +00:00
2004-07-10 15:42:16 +00:00
2004-07-23 14:11:04 +00:00
2004-07-17 23:15:41 +00:00
2004-07-22 20:40:23 +00:00
2004-07-13 19:36:59 +00:00
2004-07-13 19:35:11 +00:00
2004-05-30 20:34:58 +00:00
2004-05-30 20:34:58 +00:00
2004-07-09 05:28:38 +00:00
2004-06-21 22:57:16 +00:00
2004-07-15 20:47:41 +00:00
2004-07-10 21:43:23 +00:00
2004-07-15 20:47:41 +00:00
2004-07-15 20:47:41 +00:00
2004-06-17 17:16:53 +00:00
2004-07-15 20:47:41 +00:00
2004-06-01 04:08:48 +00:00
2004-07-23 19:36:18 +00:00
2004-07-21 07:12:24 +00:00
2004-07-21 21:03:01 +00:00
2004-05-30 20:34:58 +00:00
2004-06-26 19:10:39 +00:00
2004-06-26 19:10:39 +00:00
2004-07-25 23:29:47 +00:00
2004-07-17 21:06:36 +00:00
2004-07-25 23:30:43 +00:00
2004-07-26 07:24:04 +00:00
2004-06-17 22:48:11 +00:00
2004-07-25 21:24:23 +00:00
2004-07-25 21:24:23 +00:00
2004-07-12 08:14:09 +00:00
2004-07-12 08:14:09 +00:00
2004-07-26 07:24:04 +00:00
2004-07-15 08:26:07 +00:00
2004-07-12 08:14:09 +00:00
2004-07-13 19:36:59 +00:00
2004-07-26 07:24:04 +00:00
2004-07-26 07:24:04 +00:00
2004-07-22 20:40:23 +00:00