]> granicus.if.org Git - strace/commit
kexec: use widen_to_ulong since kexec_load has compat on x32/n32
authorEugene Syromyatnikov <evgsyr@gmail.com>
Thu, 20 Oct 2016 08:34:47 +0000 (11:34 +0300)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 28 Oct 2016 23:54:01 +0000 (02:54 +0300)
commit108d574c541418f3d1735d35ca93eb30f330db0d
treeef1d413244ec671c2d7f48e26997975a8c213954
parent920b4d5114f2bf4597f65c5d9bee10d7d4179fe1
kexec: use widen_to_ulong since kexec_load has compat on x32/n32

Curiously, kexec_load uses compat on x32/n32, so its parameters should
be 4 bytes in size on these ABIs.

* kexec.c (SYS_FUNC(kexec_load)): Use widen_to_ulong for casting
parameters to proper size on x32/n32.
kexec.c