summaryrefslogtreecommitdiff
path: root/sys_linux.c
diff options
context:
space:
mode:
authorVincent Blut <vincent.debian@free.fr>2023-06-21 14:36:53 +0200
committerVincent Blut <vincent.debian@free.fr>2023-06-21 14:36:53 +0200
commitb2de3b1400b72342a55e3efd238cbff97aef1ab9 (patch)
treef34d192082bbf0629cc615a1c43b0edb7f1acf2a /sys_linux.c
parentb231f4a05a03d4e7c3d27c9934f02f6ac1894018 (diff)
New upstream version 4.4~pre2
Diffstat (limited to 'sys_linux.c')
-rw-r--r--sys_linux.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys_linux.c b/sys_linux.c
index 2a5eb8f..6849637 100644
--- a/sys_linux.c
+++ b/sys_linux.c
@@ -498,6 +498,9 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
SCMP_SYS(getrlimit),
SCMP_SYS(getuid),
SCMP_SYS(getuid32),
+#ifdef __NR_membarrier
+ SCMP_SYS(membarrier),
+#endif
#ifdef __NR_rseq
SCMP_SYS(rseq),
#endif
@@ -600,6 +603,7 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
SCMP_SYS(select),
SCMP_SYS(set_robust_list),
SCMP_SYS(write),
+ SCMP_SYS(writev),
/* Miscellaneous */
SCMP_SYS(getrandom),
@@ -654,7 +658,7 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
const static int fcntls[] = { F_GETFD, F_SETFD, F_GETFL, F_SETFL };
const static unsigned long ioctls[] = {
- FIONREAD, TCGETS,
+ FIONREAD, TCGETS, TIOCGWINSZ,
#if defined(FEAT_PHC) || defined(HAVE_LINUX_TIMESTAMPING)
PTP_EXTTS_REQUEST, PTP_SYS_OFFSET,
#ifdef PTP_PIN_SETFUNC