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-17 14:45:48 +02:00
2014-10-09 09:14:13 +02:00
2014-10-09 09:14:13 +02:00
2014-05-20 08:58:40 +02:00
2013-11-13 12:09:05 +09:00
2014-10-09 09:14:13 +02:00
2014-10-17 14:45:48 +02:00
2014-10-09 09:14:13 +02:00
2014-10-17 14:45:51 +02:00