diff options
Diffstat (limited to 'doc/man/man3/seccomp_init.3')
-rw-r--r-- | doc/man/man3/seccomp_init.3 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/man/man3/seccomp_init.3 b/doc/man/man3/seccomp_init.3 index ad1371f..3ab68fe 100644 --- a/doc/man/man3/seccomp_init.3 +++ b/doc/man/man3/seccomp_init.3 @@ -1,4 +1,4 @@ -.TH "seccomp_init" 3 "25 July 2012" "paul@paul-moore.com" "libseccomp Documentation" +.TH "seccomp_init" 3 "30 May 2020" "paul@paul-moore.com" "libseccomp Documentation" .\" ////////////////////////////////////////////////////////////////////////// .SH NAME .\" ////////////////////////////////////////////////////////////////////////// @@ -98,7 +98,14 @@ The .BR seccomp_init () function returns a filter context on success, NULL on failure. The .BR seccomp_reset () -function returns zero on success, negative errno values on failure. +function returns zero on success or one of the following error codes on +failure: +.TP +.B -EINVAL +Invalid input, either the context or action is invalid. +.TP +.B -ENOMEM +The library was unable to allocate enough memory. .\" ////////////////////////////////////////////////////////////////////////// .SH EXAMPLES .\" ////////////////////////////////////////////////////////////////////////// |