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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to