| Lorenz Brun | 0de1893 | 2021-03-11 00:36:48 +0100 | [diff] [blame] | 1 | Copyright 2020 The Monogon Project Authors. | 
 | 2 |  | 
 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); | 
 | 4 | you may not use this file except in compliance with the License. | 
 | 5 | You may obtain a copy of the License at | 
 | 6 |  | 
 | 7 |   http://www.apache.org/licenses/LICENSE-2.0 | 
 | 8 |  | 
 | 9 | Unless required by applicable law or agreed to in writing, software | 
 | 10 | distributed under the License is distributed on an "AS IS" BASIS, | 
 | 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
 | 12 | See the License for the specific language governing permissions and | 
 | 13 | limitations under the License. | 
 | 14 |  | 
 | 15 |  | 
 | 16 | From f8ee9738c83ccca8f83b70605e8e7dda382f4fb7 Mon Sep 17 00:00:00 2001 | 
 | 17 | From: Lorenz Brun <lorenz@nexantic.com> | 
 | 18 | Date: Tue, 9 Mar 2021 17:08:46 +0100 | 
 | 19 | Subject: [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 |  | 
 | 34 | diff --git a/src/api.c b/src/api.c | 
 | 35 | index 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" | 
 | 47 | diff --git a/src/arch-syscall-dump.c b/src/arch-syscall-dump.c | 
 | 48 | index 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" | 
 | 60 | diff --git a/src/arch.c b/src/arch.c | 
 | 61 | index 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" | 
 | 73 | diff --git a/src/arch.h b/src/arch.h | 
 | 74 | index 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 |   | 
 | 86 | diff --git a/src/db.c b/src/db.c | 
 | 87 | index 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" | 
 | 99 | diff --git a/src/db.h b/src/db.h | 
 | 100 | index 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 |   | 
 | 112 | diff --git a/src/gen_bpf.c b/src/gen_bpf.c | 
 | 113 | index 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" | 
 | 125 | diff --git a/src/gen_pfc.c b/src/gen_pfc.c | 
 | 126 | index 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" | 
 | 138 | diff --git a/src/syscalls.c b/src/syscalls.c | 
 | 139 | index 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" | 
 | 151 | diff --git a/src/system.c b/src/system.c | 
 | 152 | index 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 | --  | 
 | 165 | 2.25.1 | 
 | 166 |  |