qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v8 1/2] linux-user: Add support for clock_adjtim


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v8 1/2] linux-user: Add support for clock_adjtime() syscall
Date: Mon, 10 Oct 2016 11:35:58 +0100

On 10 October 2016 at 11:34, Aleksandar Markovic
<address@hidden> wrote:
> Thanks for bringing up this issue. LTP was not the reference for this
> implementation. Man page does not exist. The reference was kernel source.
> Apart from source code analysis. test examples were utilized to confirm
> the same behavior on real and emulated systems.

If no real world code or even LTP test code is relying on the
order in which error conditions are checked for, and the API
is not documented to make that kind of distinction, then I think
we should implement this the same way we do all other syscalls,
ie just check for EFAULT first.

thanks
-- PMM



reply via email to

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