linux/arch
Eric W. Biederman 00fcd1ceab groups: Consolidate the setgroups permission checks
commit 7ff4d90b4c upstream.

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.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-08 10:00:49 -08:00
..
alpha alpha: fix broken network checksum 2014-01-31 09:21:55 -08:00
arc ARC: Disable caches in early boot if so configured 2014-11-14 08:59:56 -08:00
arm ARM: mvebu: fix ordering in Armada 370 .dtsi 2015-01-08 10:00:49 -08:00
arm64 arm64: Add COMPAT_HWCAP_LPAE 2015-01-08 10:00:49 -08:00
avr32 avr32: add generic vga.h to Kbuild 2014-02-17 11:24:48 +01:00
blackfin Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2014-01-31 09:31:14 -08:00
c6x Build fix for c6x 2014-03-07 09:52:46 -08:00
cris cris: convert ffs from an object-like macro to a function-like macro 2014-03-10 17:26:21 -07:00
frv Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2014-01-30 16:58:05 -08:00
hexagon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00
ia64 hugetlb: restrict hugepage_migration_support() to x86_64 2014-06-30 20:11:53 -07:00
m32r Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00
m68k m68k: Disable/restore interrupts in hwreg_present()/hwreg_write() 2014-10-30 09:38:21 -07:00
metag parisc,metag: Do not hardcode maximum userspace stack size 2014-07-17 16:21:03 -07:00
microblaze microblaze: Fix a typo when disabling stack protection 2014-02-10 07:44:11 +01:00
mips MIPS: Loongson: Make platform serial setup always built-in. 2014-12-06 15:55:33 -08:00
mn10300 Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2014-01-30 16:58:05 -08:00
openrisc OpenRISC updates for 3.14 2014-01-30 17:08:41 -08:00
parisc parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls 2014-11-21 09:23:03 -08:00
powerpc powerpc: 32 bit getcpu VDSO function uses 64 bit instructions 2014-12-16 09:34:28 -08:00
s390 groups: Consolidate the setgroups permission checks 2015-01-08 10:00:49 -08:00
score Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2014-01-31 09:31:14 -08:00
sh sh: fix sh770x SCIF memory regions 2014-11-14 09:00:07 -08:00
sparc sparc64: Fix constraints on swab helpers. 2014-12-06 15:55:33 -08:00
tile hugetlb: restrict hugepage_migration_support() to x86_64 2014-06-30 20:11:53 -07:00
um um: ubd: Fix for processes stuck in D state forever 2014-11-14 08:59:49 -08:00
unicore32 mm: per-thread vma caching 2014-10-09 12:21:29 -07:00
x86 x86/tls: Don't validate lm in set_thread_area() after all 2015-01-08 10:00:49 -08:00
xtensa xtensa: re-wire umount syscall to sys_oldumount 2014-11-21 09:23:01 -08:00
.gitignore
Kconfig stackprotector: Introduce CONFIG_CC_STACKPROTECTOR_STRONG 2013-12-20 09:38:40 +01:00