DragonFly submit List (threaded) for 2004-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Linux syscall update
I'm not sure this is actually important, but when linux binaries were
coredumping on me Hiten pointed me to an old patch by Kip Macy. Turns
out the problem went away while Kip's patch caused a panic that day.
But anyway, I went digging into FreeBSD 5 and here's an updated patch
for the linux syscalls: seems to work for me...
Rahul
Common subdirectories: sys/emulation/linux/i386.old/linprocfs and sys/emulation/linux/i386/linprocfs
diff -u sys/emulation/linux/i386.old/linux_proto.h sys/emulation/linux/i386/linux_proto.h
--- sys/emulation/linux/i386.old/linux_proto.h Thu Nov 20 01:05:30 2003
+++ sys/emulation/linux/i386/linux_proto.h Thu Mar 11 00:05:17 2004
@@ -2,7 +2,7 @@
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
- * $DragonFly: src/sys/emulation/linux/i386/linux_proto.h,v 1.11 2003/11/20 06:05:30 dillon Exp $
+ * $DragonFly$
* created from DragonFly: src/sys/emulation/linux/i386/syscalls.master,v 1.4 2003/10/21 01:05:09 daver Exp
*/
diff -u sys/emulation/linux/i386.old/linux_syscall.h sys/emulation/linux/i386/linux_syscall.h
--- sys/emulation/linux/i386.old/linux_syscall.h Thu Nov 20 01:05:30 2003
+++ sys/emulation/linux/i386/linux_syscall.h Thu Mar 11 00:05:17 2004
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * $DragonFly: src/sys/emulation/linux/i386/linux_syscall.h,v 1.11 2003/11/20 06:05:30 dillon Exp $
+ * $DragonFly$
* created from DragonFly: src/sys/emulation/linux/i386/syscalls.master,v 1.4 2003/10/21 01:05:09 daver Exp
*/
@@ -213,4 +213,5 @@
#define LINUX_SYS_linux_madvise 219
#define LINUX_SYS_linux_getdents64 220
#define LINUX_SYS_linux_fcntl64 221
-#define LINUX_SYS_MAXSYSCALL 222
+#define LINUX_SYS_exit_group 252
+#define LINUX_SYS_MAXSYSCALL 268
diff -u sys/emulation/linux/i386.old/linux_sysent.c sys/emulation/linux/i386/linux_sysent.c
--- sys/emulation/linux/i386.old/linux_sysent.c Thu Nov 20 01:05:30 2003
+++ sys/emulation/linux/i386/linux_sysent.c Thu Mar 11 00:05:17 2004
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * $DragonFly: src/sys/emulation/linux/i386/linux_sysent.c,v 1.11 2003/11/20 06:05:30 dillon Exp $
+ * $DragonFly$
* created from DragonFly: src/sys/emulation/linux/i386/syscalls.master,v 1.4 2003/10/21 01:05:09 daver Exp
*/
@@ -239,4 +239,50 @@
{ 0, (sy_call_t *)linux_madvise }, /* 219 = linux_madvise */
{ AS(linux_getdents64_args), (sy_call_t *)linux_getdents64 }, /* 220 = linux_getdents64 */
{ AS(linux_fcntl64_args), (sy_call_t *)linux_fcntl64 }, /* 221 = linux_fcntl64 */
+ { 0, (sy_call_t *)nosys }, /* 222 = none */
+ { 0, (sy_call_t *)nosys }, /* 223 = none */
+ { 0, (sy_call_t *)nosys }, /* 224 = linux_gettid */
+ { 0, (sy_call_t *)nosys }, /* 225 = linux_readahead */
+ { 0, (sy_call_t *)nosys }, /* 226 = linux_setxattr */
+ { 0, (sy_call_t *)nosys }, /* 227 = linux_lsetxattr */
+ { 0, (sy_call_t *)nosys }, /* 228 = linux_fsetxattr */
+ { 0, (sy_call_t *)nosys }, /* 229 = linux_getxattr */
+ { 0, (sy_call_t *)nosys }, /* 230 = linux_lgetxattr */
+ { 0, (sy_call_t *)nosys }, /* 231 = linux_fgetxattr */
+ { 0, (sy_call_t *)nosys }, /* 232 = linux_listxattr */
+ { 0, (sy_call_t *)nosys }, /* 233 = linux_llistxattr */
+ { 0, (sy_call_t *)nosys }, /* 234 = linux_flistxattr */
+ { 0, (sy_call_t *)nosys }, /* 235 = linux_removexattr */
+ { 0, (sy_call_t *)nosys }, /* 236 = linux_lremovexattr */
+ { 0, (sy_call_t *)nosys }, /* 237 = linux_fremovexattr */
+ { 0, (sy_call_t *)nosys }, /* 238 = linux_tkill */
+ { 0, (sy_call_t *)nosys }, /* 239 = linux_sendfile64 */
+ { 0, (sy_call_t *)nosys }, /* 240 = linux_futex */
+ { 0, (sy_call_t *)nosys }, /* 241 = linux_sched_setaffinity */
+ { 0, (sy_call_t *)nosys }, /* 242 = linux_sched_getaffinity */
+ { 0, (sy_call_t *)nosys }, /* 243 = linux_set_thread_area */
+ { 0, (sy_call_t *)nosys }, /* 244 = linux_get_thread_area */
+ { 0, (sy_call_t *)nosys }, /* 245 = linux_io_setup */
+ { 0, (sy_call_t *)nosys }, /* 246 = linux_io_destroy */
+ { 0, (sy_call_t *)nosys }, /* 247 = linux_io_getevents */
+ { 0, (sy_call_t *)nosys }, /* 248 = linux_io_submit */
+ { 0, (sy_call_t *)nosys }, /* 249 = linux_io_cancel */
+ { 0, (sy_call_t *)nosys }, /* 250 = linux_fadvise64 */
+ { 0, (sy_call_t *)nosys }, /* 251 = */
+ { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 252 = exit_group */
+ { 0, (sy_call_t *)nosys }, /* 253 = linux_lookup_dcookie */
+ { 0, (sy_call_t *)nosys }, /* 254 = linux_epoll_create */
+ { 0, (sy_call_t *)nosys }, /* 255 = linux_epoll_ctl */
+ { 0, (sy_call_t *)nosys }, /* 256 = linux_epoll_wait */
+ { 0, (sy_call_t *)nosys }, /* 257 = linux_remap_file_pages */
+ { 0, (sy_call_t *)nosys }, /* 258 = linux_set_tid_address */
+ { 0, (sy_call_t *)nosys }, /* 259 = linux_timer_create */
+ { 0, (sy_call_t *)nosys }, /* 260 = linux_timer_settime */
+ { 0, (sy_call_t *)nosys }, /* 261 = linux_timer_gettime */
+ { 0, (sy_call_t *)nosys }, /* 262 = linux_timer_getoverrun */
+ { 0, (sy_call_t *)nosys }, /* 263 = linux_timer_delete */
+ { 0, (sy_call_t *)nosys }, /* 264 = linux_clock_settime */
+ { 0, (sy_call_t *)nosys }, /* 265 = linux_clock_gettime */
+ { 0, (sy_call_t *)nosys }, /* 266 = linux_clock_getres */
+ { 0, (sy_call_t *)nosys }, /* 267 = linux_clock_nanosleep */
};
diff -u sys/emulation/linux/i386.old/linux_union.h sys/emulation/linux/i386/linux_union.h
--- sys/emulation/linux/i386.old/linux_union.h Thu Nov 20 01:05:30 2003
+++ sys/emulation/linux/i386/linux_union.h Thu Mar 11 00:05:17 2004
@@ -2,7 +2,7 @@
* Union of syscall args for messaging.
*
* DO NOT EDIT-- this file is automatically generated.
- * $DragonFly: src/sys/emulation/linux/i386/linux_union.h,v 1.7 2003/11/20 06:05:30 dillon Exp $
+ * $DragonFly$
* created from DragonFly: src/sys/emulation/linux/i386/syscalls.master,v 1.4 2003/10/21 01:05:09 daver Exp
*/
diff -u sys/emulation/linux/i386.old/syscalls.master sys/emulation/linux/i386/syscalls.master
--- sys/emulation/linux/i386.old/syscalls.master Mon Oct 20 21:05:09 2003
+++ sys/emulation/linux/i386/syscalls.master Thu Mar 11 00:05:07 2004
@@ -339,3 +339,50 @@
l_uint count); }
221 STD LINUX { int linux_fcntl64(l_uint fd, l_uint cmd, \
l_ulong arg); }
+222 UNIMPL LINUX none
+223 UNIMPL LINUX none
+224 UNIMPL LINUX linux_gettid
+225 UNIMPL LINUX linux_readahead
+226 UNIMPL LINUX linux_setxattr
+227 UNIMPL LINUX linux_lsetxattr
+228 UNIMPL LINUX linux_fsetxattr
+229 UNIMPL LINUX linux_getxattr
+230 UNIMPL LINUX linux_lgetxattr
+231 UNIMPL LINUX linux_fgetxattr
+232 UNIMPL LINUX linux_listxattr
+233 UNIMPL LINUX linux_llistxattr
+234 UNIMPL LINUX linux_flistxattr
+235 UNIMPL LINUX linux_removexattr
+236 UNIMPL LINUX linux_lremovexattr
+237 UNIMPL LINUX linux_fremovexattr
+238 UNIMPL LINUX linux_tkill
+239 UNIMPL LINUX linux_sendfile64
+240 UNIMPL LINUX linux_futex
+241 UNIMPL LINUX linux_sched_setaffinity
+242 UNIMPL LINUX linux_sched_getaffinity
+243 UNIMPL LINUX linux_set_thread_area
+244 UNIMPL LINUX linux_get_thread_area
+245 UNIMPL LINUX linux_io_setup
+246 UNIMPL LINUX linux_io_destroy
+247 UNIMPL LINUX linux_io_getevents
+248 UNIMPL LINUX linux_io_submit
+249 UNIMPL LINUX linux_io_cancel
+250 UNIMPL LINUX linux_fadvise64
+251 UNIMPL LINUX
+252 NOPROTO LINUX { void sys_exit(int rval); } exit_group sys_exit_args void
+253 UNIMPL LINUX linux_lookup_dcookie
+254 UNIMPL LINUX linux_epoll_create
+255 UNIMPL LINUX linux_epoll_ctl
+256 UNIMPL LINUX linux_epoll_wait
+257 UNIMPL LINUX linux_remap_file_pages
+258 UNIMPL LINUX linux_set_tid_address
+259 UNIMPL LINUX linux_timer_create
+260 UNIMPL LINUX linux_timer_settime
+261 UNIMPL LINUX linux_timer_gettime
+262 UNIMPL LINUX linux_timer_getoverrun
+263 UNIMPL LINUX linux_timer_delete
+264 UNIMPL LINUX linux_clock_settime
+265 UNIMPL LINUX linux_clock_gettime
+266 UNIMPL LINUX linux_clock_getres
+267 UNIMPL LINUX linux_clock_nanosleep
+
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]