summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-04-15 19:14:11 -0400
committerPaul Moore <pmoore@redhat.com>2014-04-15 19:14:11 -0400
commit8fd7b920e27a7e6e7681848d31f0495fac42f382 (patch)
tree7c9d167ceb400323b5b69b2ee153a31cc1217863 /doc
parent2b9c637c6834ff377f209bf7f4c829b3a22d7d16 (diff)
downloadlibseccomp-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')
-rw-r--r--doc/man/man3/seccomp_arch_add.312
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