qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] recvfrom error with linux-user emulating armhf on aarch64


From: Laurent Vivier
Subject: Re: [Qemu-arm] recvfrom error with linux-user emulating armhf on aarch64
Date: Tue, 23 Jan 2018 16:10:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

Le 23/01/2018 à 15:42, Philippe Mathieu-Daudé a écrit :
...
> Laurent, in do_syscall() should we swap the pid back?
> 
> @@ -10628,4 +10628,5 @@ abi_long do_syscall(...
>          target_header->version = tswap32(header.version);
> +        target_header->pid = tswap32(header.pid);
>          unlock_user_struct(target_header, arg1, 1);
> 

The kernel doesn't change it, so we don't need to update it.

(CC: Peter as he wrote the capget/capset code)

Thanks,
Laurent

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]