artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924be11
)
Prefer prsignal() to send process signals
author
guenther
<guenther@openbsd.org>
Thu, 15 May 2014 04:36:33 +0000
(
04:36
+0000)
committer
guenther
<guenther@openbsd.org>
Thu, 15 May 2014 04:36:33 +0000
(
04:36
+0000)
sys/kern/kern_time.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_time.c
b/sys/kern/kern_time.c
index
f48c3a2
..
bbf0d48
100644
(file)
--- a/
sys/kern/kern_time.c
+++ b/
sys/kern/kern_time.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_time.c,v 1.8
7 2014/01/30 21:01:59 kettenis
Exp $ */
+/* $OpenBSD: kern_time.c,v 1.8
8 2014/05/15 04:36:33 guenther
Exp $ */
/* $NetBSD: kern_time.c,v 1.20 1996/02/18 11:57:06 fvdl Exp $ */
/*
@@
-598,7
+598,7
@@
realitexpire(void *arg)
struct process *pr = arg;
struct itimerval *tp = &pr->ps_timer[ITIMER_REAL];
- p
signal(pr->ps_mainproc
, SIGALRM);
+ p
rsignal(pr
, SIGALRM);
if (!timerisset(&tp->it_interval)) {
timerclear(&tp->it_value);
return;