diff options
| author | Tom Cherry <tomcherry@google.com> | 2017-05-09 01:20:35 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2017-05-09 01:20:35 +0000 |
| commit | 2c0f09d48940927254ff367ed88610f79cbb01ed (patch) | |
| tree | c9605c16e549db813425bc3fcc1945eacf319803 /init/builtins.cpp | |
| parent | 3bc9e2a40b9a91a3e2c948705d58f169fa1866a9 (diff) | |
| parent | f6aeadcd580ff5886211636c62318ccc007c05a1 (diff) | |
Merge "init: remove restorecon() from util.cpp" into oc-dev-plus-aosp
am: 2813d87484
Change-Id: Ib6619f696fb08b99410b3a33221fe8eacebf89d6
Diffstat (limited to 'init/builtins.cpp')
| -rw-r--r-- | init/builtins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/builtins.cpp b/init/builtins.cpp index 56cbaa7f73..bdd86ed2eb 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -779,7 +779,7 @@ static int do_restorecon(const std::vector<std::string>& args) { } } else { in_flags = false; - if (restorecon(args[i].c_str(), flag) < 0) { + if (selinux_android_restorecon(args[i].c_str(), flag) < 0) { ret = -errno; } } |
