diff options
author | Paul Moore <pmoore@redhat.com> | 2014-04-15 19:14:11 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-04-15 19:14:11 -0400 |
commit | 8fd7b920e27a7e6e7681848d31f0495fac42f382 (patch) | |
tree | 7c9d167ceb400323b5b69b2ee153a31cc1217863 /doc/man/man3 | |
parent | 2b9c637c6834ff377f209bf7f4c829b3a22d7d16 (diff) | |
download | libseccomp-8fd7b920e27a7e6e7681848d31f0495fac42f382.tar.gz |
db: allow all architectures to be removed from a filter
In order to add architectures with byte ordering that differs from the
native architecture it is necessary to remove all architectures from a
filter.
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'doc/man/man3')
-rw-r--r-- | doc/man/man3/seccomp_arch_add.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/seccomp_arch_add.3 b/doc/man/man3/seccomp_arch_add.3 index fd1da55..f03376d 100644 --- a/doc/man/man3/seccomp_arch_add.3 +++ b/doc/man/man3/seccomp_arch_add.3 @@ -1,4 +1,4 @@ -.TH "seccomp_arch_add" 3 "26 November 2012" "paul@paul-moore.com" "libseccomp Documentation" +.TH "seccomp_arch_add" 3 "16 April 2014" "paul@paul-moore.com" "libseccomp Documentation" .\" ////////////////////////////////////////////////////////////////////////// .SH NAME .\" ////////////////////////////////////////////////////////////////////////// @@ -50,11 +50,11 @@ constants. .P When a seccomp filter is initialized with the call to .BR seccomp_init (3) -the native architecture is automatically added to the filter. If you want to -remove the native architecture from the filter, you first need to add another -architecture to the filter as a seccomp filter must contain at least one -architecture at all times. After you have added a second architecture to the -seccomp filter, you can remove the native architecture. +the native architecture is automatically added to the filter. +.P +While it is possible to remove all architectures from a filter, most of the +libseccomp APIs will fail if the filter does not contain at least one +architecture. .P When adding a new architecture to an existing filter, the existing rules will not be added to the new architecture. However, rules added after adding the |