diff options
| author | Andrew Cooper <andrew.cooper3@citrix.com> | 2013-10-09 12:02:14 +0200 |
|---|---|---|
| committer | Jan Beulich <jbeulich@suse.com> | 2013-10-09 12:02:14 +0200 |
| commit | 97fbee0d96f7057bd3b8e19fdeefeca9c657ae77 (patch) | |
| tree | 95fbaaaf21b02b6f6d7831e655b756f03995aeff /tools/blktap2/drivers/hashtable_utility.c | |
| parent | ff239813b463309a7d41f9dacc84ac91e7aa9bd5 (diff) | |
| download | xen-97fbee0d96f7057bd3b8e19fdeefeca9c657ae77.tar.gz xen-97fbee0d96f7057bd3b8e19fdeefeca9c657ae77.tar.bz2 xen-97fbee0d96f7057bd3b8e19fdeefeca9c657ae77.zip | |
x86/percpu: Force INVALID_PERCPU_AREA into the non-canonical address region
This causes accidental uses of per_cpu() on a pcpu with an INVALID_PERCPU_AREA
to result in a #GF for attempting to access the middle of the non-canonical
virtual address region.
This is preferable to the current behaviour, where incorrect use of per_cpu()
will result in an effective NULL structure dereference which has security
implication in the context of PV guests.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
master commit: 7cfb0053629c4dd1a6f01dc43cca7c0c25b8b7bf
master date: 2013-10-04 12:24:34 +0200
Diffstat (limited to 'tools/blktap2/drivers/hashtable_utility.c')
0 files changed, 0 insertions, 0 deletions
