fs/nsfs.c: Added ns_match
authorCarlos Neira <cneirabustos@gmail.com>
Wed, 4 Mar 2020 20:41:55 +0000 (17:41 -0300)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 13 Mar 2020 00:33:11 +0000 (17:33 -0700)
commit1e2328e762548c7d17b7ba8ded9f409d05710dd1
tree6972c2aa0e86e3fb3590e3fe24c45db5f2d83928
parent132c1af0a23d049e2ec93eb6a180d9de71d3a32f
fs/nsfs.c: Added ns_match

ns_match returns true if the namespace inode and dev_t matches the ones
provided by the caller.

Signed-off-by: Carlos Neira <cneirabustos@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200304204157.58695-2-cneirabustos@gmail.com
fs/nsfs.c
include/linux/proc_ns.h