summaryrefslogtreecommitdiff
path: root/Documentation/debugging-modules.txt
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-12-28 05:39:08 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2017-12-31 18:12:23 +0300
commitcdab6ba8668d68f031bfd5d237b4586ec4f8cd88 (patch)
tree8e996972f0cfbccd3334d7e12490c5d5cbdb2d24 /Documentation/debugging-modules.txt
parentad8ad79f4f6078f456792f7f8d344da2be9bc74f (diff)
downloadlinux-cdab6ba8668d68f031bfd5d237b4586ec4f8cd88.tar.xz
nsfs: generalize ns_get_path() for path resolution with a task
ns_get_path() takes struct task_struct and proc_ns_ops as its parameters. For path resolution directly from a namespace, e.g. based on a networking device's net name space, we need more flexibility. Add a ns_get_path_cb() helper which will allow callers to use any method of obtaining the name space reference. Convert ns_get_path() to use ns_get_path_cb(). Following patches will bring a networking user. CC: Eric W. Biederman <ebiederm@xmission.com> Suggested-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'Documentation/debugging-modules.txt')
0 files changed, 0 insertions, 0 deletions