Lines 100-127
config SECURITY_ROOTPLUG
Link Here
|
100 |
|
100 |
|
101 |
See <http://www.linuxjournal.com/article.php?sid=6279> for |
101 |
See <http://www.linuxjournal.com/article.php?sid=6279> for |
102 |
more information about this module. |
102 |
more information about this module. |
103 |
|
|
|
104 |
If you are unsure how to answer this question, answer N. |
105 |
|
106 |
config SECURITY_DEFAULT_MMAP_MIN_ADDR |
107 |
int "Low address space to protect from user allocation" |
108 |
depends on SECURITY |
109 |
default 0 |
110 |
help |
111 |
This is the portion of low virtual memory which should be protected |
112 |
from userspace allocation. Keeping a user from writing to low pages |
113 |
can help reduce the impact of kernel NULL pointer bugs. |
114 |
|
115 |
For most ia64, ppc64 and x86 users with lots of address space |
116 |
a value of 65536 is reasonable and should cause no problems. |
117 |
On arm and other archs it should not be higher than 32768. |
118 |
Programs which use vm86 functionality would either need additional |
119 |
permissions from either the LSM or the capabilities module or have |
120 |
this protection disabled. |
121 |
|
122 |
This value can be changed after boot using the |
123 |
/proc/sys/vm/mmap_min_addr tunable. |
124 |
|
103 |
|
|
|
104 |
If you are unsure how to answer this question, answer N. |
125 |
|
105 |
|
126 |
source security/selinux/Kconfig |
106 |
source security/selinux/Kconfig |
127 |
source security/smack/Kconfig |
107 |
source security/smack/Kconfig |