android_kernel_xiaomi_sm8350/drivers/parisc
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
..
asp.c
ccio-dma.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ccio-rm-dma.c
dino.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
eisa_eeprom.c
eisa_enumerator.c
eisa.c [PATCH] irq-flags: PARISC: Use the new IRQF_ constants 2006-07-02 13:58:52 -07:00
gsc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gsc.h
hppb.c
iommu-helpers.h
iosapic_private.h
iosapic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
Kconfig [PARISC] PDC_CHASSIS is implemented on all machines 2006-06-27 23:28:37 +00:00
lasi.c
lba_pci.c
led.c [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
Makefile
pdc_stable.c [PARISC] Add os_id_to_string helper 2006-06-27 23:28:43 +00:00
power.c [PATCH] replace cad_pid by a struct pid 2006-10-02 07:57:25 -07:00
README.dino
sba_iommu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
superio.c [PATCH] irq-flags: PARISC: Use the new IRQF_ constants 2006-07-02 13:58:52 -07:00
wax.c

/*
** HP VISUALIZE Workstation PCI Bus Defect
**
** "HP has discovered a potential system defect that can affect
** the behavior of five models of HP VISUALIZE workstations when
** equipped with third-party or customer-installed PCI I/O expansion
** cards. The defect is limited to the HP C180, C160, C160L, B160L,
** and B132L VISUALIZE workstations, and will only be encountered
** when data is transmitted through PCI I/O expansion cards on the
** PCI bus. HP-supplied graphics cards that utilize the PCI bus are
** not affected."
**
** REVISIT: "go/pci_defect" link below is stale.
**	HP Internal can use <http://hpfcdma.fc.hp.com:80/Dino/>
**
**	Product		First Good Serial Number
**  C200/C240 (US)	US67350000
**B132L+/B180 (US)	US67390000
**   C200 (Europe)	3713G01000
**  B180L (Europe)	3720G01000
**
** Note that many boards were fixed/replaced under a free replacement
** program. Assume a machine is only "suspect" until proven otherwise.
**
** "The pci_check program will also be available as application
**  patch PHSS_12295"
*/