threads/180652: compat32 problem in clock_getcpuclockid2
Petr Salinger
Petr.Salinger at seznam.cz
Fri Jul 19 20:00:02 UTC 2013
The following reply was made to PR threads/180652; it has been noted by GNATS.
From: Petr Salinger <Petr.Salinger at seznam.cz>
To: Konstantin Belousov <kostikbel at gmail.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: threads/180652: compat32 problem in clock_getcpuclockid2
Date: Fri, 19 Jul 2013 21:58:00 +0200 (CEST)
Test in progress, backported to 9.1, but with
int kern_clock_getcpuclockid2(struct thread *td, id_t id, int which,
clockid_t *clk_id);
here:
> --- a/sys/sys/syscallsubr.h
> +++ b/sys/sys/syscallsubr.h
> @@ -76,6 +76,8 @@ int kern_chmod(struct thread *td, char *path, enum uio_seg pathseg,
> int mode);
> int kern_chown(struct thread *td, char *path, enum uio_seg pathseg, int uid,
> int gid);
> +int kern_clock_getcpuclockid2(struct thread *td, id_t id, int which,
> + clockid_t clk_id);
> int kern_clock_getres(struct thread *td, clockid_t clock_id,
> struct timespec *ts);
> int kern_clock_gettime(struct thread *td, clockid_t clock_id,
Petr
More information about the freebsd-threads
mailing list