kore-doc

The kore documentation found under https://docs.kore.io/
Commits | Files | Refs | README | git clone https://git.kore.io/kore-doc.git

commit 627ba2413c81f764e18f483d1a81529009707c39
parent 4f7773ea2b92853b1f028462eca78e9b5eb325db
Author: Joris Vink <joris@coders.se>
Date:   Fri,  1 Jan 2021 21:14:20 +0100

update

Diffstat:
api/seccomp.md | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/api/seccomp.md b/api/seccomp.md @@ -16,8 +16,8 @@ macro. In the example below we allow ioctl(2) and shmat(2) are allowed. #include <kore/seccomp.h> KORE_SECCOMP_FILTER("app", - KORE_SYSCALL_ALLOW("ioctl"), - KORE_SYSCALL_ALLOW("shmat") + KORE_SYSCALL_ALLOW(ioctl), + KORE_SYSCALL_ALLOW(shmat) ); ``` @@ -27,8 +27,8 @@ In another example, we allow write() to stdout but no other file descriptor. #include <kore/seccomp.h> KORE_SECCOMP_FILTER("app", - KORE_SYSCALL_ALLOW_ARG("write", 0, STDOUT_FILENO), - KORE_SYSCALL_DENY("write", EPERM) + KORE_SYSCALL_ALLOW_ARG(write, 0, STDOUT_FILENO), + KORE_SYSCALL_DENY(write, EPERM) ); ```