android_kernel_samsung_msm8976/arch/s390
Eric W. Biederman 4accc8c8e2 groups: Consolidate the setgroups permission checks
commit 7ff4d90b4c24a03666f296c3d4878cd39001e81e 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 09:58:16 -08:00
..
appldata arch: s390: appldata: using strncpy() and strnlen() instead of sprintf() 2013-05-28 10:35:28 +02:00
boot s390: fix linker script for 31 bit builds 2012-10-18 17:50:10 +02:00
crypto crypto: s390 - fix aes,des ctr mode concurrency finding. 2014-06-07 13:25:40 -07:00
hypfs aio: don't include aio.h in sched.h 2013-05-07 20:16:25 -07:00
include s390/lowcore: reserve 96 bytes for IRB in lowcore 2014-06-30 20:09:42 -07:00
kernel groups: Consolidate the setgroups permission checks 2015-01-08 09:58:16 -08:00
kvm KVM: s390: unintended fallthrough for external call 2014-10-30 09:35:09 -07:00
lib s390/uaccess: add missing page table walk range check 2013-12-04 10:57:16 -08:00
math-emu s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
mm arch: mm: pass userspace fault flag to generic fault handler 2014-11-21 09:22:56 -08:00
net s390/bpf,jit: initialize A register if 1st insn is BPF_S_LDX_B_MSH 2014-05-13 13:59:42 +02:00
oprofile s390: add support for IBM zBC12 machine 2013-08-11 18:35:25 -07:00
pci s390/pci: Implement IRQ functions if !PCI 2013-06-10 16:06:04 +02:00
defconfig s390: update defconfig 2012-09-26 15:45:29 +02:00
Kbuild s390/pci: base support 2012-11-30 15:40:45 +01:00
Kconfig futex: Allow architectures to skip futex_atomic_cmpxchg_inatomic() test 2014-04-14 06:42:19 -07:00
Kconfig.debug Kconfig: consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECKS 2013-04-30 17:04:09 -07:00
Makefile s390: remove small stack config option 2013-04-26 09:07:08 +02:00