kernel-ark/arch/mips/kernel
Eric W. Biederman a928972864 [PATCH] Don't uselessly export task_struct to userspace in core dumps
task_struct is an internal structure to the kernel with a lot of good
information, that is probably interesting in core dumps.  However there is
no way for user space to know what format that information is in making it
useless.

I grepped the GDB 6.3 source code and NT_TASKSTRUCT while defined is not
used anywhere else.  So I would be surprised if anyone notices it is
missing.

In addition exporting kernel pointers to all the interesting kernel data
structures sounds like the very definition of an information leak.  I
haven't a clue what someone with evil intentions could do with that
information, but in any attack against the kernel it looks like this is the
perfect tool for aiming that attack.

So since NT_TASKSTRUCT is useless as currently defined and is potentially
dangerous, let's just not export it.

(akpm: Daniel Jacobowitz <dan@debian.org> "would be amazed" if anything was
using NT_TASKSTRUCT).

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:18 -08:00
..
asm-offsets.c Support the MIPS32 / MIPS64 DSP ASE. 2005-10-29 19:31:17 +01:00
binfmt_elfn32.c Signed-off-by: Ralf Baechle <ralf@linux-mips.org> 2005-10-29 19:30:19 +01:00
binfmt_elfo32.c Signed-off-by: Ralf Baechle <ralf@linux-mips.org> 2005-10-29 19:30:19 +01:00
branch.c Support the MIPS32 / MIPS64 DSP ASE. 2005-10-29 19:31:17 +01:00
cpu-bugs64.c
cpu-probe.c Add support for SB1A CPU. 2005-10-29 19:32:46 +01:00
dma-no-isa.c Dummy ISA DMA functions for systems that don't have ISA but share 2005-10-29 19:30:17 +01:00
entry.S Fix excessive signal latencies. 2005-10-29 19:32:23 +01:00
gdb-low.S Get 64-bit right in the kgdb stub. 2005-10-29 19:32:43 +01:00
gdb-stub.c Define and initialize kdb_lock using DEFINE_SPINLOCK. 2005-10-29 19:32:35 +01:00
genex.S Virtual SMP support for the 34K. 2005-10-29 19:32:10 +01:00
head.S Support for MIPSsim, the cycle accurate MIPS simulator. 2005-10-29 19:32:30 +01:00
i8259.c Date: Fri Jan 14 03:03:23 2005 +0000 2005-10-29 19:32:39 +01:00
init_task.c
ioctl32.c Switch Sibyte profiling driver to ->compat_ioctl 2005-10-29 19:32:29 +01:00
irix5sys.S
irixelf.c [PATCH] Don't uselessly export task_struct to userspace in core dumps 2005-10-30 17:37:18 -08:00
irixinv.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
irixioctl.c Reformatting, remove debugging code. 2005-10-29 19:30:57 +01:00
irixsig.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
irq_cpu.c MT bulletproofing. 2005-10-29 19:32:09 +01:00
irq-msc01.c More AP / SP bits for the 34K, the Malta bits and things. Still wants 2005-10-29 19:31:53 +01:00
irq-mv6434x.c Convert struct hw_interrupt_type initializations to ISO C99 named 2005-10-29 19:30:46 +01:00
irq-rm7000.c Convert struct hw_interrupt_type initializations to ISO C99 named 2005-10-29 19:30:46 +01:00
irq-rm9000.c Convert struct hw_interrupt_type initializations to ISO C99 named 2005-10-29 19:30:46 +01:00
irq.c
linux32.c NPTL, round one. 2005-10-29 19:31:06 +01:00
Makefile Fixup a few lose ends in explicit support for MIPS R1/R2. 2005-10-29 19:32:37 +01:00
mips_ksyms.c
module.c Improved modules loader, more robust and works on 64bit kernels. 2005-10-29 19:30:39 +01:00
proc.c Add support for SB1A CPU. 2005-10-29 19:32:46 +01:00
process.c Setup_frame is now returning a success value. 2005-10-29 19:31:41 +01:00
ptrace32.c Protect manipulation of c0_status against preemption and multithreading. 2005-10-29 19:32:36 +01:00
ptrace.c Protect manipulation of c0_status against preemption and multithreading. 2005-10-29 19:32:36 +01:00
r4k_fpu.S Support the MIPS32 / MIPS64 DSP ASE. 2005-10-29 19:31:17 +01:00
r4k_switch.S Fixup a few lose ends in explicit support for MIPS R1/R2. 2005-10-29 19:32:37 +01:00
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
reset.c
rtlx.c More AP / SP bits for the 34K, the Malta bits and things. Still wants 2005-10-29 19:31:53 +01:00
scall32-o32.S Sys_lookup_dcookie arguments occupy 4 argument slots. 2005-10-29 19:32:43 +01:00
scall64-64.S Add inotify syscalls for MIPS. 2005-10-29 19:31:47 +01:00
scall64-n32.S Revise MIPS 64-bit ptrace interface 2005-10-29 19:32:29 +01:00
scall64-o32.S Add inotify syscalls for MIPS. 2005-10-29 19:31:47 +01:00
semaphore.c Always use ".set mips3" rather than select between "mips2" or "mips3" 2005-10-29 19:31:31 +01:00
setup.c Mark a few variables __read_mostly. 2005-10-29 19:31:46 +01:00
signal32.c Setup_frame is now returning a success value. 2005-10-29 19:31:41 +01:00
signal_n32.c Setup_frame is now returning a success value. 2005-10-29 19:31:41 +01:00
signal-common.h Redo RM9000 workaround which along with other DSP ASE changes was 2005-10-29 19:31:23 +01:00
signal.c Setup_frame is now returning a success value. 2005-10-29 19:31:41 +01:00
smp_mt.c Virtual SMP support for the 34K. 2005-10-29 19:32:10 +01:00
smp.c Delete old junk. 2005-10-29 19:32:04 +01:00
syscall.c NPTL, round one. 2005-10-29 19:31:06 +01:00
sysirix.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
time.c Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it. 2005-10-29 19:31:54 +01:00
traps.c FPU emulator garbage collection. 2005-10-29 19:32:43 +01:00
unaligned.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
vmlinux.lds.S Get rid of the the remains of 2.4-style ramdisk support. 2005-10-29 19:30:57 +01:00
vpe.c Virtual SMP support for the 34K. 2005-10-29 19:32:10 +01:00