Add readlinkat to seccomp whitelist.

This commit is contained in:
Joris Vink 2021-05-10 23:05:58 +02:00
parent d4a78de5fc
commit f39919e98c
1 changed files with 3 additions and 0 deletions

View File

@ -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),