Re: [PATCHv3] locks: Filter /proc/locks output on proc pid ns

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

 




On  4.08.2016 00:09, Eric W. Biederman wrote:
> Dumb question does anyone know the difference between fl_nspid and
> fl_pid off the top of your heads?  I am looking at the code and I am
> confused why we have to both.  I am afraid that there was some
> sloppiness when the pid namespace was implemented and this was the
> result.  I remember that file locks were a rough spot during the
> conversion but I don't recall the details off the top of my head.

I think the fl_nspid is the actual pid namespace where the lock was
created, where as pid can be just a unique value required by NFS. I
gathered that information while reading the changelogs and the mailing
list discussion here:
https://lists.linuxfoundation.org/pipermail/containers/2007-December/009044.html
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers



[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux