linux-stable-rt/arch/powerpc/platforms/iseries
Cedric Le Goater 9ec52099e4 [PATCH] replace cad_pid by a struct pid
There are a few places in the kernel where the init task is signaled.  The
ctrl+alt+del sequence is one them.  It kills a task, usually init, using a
cached pid (cad_pid).

This patch replaces the pid_t by a struct pid to avoid pid wrap around
problem.  The struct pid is initialized at boot time in init() and can be
modified through systctl with

	/proc/sys/kernel/cad_pid

[ I haven't found any distro using it ? ]

It also introduces a small helper routine kill_cad_pid() which is used
where it seemed ok to use cad_pid instead of pid 1.

[akpm@osdl.org: cleanups, build fix]
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-02 07:57:25 -07:00
..
Kconfig [POWERPC] iseries: A new iSeries console 2006-07-13 18:51:22 +10:00
Makefile
call_hpt.h
call_pci.h
call_sm.h
dt.c Merge branch 'mpe' 2006-07-14 17:27:26 +10:00
htab.c
hvcall.S
hvlog.c
hvlpconfig.c [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
iommu.c [POWERPC] iseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
ipl_parms.h
irq.c [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
irq.h [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
it_exp_vpd_panel.h [POWERPC] iseries: Make ItExtVpdPanel private to iSeries 2006-07-13 18:42:29 +10:00
it_lp_naca.h [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
ksyms.c
lpardata.c [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
lpevents.c [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
main_store.h [POWERPC] iseries: remove some gcc 4.1 warnings 2006-08-25 13:27:35 +10:00
mf.c [PATCH] replace cad_pid by a struct pid 2006-10-02 07:57:25 -07:00
misc.S
naca.h
pci.c [POWERPC] Merge iSeries i/o operations with the rest 2006-09-22 15:19:58 +10:00
pci.h
proc.c
processor_vpd.h
release_data.h
setup.c [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
setup.h
smp.c
spcomm_area.h
viopath.c [POWERPC] iseries: remove const warning 2006-08-25 13:27:35 +10:00
vpd_areas.h
vpdinfo.c [POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c 2006-07-13 18:43:12 +10:00