From owner-p4-projects@FreeBSD.ORG Tue Aug 21 00:22:18 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C256216A5EA; Tue, 21 Aug 2007 00:22:18 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7214B16A5D8 for ; Tue, 21 Aug 2007 00:22:18 +0000 (UTC) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3FE1F13C48D for ; Tue, 21 Aug 2007 00:22:18 +0000 (UTC) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7L0MI6U014456 for ; Tue, 21 Aug 2007 00:22:18 GMT (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7L0MIYS014453 for perforce@freebsd.org; Tue, 21 Aug 2007 00:22:18 GMT (envelope-from peter@freebsd.org) Date: Tue, 21 Aug 2007 00:22:18 GMT Message-Id: <200708210022.l7L0MIYS014453@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Cc: Subject: PERFORCE change 125470 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 00:22:19 -0000 http://perforce.freebsd.org/chv.cgi?CH=125470 Change 125470 by peter@peter_cheese on 2007/08/21 00:22:04 Swipe phk's diff parts for turning on the clock_* wrappers. Affected files ... .. //depot/projects/valgrind/coregrind/m_syswrap/syswrap-freebsd.c#6 edit Differences ... ==== //depot/projects/valgrind/coregrind/m_syswrap/syswrap-freebsd.c#6 (text+ko) ==== @@ -1442,6 +1442,8 @@ POST_MEM_WRITE( ARG3, sizeof(struct vki_mq_attr) ); } +#endif + /* --------------------------------------------------------------------- clock_* wrappers ------------------------------------------------------------------ */ @@ -1482,6 +1484,7 @@ POST_MEM_WRITE( ARG2, sizeof(struct vki_timespec) ); } +#if 0 PRE(sys_clock_nanosleep) { *flags |= SfMayBlock|SfPostOnFail; @@ -2475,9 +2478,9 @@ // BSDXY(__NR_shmdt, sys_shmdt), // 230 // BSDX_(__NR_shmget, sys_shmget), // 231 -// BSDXY(__NR_clock_gettime, sys_clock_gettime), // 232 -// BSDX_(__NR_clock_settime, sys_clock_settime), // 233 -// BSDXY(__NR_clock_getres, sys_clock_getres), // 234 + BSDXY(__NR_clock_gettime, sys_clock_gettime), // 232 + BSDX_(__NR_clock_settime, sys_clock_settime), // 233 + BSDXY(__NR_clock_getres, sys_clock_getres), // 234 // unimpl timer_create 235 // unimpl timer_delete 236