Re: [PATCH] linux-user: remove host stime() syscall

2019-11-12 Thread Laurent Vivier
Le 12/11/2019 à 15:25, Laurent Vivier a écrit : > stime() has been withdrawn from glibc > (12cbde1dae6f "Use clock_settime to implement stime; withdraw stime.") > > Implement the target stime() syscall using host > clock_settime(CLOCK_REALTIME, ...) as it is done internally in glibc. > > Tested q

Re: [PATCH] linux-user: remove host stime() syscall

2019-11-12 Thread Cole Robinson
On 11/12/19 9:25 AM, Laurent Vivier wrote: > stime() has been withdrawn from glibc > (12cbde1dae6f "Use clock_settime to implement stime; withdraw stime.") > > Implement the target stime() syscall using host > clock_settime(CLOCK_REALTIME, ...) as it is done internally in glibc. > > Tested qemu-p

Re: [PATCH] linux-user: remove host stime() syscall

2019-11-12 Thread Peter Maydell
On Tue, 12 Nov 2019 at 14:26, Laurent Vivier wrote: > > stime() has been withdrawn from glibc > (12cbde1dae6f "Use clock_settime to implement stime; withdraw stime.") > > Implement the target stime() syscall using host > clock_settime(CLOCK_REALTIME, ...) as it is done internally in glibc. > > Tes

[PATCH] linux-user: remove host stime() syscall

2019-11-12 Thread Laurent Vivier
stime() has been withdrawn from glibc (12cbde1dae6f "Use clock_settime to implement stime; withdraw stime.") Implement the target stime() syscall using host clock_settime(CLOCK_REALTIME, ...) as it is done internally in glibc. Tested qemu-ppc/x86_64 with: #include #include