diff options
author | jhb <jhb@FreeBSD.org> | 2010-06-30 18:03:42 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-06-30 18:03:42 +0000 |
commit | de324e256c9dc34a94524f6b1dcdd1e0bc2f74ee (patch) | |
tree | 788978c5fa52aad0858347d77eb0deccb77dcd5c /sys | |
parent | 738cd61a3da5d3ec670e62660ce993ed21858c36 (diff) | |
download | FreeBSD-src-de324e256c9dc34a94524f6b1dcdd1e0bc2f74ee.zip FreeBSD-src-de324e256c9dc34a94524f6b1dcdd1e0bc2f74ee.tar.gz |
Move prototypes for kern_sigtimedwait() and kern_sigprocmask() to
<sys/syscallsubr.h> where all other kern_<syscall> prototypes live.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 1 | ||||
-rw-r--r-- | sys/amd64/ia32/ia32_signal.c | 1 | ||||
-rw-r--r-- | sys/arm/arm/machdep.c | 1 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 1 | ||||
-rw-r--r-- | sys/ia64/ia64/machdep.c | 1 | ||||
-rw-r--r-- | sys/kern/kern_context.c | 1 | ||||
-rw-r--r-- | sys/kern/subr_trap.c | 1 | ||||
-rw-r--r-- | sys/mips/mips/pm_machdep.c | 1 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 1 | ||||
-rw-r--r-- | sys/powerpc/aim/machdep.c | 1 | ||||
-rw-r--r-- | sys/powerpc/booke/machdep.c | 1 | ||||
-rw-r--r-- | sys/sparc64/sparc64/machdep.c | 1 | ||||
-rw-r--r-- | sys/sun4v/sun4v/machdep.c | 1 | ||||
-rw-r--r-- | sys/sys/signalvar.h | 5 | ||||
-rw-r--r-- | sys/sys/syscallsubr.h | 5 |
15 files changed, 19 insertions, 4 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index c25b827..6bec71b 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -81,6 +81,7 @@ __FBSDID("$FreeBSD$"); #include <sys/reboot.h> #include <sys/sched.h> #include <sys/signalvar.h> +#include <sys/syscallsubr.h> #include <sys/sysctl.h> #include <sys/sysent.h> #include <sys/sysproto.h> diff --git a/sys/amd64/ia32/ia32_signal.c b/sys/amd64/ia32/ia32_signal.c index e5fd077..a218ff2 100644 --- a/sys/amd64/ia32/ia32_signal.c +++ b/sys/amd64/ia32/ia32_signal.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <sys/stat.h> #include <sys/sx.h> #include <sys/syscall.h> +#include <sys/syscallsubr.h> #include <sys/sysctl.h> #include <sys/sysent.h> #include <sys/vnode.h> diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c index 088d225..32348d7 100644 --- a/sys/arm/arm/machdep.c +++ b/sys/arm/arm/machdep.c @@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$"); #include <sys/pcpu.h> #include <sys/ptrace.h> #include <sys/signalvar.h> +#include <sys/syscallsubr.h> #include <sys/sysent.h> #include <sys/sysproto.h> #include <sys/uio.h> diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index d2c75fb..502aa4f 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -81,6 +81,7 @@ __FBSDID("$FreeBSD$"); #include <sys/reboot.h> #include <sys/sched.h> #include <sys/signalvar.h> +#include <sys/syscallsubr.h> #include <sys/sysctl.h> #include <sys/sysent.h> #include <sys/sysproto.h> diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index c13adc3..ed00a04 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -59,6 +59,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sched.h> #include <sys/signalvar.h> #include <sys/syscall.h> +#include <sys/syscallsubr.h> #include <sys/sysctl.h> #include <sys/sysproto.h> #include <sys/ucontext.h> diff --git a/sys/kern/kern_context.c b/sys/kern/kern_context.c index 6628eb6..4424eff 100644 --- a/sys/kern/kern_context.c +++ b/sys/kern/kern_context.c @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); #include <sys/lock.h> #include <sys/mutex.h> #include <sys/proc.h> +#include <sys/syscallsubr.h> #include <sys/sysent.h> #include <sys/systm.h> #include <sys/sysproto.h> diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 4298429..ee23726 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sched.h> #include <sys/signalvar.h> #include <sys/syscall.h> +#include <sys/syscallsubr.h> #include <sys/sysent.h> #include <sys/systm.h> #include <sys/vmmeter.h> diff --git a/sys/mips/mips/pm_machdep.c b/sys/mips/mips/pm_machdep.c index 73619c0..89dd38b 100644 --- a/sys/mips/mips/pm_machdep.c +++ b/sys/mips/mips/pm_machdep.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/imgact.h> #include <sys/ucontext.h> #include <sys/lock.h> +#include <sys/syscallsubr.h> #include <sys/sysproto.h> #include <sys/ptrace.h> #include <sys/syslog.h> diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 5d27e7a..aa553ca 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -79,6 +79,7 @@ __FBSDID("$FreeBSD$"); #include <sys/reboot.h> #include <sys/sched.h> #include <sys/signalvar.h> +#include <sys/syscallsubr.h> #include <sys/sysctl.h> #include <sys/sysent.h> #include <sys/sysproto.h> diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 49aae27..ae02fc9 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -85,6 +85,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ptrace.h> #include <sys/reboot.h> #include <sys/signalvar.h> +#include <sys/syscallsubr.h> #include <sys/sysctl.h> #include <sys/sysent.h> #include <sys/sysproto.h> diff --git a/sys/powerpc/booke/machdep.c b/sys/powerpc/booke/machdep.c index 8a53b73..274fe6e 100644 --- a/sys/powerpc/booke/machdep.c +++ b/sys/powerpc/booke/machdep.c @@ -104,6 +104,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/exec.h> #include <sys/ktr.h> +#include <sys/syscallsubr.h> #include <sys/sysproto.h> #include <sys/signalvar.h> #include <sys/sysent.h> diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c index eda2e01..70abf63 100644 --- a/sys/sparc64/sparc64/machdep.c +++ b/sys/sparc64/sparc64/machdep.c @@ -68,6 +68,7 @@ __FBSDID("$FreeBSD$"); #include <sys/reboot.h> #include <sys/signalvar.h> #include <sys/smp.h> +#include <sys/syscallsubr.h> #include <sys/sysent.h> #include <sys/sysproto.h> #include <sys/timetc.h> diff --git a/sys/sun4v/sun4v/machdep.c b/sys/sun4v/sun4v/machdep.c index e14eebd..3a80bee 100644 --- a/sys/sun4v/sun4v/machdep.c +++ b/sys/sun4v/sun4v/machdep.c @@ -68,6 +68,7 @@ __FBSDID("$FreeBSD$"); #include <sys/reboot.h> #include <sys/signalvar.h> #include <sys/smp.h> +#include <sys/syscallsubr.h> #include <sys/sysent.h> #include <sys/sysproto.h> #include <sys/timetc.h> diff --git a/sys/sys/signalvar.h b/sys/sys/signalvar.h index a63a529..392402e 100644 --- a/sys/sys/signalvar.h +++ b/sys/sys/signalvar.h @@ -357,10 +357,7 @@ void tdksignal(struct thread *td, int sig, ksiginfo_t *ksi); void tdsigcleanup(struct thread *td); void tdsignal(struct thread *td, int sig); void trapsignal(struct thread *td, ksiginfo_t *); -int kern_sigtimedwait(struct thread *, sigset_t, - ksiginfo_t *, struct timespec *); -int kern_sigprocmask(struct thread *td, int how, - sigset_t *set, sigset_t *oset, int flags); + /* * Machine-dependent functions: */ diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h index 35c0b26..7524cf5 100644 --- a/sys/sys/syscallsubr.h +++ b/sys/sys/syscallsubr.h @@ -48,6 +48,7 @@ struct sockaddr; struct stat; struct kevent; struct kevent_copyops; +struct ksiginfo; struct sendfile_args; struct thr_param; @@ -192,7 +193,11 @@ int kern_shmctl(struct thread *td, int shmid, int cmd, void *buf, int kern_sigaction(struct thread *td, int sig, struct sigaction *act, struct sigaction *oact, int flags); int kern_sigaltstack(struct thread *td, stack_t *ss, stack_t *oss); +int kern_sigprocmask(struct thread *td, int how, + sigset_t *set, sigset_t *oset, int flags); int kern_sigsuspend(struct thread *td, sigset_t mask); +int kern_sigtimedwait(struct thread *td, sigset_t waitset, + struct ksiginfo *ksi, struct timespec *timeout); int kern_stat(struct thread *td, char *path, enum uio_seg pathseg, struct stat *sbp); int kern_statat(struct thread *td, int flag, int fd, char *path, |