Le 28/02/2018 à 23:16, Max Filippov a écrit : > target_mprotect/target_munmap return value goes through get_errno at the > call site, thus the functions must either set errno to host error code > and return -1 or return negative guest error code. Do the latter. > > Cc: [email protected] > Cc: Riku Voipio <[email protected]> > Cc: Laurent Vivier <[email protected]> > Signed-off-by: Max Filippov <[email protected]> > --- > linux-user/mmap.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Laurent Vivier <[email protected]>
