summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-03-02 09:14:51 -0800
committerMark Salyzyn <salyzyn@google.com>2015-03-02 18:44:11 +0000
commitc09268a3fef0b9574b2b6227c9fac3096ad6654e (patch)
treef800d0e402c98cf917b98aac9283a7e902ca9578
parent2ae7c1e336af3dd2901e90608be3adeb577659a7 (diff)
downloadbionic-c09268a3fef0b9574b2b6227c9fac3096ad6654e.zip
bionic-c09268a3fef0b9574b2b6227c9fac3096ad6654e.tar.gz
bionic-c09268a3fef0b9574b2b6227c9fac3096ad6654e.tar.bz2
bionic: deprecate _PATH_MEM
/dev/mem (and /dev/kmem) are not enabled in the kernels, and selinux prevents access and makes it a rule compilation error to enable access. No code uses the _PATH_MEM macro. Remove definition to suppress future usage. Bug: 19549480 Change-Id: Ie0fb0f53d43349f4fe227068e4bf8a768f620d60
-rw-r--r--libc/include/paths.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/include/paths.h b/libc/include/paths.h
index 1eba536..33c2eee 100644
--- a/libc/include/paths.h
+++ b/libc/include/paths.h
@@ -39,7 +39,6 @@
#define _PATH_CONSOLE "/dev/console"
#define _PATH_DEVNULL "/dev/null"
#define _PATH_KLOG "/proc/kmsg"
-#define _PATH_MEM "/dev/mem"
#define _PATH_MOUNTED "/proc/mounts"
#define _PATH_TTY "/dev/tty"