diff options
-rw-r--r-- | sys/kern/init_sysent.c | 3 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 3 | ||||
-rw-r--r-- | sys/sys/syscall.h | 5 | ||||
-rw-r--r-- | sys/sys/syscall.mk | 5 | ||||
-rw-r--r-- | sys/sys/sysproto.h | 7 |
5 files changed, 16 insertions, 7 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 8ba8f73..a648504 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.209 2006/02/03 11:48:37 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.210 2006/02/05 02:18:45 davidxu Exp */ #include "opt_compat.h" @@ -493,4 +493,5 @@ struct sysent sysent[] = { { SYF_MPSAFE | AS(mq_notify_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 461 = mq_notify */ { SYF_MPSAFE | AS(mq_unlink_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 462 = mq_unlink */ { SYF_MPSAFE | AS(abort2_args), (sy_call_t *)abort2, AUE_NULL }, /* 463 = abort2 */ + { SYF_MPSAFE | AS(thr_set_name_args), (sy_call_t *)thr_set_name, AUE_NULL }, /* 464 = thr_set_name */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 53af4bf..73b883f 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.209 2006/02/03 11:48:37 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.210 2006/02/05 02:18:45 davidxu Exp */ const char *syscallnames[] = { @@ -471,4 +471,5 @@ const char *syscallnames[] = { "mq_notify", /* 461 = mq_notify */ "mq_unlink", /* 462 = mq_unlink */ "abort2", /* 463 = abort2 */ + "thr_set_name", /* 464 = thr_set_name */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 33bf456..9a44466 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.209 2006/02/03 11:48:37 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.210 2006/02/05 02:18:45 davidxu Exp */ #define SYS_syscall 0 @@ -387,4 +387,5 @@ #define SYS_mq_notify 461 #define SYS_mq_unlink 462 #define SYS_abort2 463 -#define SYS_MAXSYSCALL 464 +#define SYS_thr_set_name 464 +#define SYS_MAXSYSCALL 465 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index e986f0c..882eb92 100644 --- a/sys/sys/syscall.mk +++ b/sys/sys/syscall.mk @@ -1,7 +1,7 @@ # FreeBSD system call names. # DO NOT EDIT-- this file is automatically generated. # $FreeBSD$ -# created from FreeBSD: src/sys/kern/syscalls.master,v 1.209 2006/02/03 11:48:37 rwatson Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.210 2006/02/05 02:18:45 davidxu Exp MIASM = \ syscall.o \ exit.o \ @@ -328,4 +328,5 @@ MIASM = \ mq_timedsend.o \ mq_notify.o \ mq_unlink.o \ - abort2.o + abort2.o \ + thr_set_name.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 96b0926..c3ac333 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.209 2006/02/03 11:48:37 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.210 2006/02/05 02:18:45 davidxu Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1439,6 +1439,10 @@ struct abort2_args { char nargs_l_[PADL_(int)]; int nargs; char nargs_r_[PADR_(int)]; char args_l_[PADL_(void **)]; void ** args; char args_r_[PADR_(void **)]; }; +struct thr_set_name_args { + char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)]; + char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)]; +}; int nosys(struct thread *, struct nosys_args *); void sys_exit(struct thread *, struct sys_exit_args *); int fork(struct thread *, struct fork_args *); @@ -1764,6 +1768,7 @@ int mq_timedsend(struct thread *, struct mq_timedsend_args *); int mq_notify(struct thread *, struct mq_notify_args *); int mq_unlink(struct thread *, struct mq_unlink_args *); int abort2(struct thread *, struct abort2_args *); +int thr_set_name(struct thread *, struct thr_set_name_args *); #ifdef COMPAT_43 |