summaryrefslogtreecommitdiff
authorHazouPH <jgrharbers@gmail.com>2014-08-19 21:28:38 (GMT)
committer HazouPH <jgrharbers@gmail.com>2014-08-19 21:28:38 (GMT)
commit068dd73cdac2dd536ef3b3a00c3578d3580db0aa (patch)
tree98e6158b199b582bb8d100ecd00019e90b61459f
parent39046bad23a7b0379b401561b9b613a6623bd2fa (diff)
downloadbusybox-068dd73cdac2dd536ef3b3a00c3578d3580db0aa.zip
busybox-068dd73cdac2dd536ef3b3a00c3578d3580db0aa.tar.gz
busybox-068dd73cdac2dd536ef3b3a00c3578d3580db0aa.tar.bz2
[x86] Android 4.4.4 for x86 needs new implementation of "security_compute_relabel"
Change-Id: I2e15f58f11c9ee74ed8e1b7bf731efd881b890d9
Diffstat
-rw-r--r--android/selinux/stubs.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/android/selinux/stubs.c b/android/selinux/stubs.c
index 7bcbc95..c01bc57 100644
--- a/android/selinux/stubs.c
+++ b/android/selinux/stubs.c
@@ -19,18 +19,10 @@ int get_default_context(const char* user,
/* Compute a relabeling decision and set *newcon to refer to it.
Caller must free via freecon.
Stub not implemented in bionic, but declared in selinux.h */
-#if defined(BIONIC_L) || !defined(__i386__)
int security_compute_relabel(const char *scon UNUSED_PARAM,
const char *tcon,
security_class_t tclass UNUSED_PARAM,
char ** newcon)
-#else
-/* this was changed after 4.4.2 */
-int security_compute_relabel(const security_context_t scon UNUSED_PARAM,
- const security_context_t tcon,
- security_class_t tclass UNUSED_PARAM,
- security_context_t *newcon)
-#endif
{
if (tcon)
*newcon = strdup(tcon);