Date: Thu, 14 Dec 2006 18:43:08 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 111706 for review Message-ID: <200612141843.kBEIh835076277@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612141843.kBEIh835076277>