• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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

変更サマリ

差分

--- a/android/selinux/stubs.c
+++ b/android/selinux/stubs.c
@@ -19,18 +19,10 @@ int get_default_context(const char* user,
1919 /* Compute a relabeling decision and set *newcon to refer to it.
2020 Caller must free via freecon.
2121 Stub not implemented in bionic, but declared in selinux.h */
22-#if defined(BIONIC_L) || !defined(__i386__)
2322 int security_compute_relabel(const char *scon UNUSED_PARAM,
2423 const char *tcon,
2524 security_class_t tclass UNUSED_PARAM,
2625 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
3426 {
3527 if (tcon)
3628 *newcon = strdup(tcon);