From owner-freebsd-threads@FreeBSD.ORG Fri Jul 19 20:00:02 2013 Return-Path: Delivered-To: freebsd-threads@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6F896E62 for ; Fri, 19 Jul 2013 20:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 621B5E6E for ; Fri, 19 Jul 2013 20:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6JK01NG010226 for ; Fri, 19 Jul 2013 20:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6JK01fJ010225; Fri, 19 Jul 2013 20:00:01 GMT (envelope-from gnats) Date: Fri, 19 Jul 2013 20:00:01 GMT Message-Id: <201307192000.r6JK01fJ010225@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org Cc: From: Petr Salinger Subject: Re: threads/180652: compat32 problem in clock_getcpuclockid2 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Petr Salinger List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 20:00:02 -0000 The following reply was made to PR threads/180652; it has been noted by GNATS. From: Petr Salinger To: Konstantin Belousov Cc: freebsd-gnats-submit@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