SVNews r330355

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-03 21:05:28 - r330355 by eadler (Eitan Adler)

Complete list of files affected by revision r330355:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/kern/sys_capability.c  

Commit message:

MFC r305137:

Eliminate unnecessary loop in _cap_check()

Calling cap_rights_contains() several times with the same inputs is not
going to produce a different output. The variable being iterated, i, is
never used inside the for loop.

The loop is actually done in cap_rights_contains()


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 4 ms, 2 files printed. Current time is 2018-03-22 11:41:55. All times are in UTC/GMT.