From owner-svn-src-all@FreeBSD.ORG Tue Jun 23 22:06:24 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 12B99106567D; Tue, 23 Jun 2009 22:06:24 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id BFC358FC08; Tue, 23 Jun 2009 22:06:23 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id n5NMCm49005522; Tue, 23 Jun 2009 18:12:48 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id n5NMCmg1005521; Tue, 23 Jun 2009 18:12:48 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Tue, 23 Jun 2009 18:12:48 -0400 From: David Schultz To: Kostik Belousov Message-ID: <20090623221248.GA5445@zim.MIT.EDU> Mail-Followup-To: Kostik Belousov , Ed Schouten , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG References: <200906201639.n5KGdPhO081114@svn.freebsd.org> <20090620174158.GG2884@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090620174158.GG2884@deviant.kiev.zoral.com.ua> Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Ed Schouten 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:06:25 -0000 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 > > > > Log: > > Add placeholder to prevent reuse of privilege 254. > > > > Requested by: rwatson > > > > Modified: > > head/sys/sys/priv.h > > > > Modified: head/sys/sys/priv.h > > ============================================================================== > > --- 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. */ > > > 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. 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.)