blob: 5cd94ca5522822bab5e2eeb8ebf4a7834a1652d2 [file] [log] [blame]
Lorenz Brun0de18932021-03-11 00:36:48 +01001Copyright 2020 The Monogon Project Authors.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14
15
16From f8ee9738c83ccca8f83b70605e8e7dda382f4fb7 Mon Sep 17 00:00:00 2001
17From: Lorenz Brun <lorenz@nexantic.com>
18Date: Tue, 9 Mar 2021 17:08:46 +0100
19Subject: [PATCH 1/2] bazel_cc_fix patch
20
21---
22 src/api.c | 2 +-
23 src/arch-syscall-dump.c | 2 +-
24 src/arch.c | 2 +-
25 src/arch.h | 2 +-
26 src/db.c | 2 +-
27 src/db.h | 2 +-
28 src/gen_bpf.c | 2 +-
29 src/gen_pfc.c | 2 +-
30 src/syscalls.c | 2 +-
31 src/system.c | 2 +-
32 10 files changed, 10 insertions(+), 10 deletions(-)
33
34diff --git a/src/api.c b/src/api.c
35index 5cec088..b3f3b33 100644
36--- a/src/api.c
37+++ b/src/api.c
38@@ -29,7 +29,7 @@
39 #include <stdbool.h>
40 #include <sys/ioctl.h>
41
42-#include <seccomp.h>
43+#include "seccomp.h"
44
45 #include "arch.h"
46 #include "db.h"
47diff --git a/src/arch-syscall-dump.c b/src/arch-syscall-dump.c
48index 2055d34..59881a6 100644
49--- a/src/arch-syscall-dump.c
50+++ b/src/arch-syscall-dump.c
51@@ -27,7 +27,7 @@
52 #include <string.h>
53 #include <unistd.h>
54
55-#include <seccomp.h>
56+#include "seccomp.h"
57
58 #include "arch.h"
59 #include "arch-x86.h"
60diff --git a/src/arch.c b/src/arch.c
61index 73bf710..0184ed8 100644
62--- a/src/arch.c
63+++ b/src/arch.c
64@@ -27,7 +27,7 @@
65 #include <linux/audit.h>
66 #include <stdbool.h>
67
68-#include <seccomp.h>
69+#include "seccomp.h"
70
71 #include "arch.h"
72 #include "arch-x86.h"
73diff --git a/src/arch.h b/src/arch.h
74index 38c3a9c..33f46a5 100644
75--- a/src/arch.h
76+++ b/src/arch.h
77@@ -26,7 +26,7 @@
78 #include <stddef.h>
79 #include <stdbool.h>
80
81-#include <seccomp.h>
82+#include "seccomp.h"
83
84 #include "system.h"
85
86diff --git a/src/db.c b/src/db.c
87index 2dc9733..678890d 100644
88--- a/src/db.c
89+++ b/src/db.c
90@@ -27,7 +27,7 @@
91 #include <string.h>
92 #include <stdarg.h>
93
94-#include <seccomp.h>
95+#include "seccomp.h"
96
97 #include "arch.h"
98 #include "db.h"
99diff --git a/src/db.h b/src/db.h
100index 765c607..ffeaeaa 100644
101--- a/src/db.h
102+++ b/src/db.h
103@@ -25,7 +25,7 @@
104 #include <inttypes.h>
105 #include <stdbool.h>
106
107-#include <seccomp.h>
108+#include "seccomp.h"
109
110 #include "arch.h"
111
112diff --git a/src/gen_bpf.c b/src/gen_bpf.c
113index 6961d09..c0b60e4 100644
114--- a/src/gen_bpf.c
115+++ b/src/gen_bpf.c
116@@ -32,7 +32,7 @@
117 #endif
118 #include <endian.h>
119
120-#include <seccomp.h>
121+#include "seccomp.h"
122
123 #include "arch.h"
124 #include "arch-x32.h"
125diff --git a/src/gen_pfc.c b/src/gen_pfc.c
126index 405f080..fd2e187 100644
127--- a/src/gen_pfc.c
128+++ b/src/gen_pfc.c
129@@ -29,7 +29,7 @@
130 /* NOTE: needed for the arch->token decoding in _pfc_arch() */
131 #include <linux/audit.h>
132
133-#include <seccomp.h>
134+#include "seccomp.h"
135
136 #include "arch.h"
137 #include "db.h"
138diff --git a/src/syscalls.c b/src/syscalls.c
139index 9091fa9..72e26ab 100644
140--- a/src/syscalls.c
141+++ b/src/syscalls.c
142@@ -19,7 +19,7 @@
143 * You should have received a copy of the GNU Lesser General Public License
144 * along with this library; if not, see <http://www.gnu.org/licenses>.
145 */
146-#include <seccomp.h>
147+#include "seccomp.h"
148 #include <string.h>
149
150 #include "arch.h"
151diff --git a/src/system.c b/src/system.c
152index ae445bf..44f5b5c 100644
153--- a/src/system.c
154+++ b/src/system.c
155@@ -28,7 +28,7 @@
156
157 #include "system.h"
158
159-#include <seccomp.h>
160+#include "seccomp.h"
161
162 #include "arch.h"
163 #include "db.h"
164--
1652.25.1
166