Date: Fri, 6 Sep 2013 16:34:55 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org 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: <20130906143455.GB1369@garage.freebsd.pl> In-Reply-To: <20130906044354.GA26806@FreeBSD.org> References: <201309050009.r8509vsE061271@svn.freebsd.org> <20130906044354.GA26806@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 06, 2013 at 04:43:54AM +0000, Alexey Dokuchaev wrote: > 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 > >=20 > > 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. > > =20 > > 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 le= ast 285 > > rights, although we can make it even larger if 285 rights won't be en= ough. > > =20 > > The structure definition looks like this: > > =20 > > struct cap_rights { > > uint64_t cr_rights[CAP_RIGHTS_VERSION + 2]; > > }; >=20 > I believe this commit broke nvidia-driver. Fix is trivial; however, I wo= uld > have to use OSVERSION from Sep 3rd, since you forgot to update sys/param.= h. Bumped, thanks. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://mobter.com --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlIp6A8ACgkQForvXbEpPzRXpQCePsvCLn6bPAnkFM85gVAgvSKb E7oAn1HrhIIukuqBWt/HnQiKtj5YfE60 =Xy05 -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130906143455.GB1369>