Files
openloongarch-buildroot-202…/package/libseccomp/0004-31-parisc_syscalls_linux415.patch
maoxiaochuan 216db098cc libseccomp: support libseccomp compile (2.3.3 version)
添加 libseccomp 库的编译

Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
2025-02-12 18:27:19 +08:00

35 lines
1.2 KiB
Diff

Description: arch: update the syscalls for Linux v4.15-rc7
Origin: cherry-picked parts from c842c2f6c203ad9da37ca60219172aa0be68d26a
--- a/src/arch-parisc-syscalls.c
+++ b/src/arch-parisc-syscalls.c
@@ -10,7 +10,7 @@
#include "arch.h"
#include "arch-parisc.h"
-/* NOTE: based on Linux 4.14 */
+/* NOTE: based on Linux 4.15-rc7 */
const struct arch_syscall_def parisc_syscall_table[] = { \
{ "_llseek", 140 },
{ "_newselect", 142 },
@@ -106,6 +106,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "get_mempolicy", 261 },
{ "get_robust_list", 290 },
{ "get_thread_area", 214 },
+ { "get_tls", __PNR_get_tls },
{ "getcpu", 296 },
{ "getcwd", 110 },
{ "getdents", 141 },
@@ -288,9 +289,11 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "rt_sigtimedwait", 177 },
{ "rt_tgsigqueueinfo", 317 },
{ "rtas", __PNR_rtas },
+ { "s390_guarded_storage", __PNR_s390_guarded_storage },
{ "s390_pci_mmio_read", __PNR_s390_pci_mmio_read },
{ "s390_pci_mmio_write", __PNR_s390_pci_mmio_write },
{ "s390_runtime_instr", __PNR_s390_runtime_instr },
+ { "s390_sthyi", __PNR_s390_sthyi },
{ "sched_get_priority_max", 159 },
{ "sched_get_priority_min", 160 },
{ "sched_getaffinity", 212 },