linux_dsm_epyc7002/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
..
call_hpt.h merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00
call_pci.h [PATCH] powerpc: reintroduce HvCallPci_configLoad32 2006-05-24 16:08:56 +10:00
call_sm.h merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00
dt.c Merge branch 'mpe' 2006-07-14 17:27:26 +10:00
htab.c [POWERPC] powerpc: Initialise ppc_md htab pointers earlier 2006-06-28 11:59:47 +10:00
hvcall.S powerpc: Get iseries to compile with ARCH=powerpc 2005-10-10 22:52:26 +10:00
hvlog.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
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 ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
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
Kconfig [POWERPC] iseries: A new iSeries console 2006-07-13 18:51:22 +10:00
ksyms.c merge filename and modify references to iseries/hv_call_sc.h 2005-11-02 11:37:22 +11:00
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
Makefile [PATCH] powerpc: make iSeries flattened device tree dynamic 2006-05-24 16:08:57 +10:00
mf.c [PATCH] replace cad_pid by a struct pid 2006-10-02 07:57:25 -07:00
misc.S [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
naca.h [PATCH] powerpc: Move naca.h to platforms/iseries 2005-11-02 16:05:53 +11:00
pci.c [POWERPC] Merge iSeries i/o operations with the rest 2006-09-22 15:19:58 +10:00
pci.h powerpc: eliminate DsaAddr from pci_dn 2005-10-14 16:49:58 +10:00
proc.c [POWERPC] Clean up it_lp_queue.h 2006-06-28 15:18:55 +10:00
processor_vpd.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
release_data.h [PATCH] powerpc: Move naca.h to platforms/iseries 2005-11-02 16:05:53 +11:00
setup.c [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
setup.h [PATCH] powerpc: split device tree stuff out of iseries/setup.c 2006-05-24 16:08:57 +10:00
smp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
spcomm_area.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
viopath.c [POWERPC] iseries: remove const warning 2006-08-25 13:27:35 +10:00
vpd_areas.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
vpdinfo.c [POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c 2006-07-13 18:43:12 +10:00