From owner-svn-src-all@FreeBSD.ORG Tue Jun 23 22:10:58 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 569361065698; Tue, 23 Jun 2009 22:10:58 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id C61E58FC2B; Tue, 23 Jun 2009 22:10:57 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n5NMArP0009628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Jun 2009 01:10:53 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n5NMArpC089973; Wed, 24 Jun 2009 01:10:53 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n5NMAroL089972; Wed, 24 Jun 2009 01:10:53 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 24 Jun 2009 01:10:53 +0300 From: Kostik Belousov To: Ed Schouten , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG Message-ID: <20090623221053.GT2884@deviant.kiev.zoral.com.ua> References: <200906201639.n5KGdPhO081114@svn.freebsd.org> <20090620174158.GG2884@deviant.kiev.zoral.com.ua> <20090623221248.GA5445@zim.MIT.EDU> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QCC2I/2CckNfI+Tr" Content-Disposition: inline In-Reply-To: <20090623221248.GA5445@zim.MIT.EDU> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.1 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Subject: Re: svn commit: r194538 - head/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 22:10:59 -0000 --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--