Eric W. Biederman
7ff4d90b4c
groups: Consolidate the setgroups permission checks
...
Today there are 3 instances of setgroups and due to an oversight their
permission checking has diverged. Add a common function so that
they may all share the same permission checking code.
This corrects the current oversight in the current permission checks
and adds a helper to avoid this in the future.
A user namespace security fix will update this new helper, shortly.
Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2014-12-05 17:19:27 -06:00
..
2014-10-27 13:27:02 +01:00
2014-10-27 13:27:02 +01:00
2012-05-16 14:42:41 +02:00
2014-10-09 09:14:03 +02:00
2012-07-20 11:15:04 +02:00
2014-03-20 13:43:41 +01:00
2014-12-05 17:19:27 -06:00
2014-10-09 09:14:13 +02:00
2014-10-09 09:14:13 +02:00
2014-10-17 14:45:48 +02:00
2012-07-20 11:15:04 +02:00
2014-10-09 09:14:16 +02:00
2013-10-28 08:36:25 +01:00
2014-10-09 09:14:15 +02:00
2014-04-11 13:53:27 +02:00
2014-10-09 09:14:13 +02:00
2012-07-20 11:15:04 +02:00
2014-09-25 10:52:17 +02:00
2014-10-09 09:14:13 +02:00
2014-06-04 08:47:12 -07:00
2014-10-28 09:24:12 +01:00
2014-05-20 08:58:40 +02:00
2014-02-05 11:00:50 +01:00
2012-10-18 17:50:09 +02:00
2014-09-25 10:52:06 +02:00
2014-10-15 07:48:18 +02:00
2014-09-01 09:56:29 +02:00
2014-10-09 09:14:02 +02:00
2011-10-25 11:54:37 -07:00
2014-10-15 07:48:18 +02:00
2012-09-26 15:45:12 +02:00
2014-10-09 09:14:16 +02:00
2014-10-09 09:14:18 +02:00
2014-10-09 09:14:20 +02:00
2013-11-13 12:09:05 +09:00
2014-10-15 07:48:18 +02:00
2013-04-29 15:42:01 -04:00
2013-12-16 14:37:50 +01:00
2014-08-26 13:45:52 -04:00
2014-10-28 10:51:01 +01:00
2014-03-14 12:59:32 +01:00
2014-10-09 09:14:13 +02:00
2014-10-09 09:14:03 +02:00
2014-10-15 07:48:18 +02:00
2014-10-19 16:25:56 -07:00
2012-07-20 11:15:04 +02:00
2012-07-20 11:15:04 +02:00
2012-07-20 11:15:04 +02:00
2012-07-20 11:15:04 +02:00
2014-04-03 14:30:52 +02:00
2013-12-16 14:38:04 +01:00
2014-04-03 14:30:52 +02:00
2014-10-09 09:14:13 +02:00
2014-10-09 09:14:13 +02:00
2014-10-09 09:14:16 +02:00
2012-07-20 11:15:04 +02:00
2014-10-09 22:26:04 -04:00
2013-08-30 08:57:15 +02:00
2013-03-03 22:46:22 -05:00
2014-10-17 14:45:48 +02:00
2013-07-14 19:36:53 -04:00
2014-10-15 07:48:18 +02:00
2014-09-26 12:22:39 +02:00
2014-10-09 09:14:13 +02:00
2014-10-17 14:45:51 +02:00
2014-08-08 15:57:27 -07:00
2013-02-14 15:55:21 +01:00
2014-10-27 13:27:01 +01:00