linux/arch/arm
Sukadev Bhattiprolu f400e198b2 [PATCH] pidspace: is_init()
This is an updated version of Eric Biederman's is_init() patch.
(http://lkml.org/lkml/2006/2/6/280).  It applies cleanly to 2.6.18-rc3 and
replaces a few more instances of ->pid == 1 with is_init().

Further, is_init() checks pid and thus removes dependency on Eric's other
patches for now.

Eric's original description:

	There are a lot of places in the kernel where we test for init
	because we give it special properties.  Most  significantly init
	must not die.  This results in code all over the kernel test
	->pid == 1.

	Introduce is_init to capture this case.

	With multiple pid spaces for all of the cases affected we are
	looking for only the first process on the system, not some other
	process that has pid == 1.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: <lxc-devel@lists.sourceforge.net>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-29 09:18:12 -07:00
..
boot [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
common [ARM] Off-by-one in arch/arm/common/icst* 2006-09-27 23:17:54 +01:00
configs [ARM] 3851/1: iop3xx: add io-data glantank support 2006-09-25 10:34:02 +01:00
kernel Merge nommu branch 2006-09-28 22:20:39 +01:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mach-aaec2000 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-at91rm9200 [ARM] 3870/1: AT91: Start removing static memory mappings 2006-09-28 18:11:22 +01:00
mach-clps711x [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-clps7500 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ebsa110 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ep93xx [ARM] 3811/1: ep93xx: add cirrus logic edb9312 support 2006-09-25 10:25:25 +01:00
mach-footbridge [ARM] 3759/2: Remove uses of %? 2006-09-20 14:58:35 +01:00
mach-h720x [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-imx [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-integrator [ARM] Add Integrator support for glibc outb() and friends 2006-08-28 12:47:05 +01:00
mach-iop32x [ARM] 3851/1: iop3xx: add io-data glantank support 2006-09-25 10:34:02 +01:00
mach-iop33x [ARM] 3832/1: iop3xx: coding style cleanup 2006-09-25 10:25:53 +01:00
mach-ixp4xx [ARM] 3856/1: Add clocksource for Intel IXP4xx platforms 2006-09-28 20:59:25 +01:00
mach-ixp23xx [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ixp2000 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-l7200 [ARM] 3684/1: ARM: Convert l7200 to generic irq handling 2006-07-01 22:32:19 +01:00
mach-lh7a40x [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-netx [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-omap1 [PATCH] OMAP: Update OMAP1/2 boards to give keymapsize and other pdata 2006-09-29 09:18:07 -07:00
mach-omap2 [PATCH] OMAP: Update OMAP1/2 boards to give keymapsize and other pdata 2006-09-29 09:18:07 -07:00
mach-pnx4008 [ARM] 3709/1: pnx4008: convert to generic irq subsystem 2006-07-05 14:47:20 +01:00
mach-pxa USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
mach-realview [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-rpc [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-s3c2410 [ARM] 3873/1: S3C24XX: Add irq_chip names 2006-09-28 20:55:23 +01:00
mach-sa1100 [ARM] 3847/2: Convert LOMOMO to use struct device for GPIOs 2006-09-27 20:58:59 +01:00
mach-shark [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-versatile [ARM] 3860/1: Versatile PCI config byte accesses 2006-09-27 09:35:07 +01:00
mm [PATCH] pidspace: is_init() 2006-09-29 09:18:12 -07:00
nwfpe [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 2006-07-13 13:04:24 +01:00
oprofile [ARM] 3832/1: iop3xx: coding style cleanup 2006-09-25 10:25:53 +01:00
plat-iop [ARM] 3832/1: iop3xx: coding style cleanup 2006-09-25 10:25:53 +01:00
plat-omap Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-09-28 14:40:39 -07:00
tools [ARM] Update mach-types 2006-09-25 10:32:32 +01:00
vfp [ARM] Cleanups for 4cc9bd2eaa 2006-09-25 10:34:59 +01:00
Kconfig Merge nommu branch 2006-09-28 22:20:39 +01:00
Kconfig-nommu [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
Kconfig.debug [ARM] Trivial typo fixes 2006-06-04 21:22:11 +01:00
Makefile [ARM] nommu: add ARM946E-S core support 2006-09-27 17:39:19 +01:00