diff options
author | jeff <jeff@FreeBSD.org> | 2003-03-31 23:33:45 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-03-31 23:33:45 +0000 |
commit | 71a412bee0b7421bc8068e5e09f24d600458d142 (patch) | |
tree | acf92749a0aae4ae12ac4e57b50eb14aa81deda6 /sys | |
parent | e059422042fe9aab232f8028bd219cbc422f9128 (diff) | |
download | FreeBSD-src-71a412bee0b7421bc8068e5e09f24d600458d142.zip FreeBSD-src-71a412bee0b7421bc8068e5e09f24d600458d142.tar.gz |
- Regen for the sig*wait* system calls.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_sysent.c | 7 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 7 | ||||
-rw-r--r-- | sys/sys/syscall.h | 7 | ||||
-rw-r--r-- | sys/sys/syscall.mk | 7 | ||||
-rw-r--r-- | sys/sys/sysproto.h | 18 |
5 files changed, 35 insertions, 11 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 22dfec8..b2d2310 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.143 2003/01/26 20:09:34 alfred Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp */ #include "opt_compat.h" @@ -373,8 +373,8 @@ struct sysent sysent[] = { { compat4(SYF_MPSAFE | AS(freebsd4_sigaction_args),sigaction) }, /* 342 = old sigaction */ { SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending }, /* 343 = sigpending */ { compat4(SYF_MPSAFE | AS(freebsd4_sigreturn_args),sigreturn) }, /* 344 = old sigreturn */ - { 0, (sy_call_t *)nosys }, /* 345 = sigtimedwait */ - { 0, (sy_call_t *)nosys }, /* 346 = sigwaitinfo */ + { SYF_MPSAFE | AS(sigtimedwait_args), (sy_call_t *)sigtimedwait }, /* 345 = sigtimedwait */ + { SYF_MPSAFE | AS(sigwaitinfo_args), (sy_call_t *)sigwaitinfo }, /* 346 = sigwaitinfo */ { SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file }, /* 347 = __acl_get_file */ { SYF_MPSAFE | AS(__acl_set_file_args), (sy_call_t *)__acl_set_file }, /* 348 = __acl_set_file */ { SYF_MPSAFE | AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd }, /* 349 = __acl_get_fd */ @@ -457,4 +457,5 @@ struct sysent sysent[] = { { SYF_MPSAFE | AS(__acl_set_link_args), (sy_call_t *)__acl_set_link }, /* 426 = __acl_set_link */ { SYF_MPSAFE | AS(__acl_delete_link_args), (sy_call_t *)__acl_delete_link }, /* 427 = __acl_delete_link */ { SYF_MPSAFE | AS(__acl_aclcheck_link_args), (sy_call_t *)__acl_aclcheck_link }, /* 428 = __acl_aclcheck_link */ + { SYF_MPSAFE | AS(sigwait_args), (sy_call_t *)sigwait }, /* 429 = sigwait */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 0a61dad..f25ccf4 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.143 2003/01/26 20:09:34 alfred Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp */ const char *syscallnames[] = { @@ -352,8 +352,8 @@ const char *syscallnames[] = { "old.sigaction", /* 342 = old sigaction */ "sigpending", /* 343 = sigpending */ "old.sigreturn", /* 344 = old sigreturn */ - "#345", /* 345 = sigtimedwait */ - "#346", /* 346 = sigwaitinfo */ + "sigtimedwait", /* 345 = sigtimedwait */ + "sigwaitinfo", /* 346 = sigwaitinfo */ "__acl_get_file", /* 347 = __acl_get_file */ "__acl_set_file", /* 348 = __acl_set_file */ "__acl_get_fd", /* 349 = __acl_get_fd */ @@ -436,4 +436,5 @@ const char *syscallnames[] = { "__acl_set_link", /* 426 = __acl_set_link */ "__acl_delete_link", /* 427 = __acl_delete_link */ "__acl_aclcheck_link", /* 428 = __acl_aclcheck_link */ + "sigwait", /* 429 = sigwait */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index e5be7da..46cb3e0 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.143 2003/01/26 20:09:34 alfred Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp */ #define SYS_syscall 0 @@ -268,6 +268,8 @@ /* 342 is old sigaction */ #define SYS_sigpending 343 /* 344 is old sigreturn */ +#define SYS_sigtimedwait 345 +#define SYS_sigwaitinfo 346 #define SYS___acl_get_file 347 #define SYS___acl_set_file 348 #define SYS___acl_get_fd 349 @@ -334,4 +336,5 @@ #define SYS___acl_set_link 426 #define SYS___acl_delete_link 427 #define SYS___acl_aclcheck_link 428 -#define SYS_MAXSYSCALL 429 +#define SYS_sigwait 429 +#define SYS_MAXSYSCALL 430 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index 946e86b..9ba5b11 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.143 2003/01/26 20:09:34 alfred Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp MIASM = \ syscall.o \ exit.o \ @@ -214,6 +214,8 @@ MIASM = \ sigprocmask.o \ sigsuspend.o \ sigpending.o \ + sigtimedwait.o \ + sigwaitinfo.o \ __acl_get_file.o \ __acl_set_file.o \ __acl_get_fd.o \ @@ -279,4 +281,5 @@ MIASM = \ __acl_get_link.o \ __acl_set_link.o \ __acl_delete_link.o \ - __acl_aclcheck_link.o + __acl_aclcheck_link.o \ + sigwait.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 892ca0a..0892ffe 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.143 2003/01/26 20:09:34 alfred Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -923,6 +923,15 @@ struct sigsuspend_args { struct sigpending_args { char set_l_[PADL_(sigset_t *)]; sigset_t * set; char set_r_[PADR_(sigset_t *)]; }; +struct sigtimedwait_args { + char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)]; + char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)]; + char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)]; +}; +struct sigwaitinfo_args { + char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)]; + char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)]; +}; struct __acl_get_file_args { char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; @@ -1223,6 +1232,10 @@ struct __acl_aclcheck_link_args { char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)]; }; +struct sigwait_args { + char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)]; + char sig_l_[PADL_(int *)]; int * sig; char sig_r_[PADR_(int *)]; +}; int nosys(struct thread *, struct nosys_args *); void sys_exit(struct thread *, struct sys_exit_args *); int fork(struct thread *, struct fork_args *); @@ -1432,6 +1445,8 @@ int jail(struct thread *, struct jail_args *); int sigprocmask(struct thread *, struct sigprocmask_args *); int sigsuspend(struct thread *, struct sigsuspend_args *); int sigpending(struct thread *, struct sigpending_args *); +int sigtimedwait(struct thread *, struct sigtimedwait_args *); +int sigwaitinfo(struct thread *, struct sigwaitinfo_args *); int __acl_get_file(struct thread *, struct __acl_get_file_args *); int __acl_set_file(struct thread *, struct __acl_set_file_args *); int __acl_get_fd(struct thread *, struct __acl_get_fd_args *); @@ -1499,6 +1514,7 @@ int __acl_get_link(struct thread *, struct __acl_get_link_args *); int __acl_set_link(struct thread *, struct __acl_set_link_args *); int __acl_delete_link(struct thread *, struct __acl_delete_link_args *); int __acl_aclcheck_link(struct thread *, struct __acl_aclcheck_link_args *); +int sigwait(struct thread *, struct sigwait_args *); #ifdef COMPAT_43 |