diff options
author | Vitaliy Gusev <[email protected]> | 2008-01-17 00:07:08 +0000 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2008-02-03 17:51:36 -0500 |
commit | ab1f16116527e42dec8aee176d673a41a881b809 (patch) | |
tree | 0d20fa10151e43f9f104986a2b89ec88ca0135af /net/unix/sysctl_net_unix.c | |
parent | 4321e01e7dce8042758349ffa2929c723b0d4107 (diff) |
pid-namespaces-vs-locks-interaction
fcntl(F_GETLK,..) can return pid of process for not current pid namespace
(if process is belonged to the several namespaces). It is true also for
pids in /proc/locks. So correct behavior is saving pointer to the struct
pid of the process lock owner.
Signed-off-by: Vitaliy Gusev <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions