blob: bedf74844e33b1eb08c99fad2468670a9b76246b [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001From 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