summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2010-06-30 18:03:42 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2010-06-30 18:03:42 +0000
commitfc0de8f0b67cc985fc43ce36df1a736f0d37c9a7 (patch)
tree788978c5fa52aad0858347d77eb0deccb77dcd5c
parent418a27e99ec5a9396a65605bde67c372e0e90c8e (diff)
Notes
-rw-r--r--sys/amd64/amd64/machdep.c1
-rw-r--r--sys/amd64/ia32/ia32_signal.c1
-rw-r--r--sys/arm/arm/machdep.c1
-rw-r--r--sys/i386/i386/machdep.c1
-rw-r--r--sys/ia64/ia64/machdep.c1
-rw-r--r--sys/kern/kern_context.c1
-rw-r--r--sys/kern/subr_trap.c1
-rw-r--r--sys/mips/mips/pm_machdep.c1
-rw-r--r--sys/pc98/pc98/machdep.c1
-rw-r--r--sys/powerpc/aim/machdep.c1
-rw-r--r--sys/powerpc/booke/machdep.c1
-rw-r--r--sys/sparc64/sparc64/machdep.c1
-rw-r--r--sys/sun4v/sun4v/machdep.c1
-rw-r--r--sys/sys/signalvar.h5
-rw-r--r--sys/sys/syscallsubr.h5
15 files changed, 19 insertions, 4 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index c25b8274d276..6bec71b5be6d 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 e5fd0775abf9..a218ff269705 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 088d2257cee9..32348d7933bf 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 d2c75fbd518f..502aa4f49c6f 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 c13adc3181b6..ed00a0499aa9 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 6628eb6b81df..4424efff2f61 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 4298429223bf..ee23726be8d4 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 73619c0f0055..89dd38b5360b 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 5d27e7ab6a06..aa553ca7c247 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 49aae27cfe62..ae02fc950815 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 8a53b7355f97..274fe6e0d03f 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 eda2e01670a2..70abf63e47d0 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 e14eebd9f8c3..3a80bee6950f 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 a63a52983d11..392402eb37cd 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 35c0b261a2e6..7524cf52d83c 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,