We use stime() to implement the target stime syscall. We should probably switch to using clock_settime(CLOCK_REALTIME, ...) instead, as that's what glibc uses internally now to implement its stime():
https://sourceware.org/git/?p=glibc.git;a=blob;f=time/stime.c;h=6ea3b6dcc1a393b57b69ca24fbfe8023d9095837;hb=12cbde1dae6fa4a9a792b64564c7e0debf7544cc
We use stime() to implement the target stime syscall. We should probably switch to using clock_settime( CLOCK_REALTIME, ...) instead, as that's what glibc uses internally now to implement its stime():
https:/ /sourceware. org/git/ ?p=glibc. git;a=blob; f=time/ stime.c; h=6ea3b6dcc1a39 3b57b69ca24fbfe 8023d9095837; hb=12cbde1dae6f a4a9a792b64564c 7e0debf7544cc