summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2017-10-18 06:16:55 +0000
committerPaul Moore <paul@paul-moore.com>2017-11-01 12:49:53 -0400
commit3b22b153c70ef00044fb309d9a9fecc12b777e98 (patch)
treed3350ce9a636380efb9c2f8e8149ce10a9678254 /doc
parentb61042bf4bcf216e2371c8371d6bf5449f1cf7c5 (diff)
downloadlibseccomp-3b22b153c70ef00044fb309d9a9fecc12b777e98.tar.gz
all: add support for new log action
Extend libseccomp to support SECCOMP_RET_LOG, which is intended to log the syscall before allowing it. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/man3/seccomp_api_get.32
-rw-r--r--doc/man/man3/seccomp_init.35
-rw-r--r--doc/man/man3/seccomp_rule_add.34
3 files changed, 10 insertions, 1 deletions
diff --git a/doc/man/man3/seccomp_api_get.3 b/doc/man/man3/seccomp_api_get.3
index b6c0453..0def686 100644
--- a/doc/man/man3/seccomp_api_get.3
+++ b/doc/man/man3/seccomp_api_get.3
@@ -49,7 +49,7 @@ the
syscall to load the seccomp filter into the kernel.
.TP
.B 3
-The SCMP_FLTATR_CTL_LOG filter attribute is supported.
+The SCMP_FLTATR_CTL_LOG filter attribute and the SCMP_ACT_LOG action are supported.
.\" //////////////////////////////////////////////////////////////////////////
.SH RETURN VALUE
.\" //////////////////////////////////////////////////////////////////////////
diff --git a/doc/man/man3/seccomp_init.3 b/doc/man/man3/seccomp_init.3
index 65f9a7f..d7cd383 100644
--- a/doc/man/man3/seccomp_init.3
+++ b/doc/man/man3/seccomp_init.3
@@ -79,6 +79,11 @@ can be retrieved using the
.B PTRACE_GETEVENTMSG
option.
.TP
+.B SCMP_ACT_LOG
+The seccomp filter will have no effect on the thread calling the syscall if it
+does not match any of the configured seccomp filter rules but the syscall will
+be logged.
+.TP
.B SCMP_ACT_ALLOW
The seccomp filter will have no effect on the thread calling the syscall if it
does not match any of the configured seccomp filter rules.
diff --git a/doc/man/man3/seccomp_rule_add.3 b/doc/man/man3/seccomp_rule_add.3
index afb173a..86c53b1 100644
--- a/doc/man/man3/seccomp_rule_add.3
+++ b/doc/man/man3/seccomp_rule_add.3
@@ -133,6 +133,10 @@ can be retrieved using the
.B PTRACE_GETEVENTMSG
option.
.TP
+.B SCMP_ACT_LOG
+The seccomp filter will have no effect on the thread calling the syscall if it
+matches the filter rule but the syscall will be logged.
+.TP
.B SCMP_ACT_ALLOW
The seccomp filter will have no effect on the thread calling the syscall if it
matches the filter rule.