diff options
author | netblue30 <netblue30@yahoo.com> | 2018-01-19 07:59:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-19 07:59:03 -0500 |
commit | 03be642246587e2dcfd95f9e9a76ba11088abf76 (patch) | |
tree | 096939e69308bbbc25d1a308b4b768357ec68f7c | |
parent | remove QML_DISABLE_DISK_CACHE from disable-common.inc (diff) | |
parent | add new syscalls from glibc 2.26-10 (diff) | |
download | firejail-03be642246587e2dcfd95f9e9a76ba11088abf76.tar.gz firejail-03be642246587e2dcfd95f9e9a76ba11088abf76.tar.zst firejail-03be642246587e2dcfd95f9e9a76ba11088abf76.zip |
Merge pull request #1738 from vn971/add_syscalls_glibc_2.26
add new syscalls from glibc 2.26-10
-rw-r--r-- | src/include/syscall.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/src/include/syscall.h b/src/include/syscall.h index c8262e060..6d301158e 100644 --- a/src/include/syscall.h +++ b/src/include/syscall.h | |||
@@ -71,6 +71,11 @@ | |||
71 | {"alarm", __NR_alarm}, | 71 | {"alarm", __NR_alarm}, |
72 | #endif | 72 | #endif |
73 | #endif | 73 | #endif |
74 | #ifdef SYS_arch_prctl | ||
75 | #ifdef __NR_arch_prctl | ||
76 | {"arch_prctl", __NR_arch_prctl}, | ||
77 | #endif | ||
78 | #endif | ||
74 | #ifdef SYS_bdflush | 79 | #ifdef SYS_bdflush |
75 | #ifdef __NR_bdflush | 80 | #ifdef __NR_bdflush |
76 | {"bdflush", __NR_bdflush}, | 81 | {"bdflush", __NR_bdflush}, |
@@ -1051,6 +1056,21 @@ | |||
1051 | {"pivot_root", __NR_pivot_root}, | 1056 | {"pivot_root", __NR_pivot_root}, |
1052 | #endif | 1057 | #endif |
1053 | #endif | 1058 | #endif |
1059 | #ifdef SYS_pkey_alloc | ||
1060 | #ifdef __NR_pkey_alloc | ||
1061 | {"pkey_alloc", __NR_pkey_alloc}, | ||
1062 | #endif | ||
1063 | #endif | ||
1064 | #ifdef SYS_pkey_free | ||
1065 | #ifdef __NR_pkey_free | ||
1066 | {"pkey_free", __NR_pkey_free}, | ||
1067 | #endif | ||
1068 | #endif | ||
1069 | #ifdef SYS_pkey_mprotect | ||
1070 | #ifdef __NR_pkey_mprotect | ||
1071 | {"pkey_mprotect", __NR_pkey_mprotect}, | ||
1072 | #endif | ||
1073 | #endif | ||
1054 | #ifdef SYS_poll | 1074 | #ifdef SYS_poll |
1055 | #ifdef __NR_poll | 1075 | #ifdef __NR_poll |
1056 | {"poll", __NR_poll}, | 1076 | {"poll", __NR_poll}, |
@@ -1636,6 +1656,11 @@ | |||
1636 | {"statfs64", __NR_statfs64}, | 1656 | {"statfs64", __NR_statfs64}, |
1637 | #endif | 1657 | #endif |
1638 | #endif | 1658 | #endif |
1659 | #ifdef SYS_statx | ||
1660 | #ifdef __NR_statx | ||
1661 | {"statx", __NR_statx}, | ||
1662 | #endif | ||
1663 | #endif | ||
1639 | #ifdef SYS_stime | 1664 | #ifdef SYS_stime |
1640 | #ifdef __NR_stime | 1665 | #ifdef __NR_stime |
1641 | {"stime", __NR_stime}, | 1666 | {"stime", __NR_stime}, |
@@ -2814,6 +2839,21 @@ | |||
2814 | {"pivot_root", __NR_pivot_root}, | 2839 | {"pivot_root", __NR_pivot_root}, |
2815 | #endif | 2840 | #endif |
2816 | #endif | 2841 | #endif |
2842 | #ifdef SYS_pkey_alloc | ||
2843 | #ifdef __NR_pkey_alloc | ||
2844 | {"pkey_alloc", __NR_pkey_alloc}, | ||
2845 | #endif | ||
2846 | #endif | ||
2847 | #ifdef SYS_pkey_free | ||
2848 | #ifdef __NR_pkey_free | ||
2849 | {"pkey_free", __NR_pkey_free}, | ||
2850 | #endif | ||
2851 | #endif | ||
2852 | #ifdef SYS_pkey_mprotect | ||
2853 | #ifdef __NR_pkey_mprotect | ||
2854 | {"pkey_mprotect", __NR_pkey_mprotect}, | ||
2855 | #endif | ||
2856 | #endif | ||
2817 | #ifdef SYS_poll | 2857 | #ifdef SYS_poll |
2818 | #ifdef __NR_poll | 2858 | #ifdef __NR_poll |
2819 | {"poll", __NR_poll}, | 2859 | {"poll", __NR_poll}, |
@@ -3324,6 +3364,11 @@ | |||
3324 | {"statfs", __NR_statfs}, | 3364 | {"statfs", __NR_statfs}, |
3325 | #endif | 3365 | #endif |
3326 | #endif | 3366 | #endif |
3367 | #ifdef SYS_statx | ||
3368 | #ifdef __NR_statx | ||
3369 | {"statx", __NR_statx}, | ||
3370 | #endif | ||
3371 | #endif | ||
3327 | #ifdef SYS_swapoff | 3372 | #ifdef SYS_swapoff |
3328 | #ifdef __NR_swapoff | 3373 | #ifdef __NR_swapoff |
3329 | {"swapoff", __NR_swapoff}, | 3374 | {"swapoff", __NR_swapoff}, |
@@ -4427,6 +4472,21 @@ | |||
4427 | {"pivot_root", __NR_pivot_root}, | 4472 | {"pivot_root", __NR_pivot_root}, |
4428 | #endif | 4473 | #endif |
4429 | #endif | 4474 | #endif |
4475 | #ifdef SYS_pkey_alloc | ||
4476 | #ifdef __NR_pkey_alloc | ||
4477 | {"pkey_alloc", __NR_pkey_alloc}, | ||
4478 | #endif | ||
4479 | #endif | ||
4480 | #ifdef SYS_pkey_free | ||
4481 | #ifdef __NR_pkey_free | ||
4482 | {"pkey_free", __NR_pkey_free}, | ||
4483 | #endif | ||
4484 | #endif | ||
4485 | #ifdef SYS_pkey_mprotect | ||
4486 | #ifdef __NR_pkey_mprotect | ||
4487 | {"pkey_mprotect", __NR_pkey_mprotect}, | ||
4488 | #endif | ||
4489 | #endif | ||
4430 | #ifdef SYS_poll | 4490 | #ifdef SYS_poll |
4431 | #ifdef __NR_poll | 4491 | #ifdef __NR_poll |
4432 | {"poll", __NR_poll}, | 4492 | {"poll", __NR_poll}, |
@@ -4927,6 +4987,11 @@ | |||
4927 | {"statfs", __NR_statfs}, | 4987 | {"statfs", __NR_statfs}, |
4928 | #endif | 4988 | #endif |
4929 | #endif | 4989 | #endif |
4990 | #ifdef SYS_statx | ||
4991 | #ifdef __NR_statx | ||
4992 | {"statx", __NR_statx}, | ||
4993 | #endif | ||
4994 | #endif | ||
4930 | #ifdef SYS_swapoff | 4995 | #ifdef SYS_swapoff |
4931 | #ifdef __NR_swapoff | 4996 | #ifdef __NR_swapoff |
4932 | {"swapoff", __NR_swapoff}, | 4997 | {"swapoff", __NR_swapoff}, |