PERFORCE change 111706 for review
Roman Divacky
rdivacky at FreeBSD.org
Thu Dec 14 10:47:52 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=111706
Change 111706 by rdivacky at 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
More information about the p4-projects
mailing list