linux/arch
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
..
alpha [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
arm [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
arm26 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
cris [PATCH] mm: cris v32 mmu_context_lock 2005-10-29 21:40:42 -07:00
frv [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
h8300 kbuild: h8300,m68knommu,sh,sh64 use generic asm-offsets.h support 2005-09-09 20:28:49 +02:00
i386 [PATCH] i386: use -mcpu, not -mtune, for GCCs older than 3.4 2005-10-30 17:37:16 -08:00
ia64 [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
m32r [PATCH] m32r: SMC91x driver update 2005-10-30 17:37:16 -08:00
m68k [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
m68knommu [PATCH] m68knommu: startup code for the Drangen Engine 68328 based board 2005-09-12 20:04:15 -07:00
mips [PATCH] Don't uselessly export task_struct to userspace in core dumps 2005-10-30 17:37:18 -08:00
parisc [PATCH] TIOC* compat ioctl handling 2005-10-30 17:37:17 -08:00
ppc [PATCH] remove some more check_region stuff 2005-10-30 17:37:18 -08:00
ppc64 [PATCH] TIOC* compat ioctl handling 2005-10-30 17:37:17 -08:00
s390 [PATCH] remove timer debug field 2005-10-30 17:37:18 -08:00
sh [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sh64 [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sparc [PATCH] remove some more check_region stuff 2005-10-30 17:37:18 -08:00
sparc64 [PATCH] TIOC* compat ioctl handling 2005-10-30 17:37:17 -08:00
um [PATCH] uml: remove old UM_FASTCALL, and make the thing work again 2005-10-30 17:37:16 -08:00
v850 [PATCH] V850: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
x86_64 [PATCH] introduce setup_timer() helper 2005-10-30 17:37:17 -08:00
xtensa [PATCH] gfp_t: dma-mapping (xtensa) 2005-10-28 08:16:49 -07:00