Date: Wed, 24 Jun 2009 01:10:53 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Ed Schouten <ed@FreeBSD.ORG>, src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG Subject: Re: svn commit: r194538 - head/sys/sys Message-ID: <20090623221053.GT2884@deviant.kiev.zoral.com.ua> In-Reply-To: <20090623221248.GA5445@zim.MIT.EDU> References: <200906201639.n5KGdPhO081114@svn.freebsd.org> <20090620174158.GG2884@deviant.kiev.zoral.com.ua> <20090623221248.GA5445@zim.MIT.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
--QCC2I/2CckNfI+Tr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 23, 2009 at 06:12:48PM -0400, David Schultz wrote: > On Sat, Jun 20, 2009, Kostik Belousov wrote: > > On Sat, Jun 20, 2009 at 04:39:25PM +0000, Ed Schouten wrote: > > > Author: ed > > > Date: Sat Jun 20 16:39:25 2009 > > > New Revision: 194538 > > > URL: http://svn.freebsd.org/changeset/base/194538 > > >=20 > > > Log: > > > Add placeholder to prevent reuse of privilege 254. > > > =20 > > > Requested by: rwatson > > >=20 > > > Modified: > > > head/sys/sys/priv.h > > >=20 > > > Modified: head/sys/sys/priv.h > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > > --- head/sys/sys/priv.h Sat Jun 20 16:37:24 2009 (r194537) > > > +++ head/sys/sys/priv.h Sat Jun 20 16:39:25 2009 (r194538) > > > @@ -211,6 +211,7 @@ > > > #define PRIV_TTY_DRAINWAIT 251 /* Set tty drain wait time. */ > > > #define PRIV_TTY_DTRWAIT 252 /* Set DTR wait on tty. */ > > > #define PRIV_TTY_EXCLUSIVE 253 /* Override tty exclusive flag. */ > > > +#define _PRIV_TTY_PRISON 254 /* Removed. */ > > > #define PRIV_TTY_STI 255 /* Simulate input on another tty. */ > > > #define PRIV_TTY_SETA 256 /* Set tty termios structure. */ > > > =20 > > Names starting with two underscores or underscore and upper-case letter > > are reserved to the C language implementation. We should not use it > > in the code. >=20 > Applications are not supposed to use such symbols, but we use them > pervasively in system headers specifically to avoid conflicting > with symbols an application might define. (Effectively, we > consider system headers to be part of the language implementation.) My interpretation is that we use freestanding environment for the kernel, and appropriate requirements shall be fullfilled by kernel code. --QCC2I/2CckNfI+Tr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpBUuwACgkQC3+MBN1Mb4hIAwCgkDNJzKhmf/Pszx2lHuisJlkL ciIAnioxWZicaeQu+IT4FjLMYJ6In7T9 =xhz7 -----END PGP SIGNATURE----- --QCC2I/2CckNfI+Tr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090623221053.GT2884>