aboutsummaryrefslogtreecommitdiff
path: root/kernel/sysctl_check.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 09:58:55 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 10:02:09 +0200
commit761cdf6aacdb76f819050f4938cdab1f4cdcb945 (patch)
treeb24f8709da4445f16086c9caec390bf82895f1c4 /kernel/sysctl_check.c
parent63506c41986c4af9d4fd6f3490e98e335f3dc8f5 (diff)
[S390] initrd vs bss section clearing.
In case the initrd is located within the bss section it will be overwritten when the section is cleared. To prevent this just move the initrd right behind the bss section if it starts within the section. The current code already moves the initrd if the bootmem allocator bitmap would overwrite it. With this patch we should be safe against initrd corruptions. Cc: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'kernel/sysctl_check.c')
0 files changed, 0 insertions, 0 deletions