pub fn locks() -> ProcResult<Vec<Lock>>
Expand description
Get a list of current file locks and leases
Since Linux 4.9, the list of locks is filtered to show just the locks
for the processes in the PID namespace for which the /proc
filesystem
was mounted.