1. 12 7月, 2007 6 次提交
  2. 09 6月, 2007 1 次提交
  3. 09 5月, 2007 3 次提交
  4. 03 5月, 2007 1 次提交
  5. 27 4月, 2007 1 次提交
  6. 26 4月, 2007 13 次提交
  7. 15 3月, 2007 1 次提交
  8. 27 2月, 2007 2 次提交
  9. 15 2月, 2007 4 次提交
  10. 13 2月, 2007 1 次提交
  11. 12 2月, 2007 2 次提交
  12. 07 2月, 2007 1 次提交
    • D
      [PATCH] Keys: Fix key serial number collision handling · 9ad0830f
      David Howells 提交于
      Fix the key serial number collision avoidance code in key_alloc_serial().
      
      This didn't use to be so much of a problem as the key serial numbers were
      allocated from a simple incremental counter, and it would have to go through
      two billion keys before it could possibly encounter a collision.  However, now
      that random numbers are used instead, collisions are much more likely.
      
      This is fixed by finding a hole in the rbtree where the next unused serial
      number ought to be and using that by going almost back to the top of the
      insertion routine and redoing the insertion with the new serial number rather
      than trying to be clever and attempting to work out the insertion point
      pointer directly.
      
      This fixes kernel BZ #7727.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9ad0830f
  13. 27 1月, 2007 1 次提交
  14. 24 1月, 2007 1 次提交
  15. 09 1月, 2007 2 次提交