]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
api-extensions: reflow "seccomp_notify" api extension
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 11 Mar 2020 15:01:01 +0000 (16:01 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 11 Mar 2020 15:01:01 +0000 (16:01 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
doc/api-extensions.md

index 67360afd030179246aeb6e826afc6e37693eda60..c006f33cbc3440fbd19bde7c922a19d4e285d2b2 100644 (file)
@@ -40,9 +40,7 @@ already loaded. This allows nested containers to load their own seccomp profile.
 
 ## seccomp\_notify
 
-This adds "notify" as seccomp action that will cause LXC to register a seccomp listener and retrieve
-a listener file descriptor from the kernel. When a syscall is made that is registered as "notify"
-the kernel will generate a poll event and send a message over the file descriptor.
+This adds "notify" as seccomp action that will cause LXC to register a seccomp listener and retrieve a listener file descriptor from the kernel. When a syscall is made that is registered as "notify" the kernel will generate a poll event and send a message over the file descriptor.
 
 The caller can read this message, inspect the syscalls including its arguments. Based on this information the caller is expected to send back a message informing the kernel which action to take. Until that message is sent the kernel will block the calling process. The format of the messages to read and sent is documented in seccomp itself.