diff options
Diffstat (limited to 'init/log.cpp')
-rw-r--r-- | init/log.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init/log.cpp b/init/log.cpp index 06157306b..1830077e1 100644 --- a/init/log.cpp +++ b/init/log.cpp @@ -23,6 +23,9 @@ #include <android-base/logging.h> #include <selinux/selinux.h> +namespace android { +namespace init { + void InitKernelLogging(char* argv[]) { // Make stdin/stdout/stderr all point to /dev/null. int fd = open("/sys/fs/selinux/null", O_RDWR); @@ -55,3 +58,6 @@ int selinux_klog_callback(int type, const char *fmt, ...) { android::base::KernelLogger(android::base::MAIN, severity, "selinux", nullptr, 0, buf); return 0; } + +} // namespace init +} // namespace android |