xref: /aosp_15_r20/system/libhidl/minijail/include/hwminijail/HardwareMinijail.h (revision 8222fbe171c3d6fadfe95119c180cf3010c392a8)
1*8222fbe1SAndroid Build Coastguard Worker //
2*8222fbe1SAndroid Build Coastguard Worker // Copyright (C) 2017 The Android Open Source Project
3*8222fbe1SAndroid Build Coastguard Worker //
4*8222fbe1SAndroid Build Coastguard Worker // Licensed under the Apache License, Version 2.0 (the "License");
5*8222fbe1SAndroid Build Coastguard Worker // you may not use this file except in compliance with the License.
6*8222fbe1SAndroid Build Coastguard Worker // You may obtain a copy of the License at
7*8222fbe1SAndroid Build Coastguard Worker //
8*8222fbe1SAndroid Build Coastguard Worker //      http://www.apache.org/licenses/LICENSE-2.0
9*8222fbe1SAndroid Build Coastguard Worker //
10*8222fbe1SAndroid Build Coastguard Worker // Unless required by applicable law or agreed to in writing, software
11*8222fbe1SAndroid Build Coastguard Worker // distributed under the License is distributed on an "AS IS" BASIS,
12*8222fbe1SAndroid Build Coastguard Worker // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*8222fbe1SAndroid Build Coastguard Worker // See the License for the specific language governing permissions and
14*8222fbe1SAndroid Build Coastguard Worker // limitations under the License.
15*8222fbe1SAndroid Build Coastguard Worker //
16*8222fbe1SAndroid Build Coastguard Worker 
17*8222fbe1SAndroid Build Coastguard Worker #ifndef ANDROID_HARDWARE_CONFIGSTORE_MINIJAIL_H
18*8222fbe1SAndroid Build Coastguard Worker #define ANDROID_HARDWARE_CONFIGSTORE_MINIJAIL_H
19*8222fbe1SAndroid Build Coastguard Worker 
20*8222fbe1SAndroid Build Coastguard Worker #include <string>
21*8222fbe1SAndroid Build Coastguard Worker 
22*8222fbe1SAndroid Build Coastguard Worker namespace android {
23*8222fbe1SAndroid Build Coastguard Worker namespace hardware {
24*8222fbe1SAndroid Build Coastguard Worker 
25*8222fbe1SAndroid Build Coastguard Worker void SetupMinijail(const std::string& seccomp_policy_path);
26*8222fbe1SAndroid Build Coastguard Worker 
27*8222fbe1SAndroid Build Coastguard Worker }  // namespace hardware
28*8222fbe1SAndroid Build Coastguard Worker }  // namespace android
29*8222fbe1SAndroid Build Coastguard Worker 
30*8222fbe1SAndroid Build Coastguard Worker #endif  // ANDROID_HARDWARE_CONFIGSTORE_UTILS_H
31