Messages in this thread | | | Subject | Re: [PATCH v2] locks: Filter /proc/locks output on proc pid ns | From | Nikolay Borisov <> | Date | Wed, 3 Aug 2016 18:10:52 +0300 |
| |
On 08/03/2016 06:06 PM, J. Bruce Fields wrote: > Digging around... Oh, I see, there's an optional 'lock:..' line in > /proc/[pid]/fdinfo/[pid] file, is that what you're looking at? I'd > forgotten. Yeah, maybe that would make more sense long term.
Yep, that's the one but this requires the userspace to be updated to use that interface. In the meantime we could do away with some maintenance of the existing /proc/locks :)
| |