diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 09:58:55 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 10:02:09 +0200 |
commit | 761cdf6aacdb76f819050f4938cdab1f4cdcb945 (patch) | |
tree | b24f8709da4445f16086c9caec390bf82895f1c4 /kernel/sysctl_check.c | |
parent | 63506c41986c4af9d4fd6f3490e98e335f3dc8f5 (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