external/busybox
リビジョン | 068dd73cdac2dd536ef3b3a00c3578d3580db0aa (tree) |
---|---|
日時 | 2014-08-20 06:28:38 |
作者 | HazouPH <jgrharbers@gmai...> |
コミッター | HazouPH |
[x86] Android 4.4.4 for x86 needs new implementation of "security_compute_relabel"
Change-Id: I2e15f58f11c9ee74ed8e1b7bf731efd881b890d9
@@ -19,18 +19,10 @@ int get_default_context(const char* user, | ||
19 | 19 | /* Compute a relabeling decision and set *newcon to refer to it. |
20 | 20 | Caller must free via freecon. |
21 | 21 | Stub not implemented in bionic, but declared in selinux.h */ |
22 | -#if defined(BIONIC_L) || !defined(__i386__) | |
23 | 22 | int security_compute_relabel(const char *scon UNUSED_PARAM, |
24 | 23 | const char *tcon, |
25 | 24 | security_class_t tclass UNUSED_PARAM, |
26 | 25 | char ** newcon) |
27 | -#else | |
28 | -/* this was changed after 4.4.2 */ | |
29 | -int security_compute_relabel(const security_context_t scon UNUSED_PARAM, | |
30 | - const security_context_t tcon, | |
31 | - security_class_t tclass UNUSED_PARAM, | |
32 | - security_context_t *newcon) | |
33 | -#endif | |
34 | 26 | { |
35 | 27 | if (tcon) |
36 | 28 | *newcon = strdup(tcon); |