From: Julien Grall <jgrall@amazon.com>
Hi all,
This small series is:
- Hardening write_atomic() to prevent writing to const pointer
- Allow {read, write}_atomic() to be used in more cases on Arm.
While this was posted after the last posting date, patch #1 is
necessary to avoid the cast introduced by Juergen in [1]. The rest of
the patches would be good hardening to have in Xen 4.14. So I would like
to request the full series to be included in Xen 4.14.
Cheers,
[1] <20200430152848.20275-1-jgross@suse.com>
CC: paul@xen.org
Julien Grall (3):
xen/arm: atomic: Allow read_atomic() to be used in more cases
xen/arm: atomic: Rewrite write_atomic()
xen/x86: atomic: Don't allow to write atomically in a pointer to const
xen/include/asm-arm/atomic.h | 77 ++++++++++++++++++++++++++----------
xen/include/asm-x86/atomic.h | 2 +
2 files changed, 59 insertions(+), 20 deletions(-)
--
2.17.1