diff options
author | 2016-10-05 16:58:19 +0000 | |
---|---|---|
committer | 2016-10-05 16:58:19 +0000 | |
commit | 1b81e077f841ebab2ea0227ef06066a1a9348045 (patch) | |
tree | db31e2eda4bc9d5a720d8a0f4fded594066b7f69 /usr.sbin/switchd/proc.h | |
parent | Link the setuid regress test to the build in a way that the obj (diff) | |
download | wireguard-openbsd-1b81e077f841ebab2ea0227ef06066a1a9348045.tar.xz wireguard-openbsd-1b81e077f841ebab2ea0227ef06066a1a9348045.zip |
sync proc.c with vmd: add p_pw to specify a non-standard user for a process.
OK rzalamena@
Diffstat (limited to 'usr.sbin/switchd/proc.h')
-rw-r--r-- | usr.sbin/switchd/proc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/switchd/proc.h b/usr.sbin/switchd/proc.h index a2336753a17..c84c210c180 100644 --- a/usr.sbin/switchd/proc.h +++ b/usr.sbin/switchd/proc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.h,v 1.3 2016/09/18 13:17:40 rzalamena Exp $ */ +/* $OpenBSD: proc.h,v 1.4 2016/10/05 16:58:19 reyk Exp $ */ /* * Copyright (c) 2010-2015 Reyk Floeter <reyk@openbsd.org> @@ -76,7 +76,7 @@ struct privsep_proc { const char *p_chroot; struct privsep *p_ps; void (*p_shutdown)(void); - unsigned int p_instance; + struct passwd *p_pw; }; struct privsep_fd { |