summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2016-04-27 12:58:12 +0000
committerajacoutot <ajacoutot@openbsd.org>2016-04-27 12:58:12 +0000
commitdeb1abc02c294d624b93fdc3267ec59bf6ce4bd6 (patch)
tree8d5e4de0eeb66e5922746d67bfd66cc9e2d6ee76
parentalign rx buffers so ip packets will be aligned correctly for the stack (diff)
downloadwireguard-openbsd-deb1abc02c294d624b93fdc3267ec59bf6ce4bd6.tar.xz
wireguard-openbsd-deb1abc02c294d624b93fdc3267ec59bf6ce4bd6.zip
Revert matching on the daemon user for now; it breaks sndiod handling which
does start as root but does not have a root master process and instead changed its uid. reported by deraadt@
-rw-r--r--etc/rc.d/rc.subr8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr
index c9dcb0b91ce..ed6caffd9ae 100644
--- a/etc/rc.d/rc.subr
+++ b/etc/rc.d/rc.subr
@@ -1,4 +1,4 @@
-# $OpenBSD: rc.subr,v 1.110 2016/04/26 17:00:20 ajacoutot Exp $
+# $OpenBSD: rc.subr,v 1.111 2016/04/27 12:58:12 ajacoutot Exp $
#
# Copyright (c) 2010, 2011, 2014-2016 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -155,15 +155,15 @@ rc_start() {
}
rc_check() {
- pgrep -T "${daemon_rtable}" -U "${daemon_user}" -q -xf "${pexp}"
+ pgrep -T "${daemon_rtable}" -q -xf "${pexp}"
}
rc_reload() {
- pkill -T "${daemon_rtable}" -U "${daemon_user}" -HUP -xf "${pexp}"
+ pkill -T "${daemon_rtable}" -HUP -xf "${pexp}"
}
rc_stop() {
- pkill -T "${daemon_rtable}" -U "${daemon_user}" -xf "${pexp}"
+ pkill -T "${daemon_rtable}" -xf "${pexp}"
}
rc_cmd() {