blob: bcbe2852f33462ed27566b45d1169fe4f650cf7b [file] [log] [blame]
Paul Lawrenceeabc3522016-11-11 11:33:42 -08001/*
2 * Copyright (C) 2016 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
Elliott Hughescbc80ba2018-02-13 14:26:29 -080017#pragma once
Paul Lawrenceeabc3522016-11-11 11:33:42 -080018
Paul Lawrence26f57b62017-03-27 15:38:37 -070019#include <stddef.h>
20#include <linux/filter.h>
21
Victor Hsieh4f02dd52017-12-20 09:19:22 -080022bool set_app_seccomp_filter();
Martijn Coenenc3752be2019-01-09 16:19:57 +010023bool set_app_zygote_seccomp_filter();
Victor Hsieh4f02dd52017-12-20 09:19:22 -080024bool set_system_seccomp_filter();
Steve Muckleaa3f96c2017-07-20 13:11:54 -070025bool set_global_seccomp_filter();