mirror of https://git.kore.io/kore.git
Compare commits
2 Commits
dad6cc7bfe
...
4df120704d
Author | SHA1 | Date |
---|---|---|
Joris Vink | 4df120704d | |
Joris Vink | ff5a3982ce |
|
@ -85,6 +85,14 @@ static struct sock_filter filter_keymgr[] = {
|
|||
/* Deny these, but with EACCESS instead of dying. */
|
||||
KORE_SYSCALL_DENY(ioctl, EACCES),
|
||||
|
||||
/* Entropy handling. */
|
||||
#if defined(SYS_unlink)
|
||||
KORE_SYSCALL_ALLOW(unlink),
|
||||
#endif
|
||||
#if defined(SYS_rename)
|
||||
KORE_SYSCALL_ALLOW(rename),
|
||||
#endif
|
||||
|
||||
/* Required to deal with private keys and certs. */
|
||||
#if defined(SYS_open)
|
||||
KORE_SYSCALL_ALLOW(open),
|
||||
|
@ -97,6 +105,9 @@ static struct sock_filter filter_keymgr[] = {
|
|||
KORE_SYSCALL_ALLOW(stat),
|
||||
#endif
|
||||
KORE_SYSCALL_ALLOW(fstat),
|
||||
#if defined(SYS_stat64)
|
||||
KORE_SYSCALL_ALLOW(stat64),
|
||||
#endif
|
||||
#if defined(SYS_fstat64)
|
||||
KORE_SYSCALL_ALLOW(fstat64),
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue