sigpause -> sigsuspend in comments.

This commit is contained in:
yamt 2008-02-19 12:20:02 +00:00
parent fa9544ebbf
commit 70e552c2cb
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_sig.c,v 1.267 2008/02/05 13:33:35 ad Exp $ */
/* $NetBSD: kern_sig.c,v 1.268 2008/02/19 12:20:02 yamt Exp $ */
/*-
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.267 2008/02/05 13:33:35 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.268 2008/02/19 12:20:02 yamt Exp $");
#include "opt_ptrace.h"
#include "opt_multiprocessor.h"
@ -1791,8 +1791,8 @@ postsig(int signo)
* Set the new mask value and also defer further occurrences of this
* signal.
*
* Special case: user has done a sigpause. Here the current mask is
* not of interest, but rather the mask from before the sigpause is
* Special case: user has done a sigsuspend. Here the current mask is
* not of interest, but rather the mask from before the sigsuspen is
* what we want restored after the signal processing is completed.
*/
if (l->l_sigrestore) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_sig.c,v 1.11 2008/01/23 17:56:53 elad Exp $ */
/* $NetBSD: sys_sig.c,v 1.12 2008/02/19 12:20:02 yamt Exp $ */
/*-
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.11 2008/01/23 17:56:53 elad Exp $");
__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.12 2008/02/19 12:20:02 yamt Exp $");
#include "opt_ptrace.h"
#include "opt_compat_netbsd.h"
@ -557,7 +557,7 @@ sigsuspend1(struct lwp *l, const sigset_t *ss)
if (ss) {
/*
* When returning from sigpause, we want
* When returning from sigsuspend, we want
* the old mask to be restored after the
* signal handler has finished. Thus, we
* save it here and mark the sigctx structure