aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-10-04 16:13:14 -0700
committerElliott Hughes <enh@google.com>2018-10-04 16:13:14 -0700
commitee87941ab772ef30fcde0ab0f7dd2e87e1f14ec1 (patch)
treefcdebee5b4c63d0dfd33b093aa7ed9506794620f
parent635ccb3e56c0bce01cca27f362d5926aa1d2055a (diff)
downloadselinux-master-cuttlefish-testing-release.tar.gz
Add more functions to the host libselinux.master-cuttlefish-testing-release
I'd like to build the exact same toybox binary for the host as for the device, with the aim of getting a more hermetic build without maintaining two toyboxes. Bug: N/A Test: builds Change-Id: Ib6a1775100e43722ddf1dcfcc13e85703c9986f1
-rw-r--r--libselinux/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libselinux/Android.bp b/libselinux/Android.bp
index 86e002ea..f0857fb5 100644
--- a/libselinux/Android.bp
+++ b/libselinux/Android.bp
@@ -126,14 +126,19 @@ cc_library {
"src/compute_member.c",
"src/context.c",
"src/enabled.c",
+ "src/fgetfilecon.c",
"src/getenforce.c",
"src/getfilecon.c",
"src/get_initial_context.c",
"src/init.c",
+ "src/lgetfilecon.c",
"src/load_policy.c",
+ "src/lsetfilecon.c",
"src/mapping.c",
"src/procattr.c",
+ "src/setenforce.c",
"src/setexecfilecon.c",
+ "src/setfilecon.c",
"src/stringrep.c",
],
},