kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit f39919e98c9051175d920bc6a626e8115e0afbd1
parent d4a78de5fcb8431dc85b8a77475c3ff501d05e16
Author: Joris Vink <joris@coders.se>
Date:   Mon, 10 May 2021 23:05:58 +0200

Add readlinkat to seccomp whitelist.

Diffstat:
src/seccomp.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/seccomp.c b/src/seccomp.c @@ -90,6 +90,9 @@ static struct sock_filter filter_kore[] = { #if defined(SYS_readlink) KORE_SYSCALL_ALLOW(readlink), #endif +#if defined(SYS_readlinkat) + KORE_SYSCALL_ALLOW(readlinkat), +#endif /* Process related. */ KORE_SYSCALL_ALLOW(exit),