]> git.pld-linux.org Git - packages/firefox.git/blob - firefox-time64.patch
libmozsandbox now also on arm
[packages/firefox.git] / firefox-time64.patch
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:
11 +#ifdef __NR_clock_getres_time64
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 @@
28        CASES_FOR_epoll_create:
29        CASES_FOR_epoll_wait:
30        case __NR_epoll_ctl:
31 +#ifdef __NR_ppoll_time64
32 +      case __NR_ppoll_time64:
33 +#endif
34        CASES_FOR_poll:
35          return Allow();
36  
37 @@ -1095,6 +1107,9 @@
38  #endif
39  
40        CASES_FOR_select:
41 +#ifdef __NR_pselect6_time64
42 +      case __NR_pselect6_time64:
43 +#endif
44          return Allow();
45  
46        CASES_FOR_getdents:
This page took 0.022454 seconds and 3 git commands to generate.