Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2010 13:48:52 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Bruce Cran <brucec@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r211417 - head/usr.sbin/sysinstall
Message-ID:  <20100817104852.GB2396@deviant.kiev.zoral.com.ua>
In-Reply-To: <201008170939.o7H9d63p025660@svn.freebsd.org>
References:  <201008170939.o7H9d63p025660@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--pAMbS1LL1U6QDnK3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 17, 2010 at 09:39:06AM +0000, Bruce Cran wrote:
> Author: brucec
> Date: Tue Aug 17 09:39:06 2010
> New Revision: 211417
> URL: http://svn.freebsd.org/changeset/base/211417
>=20
> Log:
>   To restart, sysinstall calls execl. Since it will create a new process,=
 we
execl(3) does not create new process, it changes the executed program of th=
e=20
existing process. In particular, the pid is left unchanged.

>   can't check to see if sysinstall is running as init just by checking if=
 the
>   PID is 0. Introduce a new option that sets the RunningAsInit flag, and =
update
init pid is 1.

>   the code to check RunningAsInit intstead of getpid().
>  =20
>   PR:	bin/38854
>   Submitted by:	Peter Sedeffow <peter at trumanbrewery.com>
>   Approved by:	rrs (mentor)
>   MFC after:	1 month

--pAMbS1LL1U6QDnK3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkxqaRMACgkQC3+MBN1Mb4iWTgCgocsz16Nn89Mr0BheyyjA5uoi
sxYAoN4RWblOk0qbbEFhF0DQ39ofpbWv
=vPNh
-----END PGP SIGNATURE-----

--pAMbS1LL1U6QDnK3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100817104852.GB2396>