aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/um_arch.c
diff options
context:
space:
mode:
authorGravatar Ammar Faizi <ammarfaizi2@gnuweeb.org> 2022-12-24 00:23:38 +0700
committerGravatar Richard Weinberger <richard@nod.at> 2023-02-10 21:33:37 +0100
commit5541992e512de8c9133110809f767bd1b54ee10d (patch)
treed9b457237b4bf9ead98a7f9ade2c9a80d60161bf /arch/um/kernel/um_arch.c
parentrust: arch/um: Add support for CONFIG_RUST under x86_64 UML (diff)
downloadlinux-5541992e512de8c9133110809f767bd1b54ee10d.tar.gz
linux-5541992e512de8c9133110809f767bd1b54ee10d.tar.bz2
linux-5541992e512de8c9133110809f767bd1b54ee10d.zip
x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
The 'syscall' instruction clobbers '%rcx' and '%r11', but they are not listed in the inline Assembly that performs the syscall instruction. No real bug is found. It wasn't buggy by luck because '%rcx' and '%r11' are caller-saved registers, and not used in the functions, and the functions are never inlined. Add them to the clobber list for code correctness. Fixes: f1c2bb8b9964ed31de988910f8b1cfb586d30091 ("um: implement a x86_64 vDSO") Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/um_arch.c')
0 files changed, 0 insertions, 0 deletions