OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db9492c
)
s390/protvirt: block kernel command line alteration
author
Vasily Gorbik
<gor@linux.ibm.com>
Mon, 1 Apr 2019 17:11:08 +0000
(19:11 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 10 Apr 2019 15:47:22 +0000
(17:47 +0200)
Disallow kernel command line alteration via ipl parameter block if
running in protected virtualization environment.
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/ipl_parm.c
patch
|
blob
|
history
diff --git
a/arch/s390/boot/ipl_parm.c
b/arch/s390/boot/ipl_parm.c
index
385d0c7
..
1900670
100644
(file)
--- a/
arch/s390/boot/ipl_parm.c
+++ b/
arch/s390/boot/ipl_parm.c
@@
-144,7
+144,7
@@
void setup_boot_command_line(void)
strcpy(early_command_line, strim(COMMAND_LINE));
/* append IPL PARM data to the boot command line */
- if (ipl_block_valid)
+ if (
!is_prot_virt_guest() &&
ipl_block_valid)
append_ipl_block_parm();
}