Add disable_configstore am: 775bd7cb9a
am: 4ed7ce16a4
Change-Id: I4dc838f603437d5d4eb94089f04871040553a356
This commit is contained in:
commit
c500a06b00
2 changed files with 30 additions and 0 deletions
|
@ -35,3 +35,14 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc/seccomp_policy
|
|||
LOCAL_SRC_FILES := seccomp_policy/configstore@1.1-$(TARGET_ARCH).policy
|
||||
include $(BUILD_PREBUILT)
|
||||
endif
|
||||
|
||||
# disable configstore
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := disable_configstore
|
||||
LOCAL_MODULE_CLASS := EXECUTABLES
|
||||
LOCAL_SRC_FILES:= disable_configstore.cpp
|
||||
LOCAL_OVERRIDES_MODULES := android.hardware.configstore@1.1-service
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
|
19
configstore/1.1/default/disable_configstore.cpp
Normal file
19
configstore/1.1/default/disable_configstore.cpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.1 (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.1
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
int main() {
|
||||
return 1;
|
||||
}
|
Loading…
Reference in a new issue