blob: 96e127e3f58b3e2faae43a093d4cd9ac103b45d6 [file] [log] [blame]
Paul Lawrencedfe84342017-02-16 09:24:39 -08001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef SECCOMP_BPFS_H
18#define SECCOMP_BPFS_H
19
20#include <stddef.h>
21#include <linux/seccomp.h>
22
23extern const struct sock_filter arm_filter[];
24extern const size_t arm_filter_size;
25extern const struct sock_filter arm64_filter[];
26extern const size_t arm64_filter_size;
Paul Lawrence89fa81f2017-02-17 10:22:03 -080027extern const struct sock_filter x86_filter[];
28extern const size_t x86_filter_size;
29extern const struct sock_filter x86_64_filter[];
30extern const size_t x86_64_filter_size;
31extern const struct sock_filter mips_filter[];
32extern const size_t mips_filter_size;
33extern const struct sock_filter mips64_filter[];
34extern const size_t mips64_filter_size;
Paul Lawrencedfe84342017-02-16 09:24:39 -080035
36#endif