]> xenbits.xensource.com Git - xen.git/commit
x86: (allow to) override LIST_POISON*
authorJan Beulich <jbeulich@suse.com>
Mon, 17 Nov 2014 14:05:53 +0000 (15:05 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 17 Nov 2014 14:05:53 +0000 (15:05 +0100)
commit404227138e1e49c8073e946649a8d4173b35625c
treed9223d23af0a5284cfda6a4fc176ed5b43a434cb
parent902dfd33da08169f08a593a4ef2c45d825cca8c8
x86: (allow to) override LIST_POISON*

Having these point into space not controlled by the hypervisor provides
an unnecessary attack surface. Allow architectures to override them and
utilize that override to make them non-canonical addresses (thus
causing #GP rather than #PF when dereferenced).

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/include/asm-x86/config.h
xen/include/xen/list.h