Unbreak seccomp filter on ARM (#1796267)
This commit is contained in:
parent
657d132847
commit
7f46693182
@ -29,12 +29,15 @@ diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
|
|||||||
index be239767..3ef30c9d 100644
|
index be239767..3ef30c9d 100644
|
||||||
--- a/sandbox-seccomp-filter.c
|
--- a/sandbox-seccomp-filter.c
|
||||||
+++ b/sandbox-seccomp-filter.c
|
+++ b/sandbox-seccomp-filter.c
|
||||||
@@ -245,6 +245,9 @@ static const struct sock_filter preauth_insns[] = {
|
@@ -245,6 +245,12 @@ static const struct sock_filter preauth_insns[] = {
|
||||||
#ifdef __NR_clock_nanosleep
|
#ifdef __NR_clock_nanosleep
|
||||||
SC_ALLOW(__NR_clock_nanosleep),
|
SC_ALLOW(__NR_clock_nanosleep),
|
||||||
#endif
|
#endif
|
||||||
+#ifdef __NR_clock_nanosleep_time64
|
+#ifdef __NR_clock_nanosleep_time64
|
||||||
+ SC_ALLOW(__NR_clock_nanosleep_time64),
|
+ SC_ALLOW(__NR_clock_nanosleep_time64),
|
||||||
|
+#endif
|
||||||
|
+#ifdef __NR_clock_gettime64
|
||||||
|
+ SC_ALLOW(__NR_clock_gettime64),
|
||||||
+#endif
|
+#endif
|
||||||
#ifdef __NR__newselect
|
#ifdef __NR__newselect
|
||||||
SC_ALLOW(__NR__newselect),
|
SC_ALLOW(__NR__newselect),
|
||||||
|
Loading…
Reference in New Issue
Block a user