From owner-svn-src-head@FreeBSD.ORG Fri Sep 6 04:43:54 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id D0CC3709; Fri, 6 Sep 2013 04:43:54 +0000 (UTC) Date: Fri, 6 Sep 2013 04:43:54 +0000 From: Alexey Dokuchaev To: Pawel Jakub Dawidek Subject: Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensola... Message-ID: <20130906044354.GA26806@FreeBSD.org> References: <201309050009.r8509vsE061271@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201309050009.r8509vsE061271@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 04:43:54 -0000 On Thu, Sep 05, 2013 at 12:09:57AM +0000, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Thu Sep 5 00:09:56 2013 > New Revision: 255219 > URL: http://svnweb.freebsd.org/changeset/base/255219 > > Log: > Change the cap_rights_t type from uint64_t to a structure that we can extend > in the future in a backward compatible (API and ABI) way. > > The cap_rights_t represents capability rights. We used to use one bit to > represent one right, but we are running out of spare bits. Currently the new > structure provides place for 114 rights (so 50 more than the previous > cap_rights_t), but it is possible to grow the structure to hold at least 285 > rights, although we can make it even larger if 285 rights won't be enough. > > The structure definition looks like this: > > struct cap_rights { > uint64_t cr_rights[CAP_RIGHTS_VERSION + 2]; > }; I believe this commit broke nvidia-driver. Fix is trivial; however, I would have to use OSVERSION from Sep 3rd, since you forgot to update sys/param.h. ./danfe