summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2015-04-25 16:24:53 -0700
committerNick Kralevich <nnk@google.com>2015-04-25 16:48:23 -0700
commite34577ce1bd4a8de53ff3d9178b4f78c86086dc8 (patch)
tree6d0f776cc2ad0012cd72bb3da57fb48c69322b7d /libutils/ProcessCallStack.cpp
parent178299fd459b7622e9e3de05a48d6ba050f92bec (diff)
init: use SELinux /dev/null if available
SELinux provides it's own /dev/null character device at /sys/fs/selinux/null. This character device is exactly the same as /dev/null, including the same major/minor numbers, and can be used wherever /dev/null is used. Use /sys/fs/selinux/null instead of trying to create our own /dev/__null__ device. This moves us one step closer to eliminating all uses of mknod() by init. /sys/fs/selinux/null is only available once the /sys/fs/selinux filesystem is mounted. It's not available to the first stage init, so we still have to fall back to mknod then. Change-Id: Ic733767ea6220a130537de33cc478ae79578ce20
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions