]> jfr.im git - solanum.git/commit
capability: store capability bit entries with actual bit numbers, instead of as an...
authorWilliam Pitcock <redacted>
Sat, 4 Feb 2012 11:23:15 +0000 (05:23 -0600)
committerWilliam Pitcock <redacted>
Sat, 4 Feb 2012 11:23:15 +0000 (05:23 -0600)
commit8bedf01d19e4aff208d355a3b43751ea40f798e0
tree93ff955c77f260a675381040834fc8a6f05e9c4f
parente915e51f4d53b75bd2dad31ef64adc2118ae7c58
capability: store capability bit entries with actual bit numbers, instead of as an expanded mask

This makes accounting of number of bits allocated easier.  Specifically, the amount of allocated
bits is computed by doing (index->highest_bit - 1) in code.
src/capability.c