diff options
author | Colin Cross <ccross@android.com> | 2015-12-21 16:29:02 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2015-12-21 16:29:02 -0800 |
commit | 061e4a7d59ce1424fea061fa9a47fa33e640e821 (patch) | |
tree | cc1fce0a420a9c6de90b39e610961d9f1c263015 /debuggerd | |
parent | c1caf88f25a10a22e0582b2ee4724252f12c3a81 (diff) | |
download | system_core-061e4a7d59ce1424fea061fa9a47fa33e640e821.tar.gz system_core-061e4a7d59ce1424fea061fa9a47fa33e640e821.tar.bz2 system_core-061e4a7d59ce1424fea061fa9a47fa33e640e821.zip |
debuggerd_test: provide stub selinux/android.h
debuggerd_test stubs out the selinux/android.h interface, but was
relying on copied selinux headers to declare the interface. Create a
stub selinux/android.h header included by the test to declare the
interface.
Change-Id: I6a2d402dda1797deb2515f10b663b1a84d498eac
Diffstat (limited to 'debuggerd')
-rw-r--r-- | debuggerd/test/selinux/android.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debuggerd/test/selinux/android.h b/debuggerd/test/selinux/android.h new file mode 100644 index 000000000..abed0870c --- /dev/null +++ b/debuggerd/test/selinux/android.h @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2015 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. + */ + +extern "C" int selinux_android_restorecon(const char*, unsigned int); |