diff options
author | Matthew Bobrowski <repnop@google.com> | 2021-08-08 15:24:33 +1000 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-08-10 12:53:04 +0200 |
commit | c576e0fcd6188d0edb50b0fb83f853433ef4819b (patch) | |
tree | 9258197f8c86210e351e1e6e4f53b4397f55541b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 902e7f373fff2476b53824264c12e4e76c7ec02a (diff) |
kernel/pid.c: remove static qualifier from pidfd_create()
With the idea of returning pidfds from the fanotify API, we need to
expose a mechanism for creating pidfds. We drop the static qualifier
from pidfd_create() and add its declaration to linux/pid.h so that the
pidfd_create() helper can be called from other kernel subsystems
i.e. fanotify.
Link: https://lore.kernel.org/r/0c68653ec32f1b7143301f0231f7ed14062fd82b.1628398044.git.repnop@google.com
Signed-off-by: Matthew Bobrowski <repnop@google.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions