Sign extend offset for pwritev/preadv.
Kernel expects a 64 bit offset, so if a user's offset is 32 bit, the wrapper will drop the sign. To fix, sign extend the 32 bit value before doing the syscall. Bug: 31225071 Test: pwritev02 32 bit passes (cherry picked from commit f55dbc05) Change-Id: Ie81d29a37cf4e99c9279cffc89f4fa1b4da9a898
Loading
Please sign in to comment