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
This commit is contained in:
parent
2ae7c1e336
commit
c09268a3fe
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user