diff options
author | Tom Cherry <tomcherry@google.com> | 2017-06-23 23:19:53 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-06-23 23:19:53 +0000 |
commit | b57e1180e36e44b78f45c03d98d62c22754d591c (patch) | |
tree | d87252e55756a56380cde35c6fbca9042b1c7723 /init/log.cpp | |
parent | 56f021f0a40a88cfa98c432f8ee4f43e25e301df (diff) | |
parent | d3d79b21968139b135ca24b13dd400494fe73965 (diff) |
Merge "init: create android::init:: namespace" am: 040212706b
am: d3d79b2196
Change-Id: I3dccff251dda7d7452e33a7e71178c59f0c22169
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 |