From owner-p4-projects@FreeBSD.ORG Thu Dec 14 18:47:52 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2BFA016A4C9; Thu, 14 Dec 2006 18:47:52 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01D7B16A4AB for ; Thu, 14 Dec 2006 18:47:52 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AB4843FF7 for ; Thu, 14 Dec 2006 18:41:32 +0000 (GMT) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBEIh8bn076281 for ; Thu, 14 Dec 2006 18:43:08 GMT (envelope-from rdivacky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBEIh835076277 for perforce@freebsd.org; Thu, 14 Dec 2006 18:43:08 GMT (envelope-from rdivacky@FreeBSD.org) Date: Thu, 14 Dec 2006 18:43:08 GMT Message-Id: <200612141843.kBEIh835076277@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rdivacky@FreeBSD.org using -f From: Roman Divacky To: Perforce Change Reviews Cc: Subject: PERFORCE change 111706 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: Thu, 14 Dec 2006 18:47:52 -0000 http://perforce.freebsd.org/chv.cgi?CH=111706 Change 111706 by rdivacky@rdivacky_witten on 2006/12/14 18:42:26 Clarify why we dont have linux_uselib on amd64/linux32 and enable linux_utime on native amd64 linuxulator (nonexistent yet). Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#45 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#45 (text+ko) ==== @@ -219,7 +219,9 @@ } #if defined(__i386__) -/* XXX: what about amd64/linux32? */ +/* XXX: this syscall is used mainly by a.out binaries (which dont exist + * on amd64/linux32) or libc5 + */ int linux_uselib(struct thread *td, struct linux_uselib_args *args) @@ -748,7 +750,7 @@ return (copyout(&utsname, args->buf, sizeof(utsname))); } -#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) +#if defined(__i386__) || defined(__amd64__) struct l_utimbuf { l_time_t l_actime; l_time_t l_modtime; @@ -786,7 +788,7 @@ LFREEPATH(fname); return (error); } -#endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */ +#endif /* __i386__ || __amd64__ */ #define __WCLONE 0x80000000