- 论坛徽章:
- 0
|
或者:? 
config DEFAULT_MMAP_MIN_ADDR
241 int "Low address space to protect from user allocation"
242 depends on MMU
243 default 4096
244 help
245 This is the portion of low virtual memory which should be protected
246 from userspace allocation. Keeping a user from writing to low pages
247 can help reduce the impact of kernel NULL pointer bugs.
248
249 For most ia64, ppc64 and x86 users with lots of address space
250 a value of 65536 is reasonable and should cause no problems.
251 On arm and other archs it should not be higher than 32768.
252 Programs which use vm86 functionality or have some need to map
253 this low address space will need CAP_SYS_RAWIO or disable this
254 protection by setting the value to 0.
255
256 This value can be changed after boot using the
257 /proc/sys/vm/mmap_min_addr tunable. |
|