changeset 5540:a6ee95eb8e60 draft

privsep: Allow fcntl64 and fstat64 to fix ARM32 talking to the controller We already allow fcntl and fstat so this is not a problem.
author Matthew Clarkson <mclarkson@reliablecontrols.com>
date Fri, 13 Nov 2020 08:22:42 +0000
parents 33b56ca3a0e5
children f233c9381c56
files src/privsep-linux.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/privsep-linux.c	Fri Nov 13 08:21:12 2020 +0000
+++ b/src/privsep-linux.c	Fri Nov 13 08:22:42 2020 +0000
@@ -236,9 +236,15 @@
 #ifdef __NR_fcntl
 	SECCOMP_ALLOW(__NR_fcntl),
 #endif
+#ifdef __NR_fcntl64
+	SECCOMP_ALLOW(__NR_fcntl64),
+#endif
 #ifdef __NR_fstat
 	SECCOMP_ALLOW(__NR_fstat),
 #endif
+#ifdef __NR_fstat64
+	SECCOMP_ALLOW(__NR_fstat64),
+#endif
 #ifdef __NR_gettimeofday
 	SECCOMP_ALLOW(__NR_gettimeofday),
 #endif