[LTP] [PATCH 2/2] syscalls/clock_adjtime: create clock_adjtime syscall tests
Rafael David Tinoco
rafael.tinoco@linaro.org
Thu Feb 21 21:19:51 CET 2019
> On 21 Feb 2019, at 17:05, Rafael David Tinoco <rafael.tinoco@linaro.org> wrote:
>
> Fixes: 270
>
> clock_adjtime{01,02} are created using the new API, based on existing
> adjtimex(2) tests. clock_adjtime() syscall might have as execution
> path:
>
> 1) a regular POSIX clock (only REALTIME clock implements adjtime())
> - will behave exactly like adjtimex() system call.
> - only one being tested here.
>
> 2) a dynamic POSIX clock (which ops are implemented by PTP clocks)
> - will trigger the PTP clock driver function "adjtime()"
> - different implementations from one PTP clock to another
> - might return EOPNOTSUPP (like ptp_kvm_caps, for example)
> - no observed execution entry point for clock_adjtime()
>
> Signed-off-by: Rafael David Tinoco <rafael.tinoco@linaro.org>
Sorry, forgot to checkpatch before sending. Doing it now and submitting patchset as v2.
Thank you!
-Rafael
More information about the ltp
mailing list