aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2018-02-01 12:40:19 +0000
committerJuergen Gross <[email protected]>2018-02-06 08:37:18 +0000
commit4f277295e54c5b7340e48efea3fc5cc21a2872b7 (patch)
treec0afd5986abcc7183cf4253a578e7a732753f7d8 /scripts/gcc-plugins/randomize_layout_plugin.c
parentMerge branch 'master' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/t... (diff)
downloadkernel-4f277295e54c5b7340e48efea3fc5cc21a2872b7.tar.gz
kernel-4f277295e54c5b7340e48efea3fc5cc21a2872b7.zip
x86/xen: init %gs very early to avoid page faults with stack protector
When running as Xen pv guest %gs is initialized some time after C code is started. Depending on stack protector usage this might be too late, resulting in page faults. So setup %gs and MSR_GS_BASE in assembly code already. Cc: [email protected] Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Tested-by: Chris Patterson <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions