diff options
-rw-r--r-- | sys/i386/linux/linux_proto.h | 15 | ||||
-rw-r--r-- | sys/i386/linux/linux_syscall.h | 5 | ||||
-rw-r--r-- | sys/i386/linux/linux_sysent.c | 8 |
3 files changed, 22 insertions, 6 deletions
diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index 2206b6d2b47b..eec888ce46a4 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.57 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.58 2004/09/06 09:32:59 dfr Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -641,6 +641,9 @@ struct linux_fcntl64_args { char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)]; char arg_l_[PADL_(l_ulong)]; l_ulong arg; char arg_r_[PADR_(l_ulong)]; }; +struct linux_gettid_args { + register_t dummy; +}; struct linux_setxattr_args { register_t dummy; }; @@ -677,6 +680,13 @@ struct linux_lremovexattr_args { struct linux_fremovexattr_args { register_t dummy; }; +struct linux_tkill_args { + char tid_l_[PADL_(int)]; int tid; char tid_r_[PADR_(int)]; + char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; +}; +struct linux_set_thread_area_args { + char entry_l_[PADL_(void *)]; void * entry; char entry_r_[PADR_(void *)]; +}; struct linux_fadvise64_args { register_t dummy; }; @@ -832,6 +842,7 @@ int linux_pivot_root(struct thread *, struct linux_pivot_root_args *); int linux_mincore(struct thread *, struct linux_mincore_args *); int linux_getdents64(struct thread *, struct linux_getdents64_args *); int linux_fcntl64(struct thread *, struct linux_fcntl64_args *); +int linux_gettid(struct thread *, struct linux_gettid_args *); int linux_setxattr(struct thread *, struct linux_setxattr_args *); int linux_lsetxattr(struct thread *, struct linux_lsetxattr_args *); int linux_fsetxattr(struct thread *, struct linux_fsetxattr_args *); @@ -844,6 +855,8 @@ int linux_flistxattr(struct thread *, struct linux_flistxattr_args *); int linux_removexattr(struct thread *, struct linux_removexattr_args *); int linux_lremovexattr(struct thread *, struct linux_lremovexattr_args *); int linux_fremovexattr(struct thread *, struct linux_fremovexattr_args *); +int linux_tkill(struct thread *, struct linux_tkill_args *); +int linux_set_thread_area(struct thread *, struct linux_set_thread_area_args *); int linux_fadvise64(struct thread *, struct linux_fadvise64_args *); #ifdef COMPAT_43 diff --git a/sys/i386/linux/linux_syscall.h b/sys/i386/linux/linux_syscall.h index cb3fc7ff2cb9..585be096fe8a 100644 --- a/sys/i386/linux/linux_syscall.h +++ b/sys/i386/linux/linux_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.57 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.58 2004/09/06 09:32:59 dfr Exp */ #define LINUX_SYS_exit 1 @@ -213,6 +213,7 @@ #define LINUX_SYS_madvise 219 #define LINUX_SYS_linux_getdents64 220 #define LINUX_SYS_linux_fcntl64 221 +#define LINUX_SYS_linux_gettid 224 #define LINUX_SYS_linux_setxattr 226 #define LINUX_SYS_linux_lsetxattr 227 #define LINUX_SYS_linux_fsetxattr 228 @@ -225,6 +226,8 @@ #define LINUX_SYS_linux_removexattr 235 #define LINUX_SYS_linux_lremovexattr 236 #define LINUX_SYS_linux_fremovexattr 237 +#define LINUX_SYS_linux_tkill 238 +#define LINUX_SYS_linux_set_thread_area 243 #define LINUX_SYS_linux_fadvise64 250 #define LINUX_SYS_exit_group 252 #define LINUX_SYS_MAXSYSCALL 268 diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c index b7e3548189a5..0606e0fd67b6 100644 --- a/sys/i386/linux/linux_sysent.c +++ b/sys/i386/linux/linux_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.57 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.58 2004/09/06 09:32:59 dfr Exp */ #include "opt_compat.h" @@ -241,7 +241,7 @@ struct sysent linux_sysent[] = { { SYF_MPSAFE | AS(linux_fcntl64_args), (sy_call_t *)linux_fcntl64 }, /* 221 = linux_fcntl64 */ { 0, (sy_call_t *)nosys }, /* 222 = */ { 0, (sy_call_t *)nosys }, /* 223 = */ - { 0, (sy_call_t *)nosys }, /* 224 = linux_gettid */ + { 0, (sy_call_t *)linux_gettid }, /* 224 = linux_gettid */ { 0, (sy_call_t *)nosys }, /* 225 = linux_readahead */ { 0, (sy_call_t *)linux_setxattr }, /* 226 = linux_setxattr */ { 0, (sy_call_t *)linux_lsetxattr }, /* 227 = linux_lsetxattr */ @@ -255,12 +255,12 @@ struct sysent linux_sysent[] = { { 0, (sy_call_t *)linux_removexattr }, /* 235 = linux_removexattr */ { 0, (sy_call_t *)linux_lremovexattr }, /* 236 = linux_lremovexattr */ { 0, (sy_call_t *)linux_fremovexattr }, /* 237 = linux_fremovexattr */ - { 0, (sy_call_t *)nosys }, /* 238 = linux_tkill */ + { AS(linux_tkill_args), (sy_call_t *)linux_tkill }, /* 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 */ + { AS(linux_set_thread_area_args), (sy_call_t *)linux_set_thread_area }, /* 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 */ |