38131e7ba8
This is an AIDL service exposed by Virtualization Service to system server (VirtualizationSystemService). The implementation is Rust so no fuzzer is required. I've put this behind the flag on general principle. Bug: 294177871 Test: atest MicrodroidTests Change-Id: Ia867fe27fb2e76d9688e4ba650ebf7b3f51ee597
48 lines
1.6 KiB
Text
48 lines
1.6 KiB
Text
// Copyright (C) 2023 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// This module contains a list of build time flags (defined on AOSP) for sepolicy.
|
|
// Additional se_flags modules can be added anywhere for additional flags.
|
|
se_flags {
|
|
name: "aosp_selinux_flags",
|
|
flags: [
|
|
"RELEASE_AVF_ENABLE_DEVICE_ASSIGNMENT",
|
|
"RELEASE_AVF_ENABLE_LLPVM_CHANGES",
|
|
"RELEASE_HARDWARE_BLUETOOTH_RANGING_SERVICE",
|
|
],
|
|
export_to: ["all_selinux_flags"],
|
|
}
|
|
|
|
// se_flags_collector collects flags from exported se_flags modules and converts it to build flags.
|
|
se_flags_collector {
|
|
name: "all_selinux_flags",
|
|
}
|
|
|
|
se_policy_conf_defaults {
|
|
name: "se_policy_conf_flags_defaults",
|
|
srcs: [":sepolicy_flagging_macros"],
|
|
build_flags: ["all_selinux_flags"],
|
|
}
|
|
|
|
contexts_defaults {
|
|
name: "contexts_flags_defaults",
|
|
srcs: [":sepolicy_flagging_macros"],
|
|
neverallow_files: [":sepolicy_flagging_macros"], // for seapp_contexts
|
|
build_flags: ["all_selinux_flags"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "sepolicy_flagging_macros",
|
|
srcs: ["te_macros"],
|
|
}
|