changeset 5512:adb3ad34082f draft

privsep: allow gettimeofday for SECCOMP We need it for logging.
author Roy Marples <roy@marples.name>
date Sat, 10 Oct 2020 15:06:59 +0100
parents 618c0ef1bae8
children 93df3880bcaa
files src/privsep-linux.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/privsep-linux.c	Sat Oct 10 14:46:25 2020 +0100
+++ b/src/privsep-linux.c	Sat Oct 10 15:06:59 2020 +0100
@@ -226,6 +226,9 @@
 #ifdef __NR_fstat
 	SECCOMP_ALLOW(__NR_fstat),
 #endif
+#ifdef __NR_gettimeofday
+	SECCOMP_ALLOW(__NR_gettimeofday),
+#endif
 #ifdef __NR_getpid
 	SECCOMP_ALLOW(__NR_getpid),
 #endif