]> git.pld-linux.org Git - packages/firefox.git/blame - firefox-time64.patch
libmozsandbox now also on arm
[packages/firefox.git] / firefox-time64.patch
CommitLineData
3aa7732f
JB
1--- firefox-81.0.1/security/sandbox/linux/SandboxFilter.cpp.orig 2020-09-30 19:41:50.000000000 +0200
2+++ firefox-81.0.1/security/sandbox/linux/SandboxFilter.cpp 2020-10-04 20:11:32.552050641 +0200
3@@ -479,7 +479,13 @@
4
5 switch (sysno) {
6 // Timekeeping
7+#ifdef __NR_clock_nanosleep_time64
8+ case __NR_clock_nanosleep_time64:
9+#endif
10 case __NR_clock_nanosleep:
645f9437 11+#ifdef __NR_clock_getres_time64
3aa7732f
JB
12+ case __NR_clock_getres_time64:
13+#endif
14 case __NR_clock_getres:
15 #ifdef __NR_clock_gettime64
16 case __NR_clock_gettime64:
17@@ -513,6 +519,9 @@
18 return Allow();
19
20 // Thread synchronization
21+#ifdef __NR_futex_time64
22+ case __NR_futex_time64:
23+#endif
24 case __NR_futex:
25 // FIXME: This could be more restrictive....
26 return Allow();
27@@ -523,6 +532,9 @@
645f9437
JP
28 CASES_FOR_epoll_create:
29 CASES_FOR_epoll_wait:
3aa7732f
JB
30 case __NR_epoll_ctl:
31+#ifdef __NR_ppoll_time64
32+ case __NR_ppoll_time64:
33+#endif
645f9437 34 CASES_FOR_poll:
3aa7732f 35 return Allow();
645f9437 36
3aa7732f
JB
37@@ -1095,6 +1107,9 @@
38 #endif
39
40 CASES_FOR_select:
41+#ifdef __NR_pselect6_time64
42+ case __NR_pselect6_time64:
43+#endif
3aa7732f
JB
44 return Allow();
45
645f9437 46 CASES_FOR_getdents:
This page took 0.03414 seconds and 4 git commands to generate.