[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH 2/3] lib/uktime: Add setitimer stub
Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx> On 10/27/19 3:40 AM, Mihai Pogonaru wrote: > Signed-off-by: Mihai Pogonaru <pogonarumihai@xxxxxxxxx> > --- > lib/uktime/exportsyms.uk | 1 + > lib/uktime/time.c | 7 +++++++ > 2 files changed, 8 insertions(+) > > diff --git a/lib/uktime/exportsyms.uk b/lib/uktime/exportsyms.uk > index 1a4a2b1a..bd9c49cf 100644 > --- a/lib/uktime/exportsyms.uk > +++ b/lib/uktime/exportsyms.uk > @@ -3,6 +3,7 @@ clock_gettime > clock_settime > gettimeofday > nanosleep > +setitimer > sleep > timegm > times > diff --git a/lib/uktime/time.c b/lib/uktime/time.c > index dda12d12..9e3ee927 100644 > --- a/lib/uktime/time.c > +++ b/lib/uktime/time.c > @@ -179,3 +179,10 @@ int times(struct tm *buf __unused) > errno = ENOTSUP; > return -1; > } > + > +int setitimer(int which __unused, const struct itimerval *new_value __unused, > + struct itimerval *old_value __unused) > +{ > + WARN_STUBBED(); > + return 0; > +} > _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |