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...
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Sep 6 14:34:48 UTC 2013
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
> >
> > 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.
Bumped, thanks.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://mobter.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130906/747ee8fd/attachment.sig>
More information about the svn-src-all
mailing list