linux/arch/um/kernel
Dan Carpenter 201f99f170 uml: check length in exitcode_proc_write()
We don't cap the size of buffer from the user so we could write past the
end of the array here.  Only root can write to this file.

Reported-by: Nico Golde <nico@ngolde.de>
Reported-by: Fabian Yamaguchi <fabs@goesec.de>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-10-30 12:24:49 -07:00
..
skas um: Mark stub pages mapping with VM_PFNMAP 2013-07-19 10:45:17 +02:00
asm-offsets.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
config.c.in um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
dyn.lds.S UML: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00
early_printk.c early_printk: consolidate random copies of identical code 2013-04-29 18:28:13 -07:00
exec.c um: get_safe_registers() should be done in flush_thread(), not start_thread() 2012-11-28 21:46:03 -05:00
exitcode.c uml: check length in exitcode_proc_write() 2013-10-30 12:24:49 -07:00
gmon_syms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
gprof_syms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
initrd.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
irq.c um: Add irq chip um/mask handlers 2013-09-07 10:57:19 +02:00
ksyms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
maccess.c um: Implement probe_kernel_read() 2013-09-07 10:38:34 +02:00
Makefile um: Implement probe_kernel_read() 2013-09-07 10:38:34 +02:00
mem.c mm/um: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
physmem.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
process.c um: Use generic idle loop 2013-04-17 10:39:38 +02:00
ptrace.c um: split syscall_trace(), pass pt_regs to it 2012-08-02 00:25:38 +02:00
reboot.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
sigio.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
signal.c um: siginfo cleanup 2013-07-19 11:31:36 +02:00
smp.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
syscall.c x86, um: switch to generic fork/vfork/clone 2012-11-28 22:13:44 -05:00
sysrq.c sched: Rename sched.c as sched/core.c in comments and Documentation 2013-06-19 12:58:42 +02:00
time.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
tlb.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
trap.c arch: mm: pass userspace fault flag to generic fault handler 2013-09-12 15:38:01 -07:00
um_arch.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
umid.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
uml.lds.S UML: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00
vmlinux.lds.S arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0 2009-09-20 12:28:22 +02:00