summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libseccomp/files/0004-syscalls-Add-quotactl_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libseccomp/files/0004-syscalls-Add-quotactl_path.patch')
-rw-r--r--meta/recipes-support/libseccomp/files/0004-syscalls-Add-quotactl_path.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-support/libseccomp/files/0004-syscalls-Add-quotactl_path.patch b/meta/recipes-support/libseccomp/files/0004-syscalls-Add-quotactl_path.patch
deleted file mode 100644
index bedf74844e..0000000000
--- a/meta/recipes-support/libseccomp/files/0004-syscalls-Add-quotactl_path.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From d59e03b5a82b3e0debc3a3c77270bd160f4309f9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 8 Jun 2021 20:42:19 -0700
4Subject: [PATCH 4/4] syscalls: Add quotactl_path
5
6Upstream-Status: Submitted [https://github.com/seccomp/libseccomp/pull/327]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 include/seccomp-syscalls.h | 7 +++++++
11 1 file changed, 7 insertions(+)
12
13diff --git a/include/seccomp-syscalls.h b/include/seccomp-syscalls.h
14index 4ff814c..dd347d3 100644
15--- a/include/seccomp-syscalls.h
16+++ b/include/seccomp-syscalls.h
17@@ -284,6 +284,7 @@
18 #define __PNR_clock_nanosleep -10250
19 #define __PNR_gettimeofday -10251
20 #define __PNR_fcntl -10252
21+#define __PNR_quotactl_path -10253
22
23 /*
24 * libseccomp syscall definitions
25@@ -1557,6 +1558,12 @@
26 #define __SNR_riscv_flush_icache __PNR_riscv_flush_icache
27 #endif
28
29+#ifdef __NR_quotactl_path
30+#define __SNR_quotactl_path __NR_quotactl_path
31+#else
32+#define __SNR_quotactl_path __PNR_quotactl_path
33+#endif
34+
35 #ifdef __NR_rmdir
36 #define __SNR_rmdir __NR_rmdir
37 #else
38--
392.33.0
40