512e7d3e4c
[ci:skip-build] already built successfully in CI
30 lines
943 B
Diff
30 lines
943 B
Diff
From 2e9b4f85f5c1eb2bd269c0dbd1e201841c4c5014 Mon Sep 17 00:00:00 2001
|
|
From: Adrian Chelaru <che.adrian@yahoo.com>
|
|
Date: Wed, 8 Feb 2023 16:40:33 +0000
|
|
Subject: [PATCH 4/5] Backport asm generic add memfd_create system call to
|
|
unistd
|
|
|
|
---
|
|
include/asm-generic/unistd.h | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
|
|
index 991ef01c..f36a75c2 100644
|
|
--- a/include/asm-generic/unistd.h
|
|
+++ b/include/asm-generic/unistd.h
|
|
@@ -691,9 +691,11 @@ __SC_COMP(__NR_process_vm_readv, sys_process_vm_readv, \
|
|
#define __NR_process_vm_writev 271
|
|
__SC_COMP(__NR_process_vm_writev, sys_process_vm_writev, \
|
|
compat_sys_process_vm_writev)
|
|
+#define __NR_memfd_create 279
|
|
+__SYSCALL(__NR_memfd_create, sys_memfd_create)
|
|
|
|
#undef __NR_syscalls
|
|
-#define __NR_syscalls 272
|
|
+#define __NR_syscalls 280
|
|
|
|
/*
|
|
* All syscalls below here should go away really,
|
|
--
|
|
2.38.3
|
|
|