tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: KAUTH_GENERIC_CANSEE
On Sun, Nov 15, 2009 at 1:21 PM, David Laight <david%l8s.co.uk@localhost> wrote:
> 1) You need a sleep lock to only allow one thread into the code.
Hm, so we need that for BYFILE but not for BYPID?
> 2) If the 'seq' wraps, you need to do a full scan to set the
> marker on all 'struct file' back to zero.
Why? Once the scan's done, the seq value in struct file can be discarded...
> 3) Any scan of the process table needs to worry about the consequences
> of the table growing.
Same question as in (1).
Thanks,
-e.
Home |
Main Index |
Thread Index |
Old Index