xen/PVH: Set up GS segment for stack canary
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 8 May 2018 23:56:22 +0000 (19:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 28 Jul 2018 05:55:41 +0000 (07:55 +0200)
commit14500f14e0b6dd3fff66eec70b6bb1cf4d108dfa
treef3f71738da8332df22ceeeea99728543a5a4e7a5
parentde019e7857fb743bb50db9b82dd447d4894b5610
xen/PVH: Set up GS segment for stack canary

commit 98014068328c5574de9a4a30b604111fd9d8f901 upstream.

We are making calls to C code (e.g. xen_prepare_pvh()) which may use
stack canary (stored in GS segment).

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Cc: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/xen/xen-pvh.S