tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: KAUTH_GENERIC_CANSEE



On Sat, Nov 14, 2009 at 1:44 PM, David Laight <david%l8s.co.uk@localhost> wrote:

> I have thought about removing the linked list between 'struct file'
> (because it requires a global lock ...).
> IIRC the only user sthose sysctl commands.
>
> Possibly they could access the files process by process using a 'scan and
> mark' technique to avoid returning duplicates.
>
> That would allow you to only show files referenced by accesible processes.

Yes, it's only used by sysctl. I'll do what you suggest unless someone objects.

Thanks,

-e.


Home | Main Index | Thread Index | Old Index