Date: Fri, 6 Sep 2013 04:43:54 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Pawel Jakub Dawidek <pjd@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: <20130906044354.GA26806@FreeBSD.org> In-Reply-To: <201309050009.r8509vsE061271@svn.freebsd.org> References: <201309050009.r8509vsE061271@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130906044354.GA26806>