Commit 412264cd authored by Marcelo Henrique Cerri's avatar Marcelo Henrique Cerri Committed by Stefan Bader

UBUNTU: SAUCE: s390: print messages for gmb and nobp

CVE-2017-5753
CVE-2017-5715
Signed-off-by: default avatarMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarKhaled Elmously <khalid.elmously@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent a9a979ca
......@@ -137,5 +137,11 @@ void __init_or_module apply_alternatives(struct alt_instr *start,
extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
void __init apply_alternative_instructions(void)
{
pr_info("gmb %s",
(__test_facility(81, S390_lowcore.alt_stfle_fac_list)) ?
"enabled" : "disabled");
pr_info("nobp %s",
(__test_facility(82, S390_lowcore.alt_stfle_fac_list)) ?
"enabled" : "disabled");
apply_alternatives(__alt_instructions, __alt_instructions_end);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment