On Fri, Nov 9, 2018 at 1:38 PM Vincenzo Frascino <vincenzo.frascino@xxxxxxx> wrote: > + > +static __always_inline notrace int gettimeofday_fallback(struct timeval *_tv, > + struct timezone *_tz) Corresponding to what I said about the native syscalls, this should eventually use 'old_timeval32' here. > +static __always_inline notrace long clock_gettime_fallback(clockid_t _clkid, > + struct timespec *_ts) and 'old_timespec32' here. We could do those changes as a follow-up, but since you change that code already, we could just as well do it now. Then there is the question about the replacement. I don't see a need for 64-bit versions of time, gettimeofday or clock_getres, but we definitely want a new clock_gettime. This probably has to wait until we have assigned a syscall number (for the fallback implementation), just mentioning it now so we keep it in mind. Arnd