lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17625.24267.334013.678760@cargo.ozlabs.ibm.com>
Date:	Wed, 9 Aug 2006 14:04:27 +1000
From:	Paul Mackerras <paulus@...ba.org>
To:	Sukadev Bhattiprolu <sukadev@...ibm.com>
Cc:	akpm@...l.org, linux-kernel@...r.kernel.org, ebiederm@...ssion.com,
	haveblue@...ibm.com, serue@...ibm.com, clg@...ibm.com,
	lxc-devel@...ts.sourceforge.net
Subject: Re: [PATCH] pidspace: is_init()

Sukadev Bhattiprolu writes:

> 	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@...ssion.com>
> Signed-off-by: Sukadev Bhattiprolu <sukadev@...ibm.com>

Acked-by: Paul Mackerras <paulus@...ba.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ