]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit182fc817065df8eec9874ae6a83795608da63174
tree6972c2aa0e86e3fb3590e3fe24c45db5f2d83928
parent6dc4822b3c1938168495c50040f3b27435a48b4d
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