summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-01-28 06:06:04 +0000
committerkan <kan@FreeBSD.org>2004-01-28 06:06:04 +0000
commita62ca420840d89b5643208f6fa021ae13314ca88 (patch)
tree81f08eb3300f60bd67771423b15858d21a1baa84 /sys/kern
parentf66bd5e23b29a95cc1acf9111cca0ea3f2acbcef (diff)
downloadFreeBSD-src-a62ca420840d89b5643208f6fa021ae13314ca88.zip
FreeBSD-src-a62ca420840d89b5643208f6fa021ae13314ca88.tar.gz
Move the part of the comment which applies to osigsuspend where
it belongs. The current sigsuspend syscall does expect a pointer to the mask as argument. Submitted by: Igor Sysoev <is at rambler-co dot ru>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_sig.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index da414bc..0538a0a 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1106,8 +1106,7 @@ osigsetmask(td, uap)
/*
* Suspend process until signal, providing mask to be set
- * in the meantime. Note nonstandard calling convention:
- * libc stub passes mask, not pointer, to save a copyin.
+ * in the meantime.
***** XXXKSE this doesn't make sense under KSE.
***** Do we suspend the thread or all threads in the process?
***** How do we suspend threads running NOW on another processor?
@@ -1161,6 +1160,10 @@ kern_sigsuspend(struct thread *td, sigset_t mask)
}
#ifdef COMPAT_43 /* XXX - COMPAT_FBSD3 */
+/*
+ * Compatibility sigsuspend call for old binaries. Note nonstandard calling
+ * convention: libc stub passes mask, not pointer, to save a copyin.
+ */
#ifndef _SYS_SYSPROTO_H_
struct osigsuspend_args {
osigset_t mask;
OpenPOWER on IntegriCloud