linux/include
Markus Metzger cba4b65d35 x86, ptrace: add buffer size checks
Pass the buffer size for (most) ptrace commands that pass user-allocated buffers and check that size before accessing the buffer. Unfortunately, PTRACE_BTS_GET already uses all 4 parameters.
Commands that access user buffers return the number of bytes or records read or written.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:32:03 +01:00
..
acpi x86: dummy placeholder for acpi/reboot.h 2008-01-30 13:31:17 +01:00
asm-alpha
asm-arm ext4: Add ext4_find_next_bit() 2008-01-28 23:58:27 -05:00
asm-avr32
asm-blackfin
asm-cris
asm-frv
asm-generic Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2008-01-29 22:46:14 +11:00
asm-h8300
asm-ia64 x86: voluntary leave_mm before entering ACPI C3 2008-01-30 13:32:01 +01:00
asm-m32r core: remove last users of empty FASTCALL macro 2008-01-30 13:31:17 +01:00
asm-m68k ext4: Add ext4_find_next_bit() 2008-01-28 23:58:27 -05:00
asm-m68knommu ext4: Add ext4_find_next_bit() 2008-01-28 23:58:27 -05:00
asm-mips [MIPS] Malta, Atlas: move an extern function declaration to the header file 2008-01-29 10:15:05 +00:00
asm-parisc
asm-powerpc powerpc: arch_has_single_step 2008-01-30 13:30:51 +01:00
asm-ppc
asm-s390 ext4: Add ext4_find_next_bit() 2008-01-28 23:58:27 -05:00
asm-sh
asm-sparc
asm-sparc64
asm-um uml: add asm-um/asm.h 2008-01-30 13:31:17 +01:00
asm-v850
asm-x86 x86, ptrace: add buffer size checks 2008-01-30 13:32:03 +01:00
asm-xtensa
crypto
keys
linux x86: x86 core dump TLS 2008-01-30 13:31:56 +01:00
math-emu
media
mtd
net [NET_SCHED]: act_api: use PTR_ERR in tcf_action_init/tcf_action_get 2008-01-28 15:11:17 -08:00
pcmcia
rdma
rxrpc
scsi
sound
video
xen
Kbuild