summaryrefslogtreecommitdiff
path: root/doc/man/man3/seccomp_init.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/seccomp_init.3')
-rw-r--r--doc/man/man3/seccomp_init.310
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/man/man3/seccomp_init.3 b/doc/man/man3/seccomp_init.3
index 3ab68fe..87520cd 100644
--- a/doc/man/man3/seccomp_init.3
+++ b/doc/man/man3/seccomp_init.3
@@ -36,7 +36,15 @@ The
function releases the existing filter context state before reinitializing it
and can only be called after a call to
.BR seccomp_init ()
-has succeeded.
+has succeeded. If
+.BR seccomp_reset ()
+is called with a NULL filter, it resets the library's global task state;
+normally this is not needed, but it may be required to continue using the
+library after a
+.BR fork ()
+or
+.BR clone ()
+call to ensure the API level and user notification state is properly reset.
.P
When the caller is finished configuring the seccomp filter and has loaded it
into the kernel, the caller should call