opendoas

A portable version of the OpenBSD `doas` command
git clone https://pi.duncano.de/git/opendoas.git
Log | Files | Refs | README | LICENSE

commit 03b7619e47e684f240da58fb8ea93edccfee6c98
parent 7bdae50597be8eb0920e6f5b2a61aa712f5c398d
Author: Duncaen <mail@duncano.de>
Date:   Mon, 27 Jun 2016 21:45:26 +0200

minor tweaks

Diffstat:
env.c | 2+-
pam.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/env.c b/env.c @@ -82,7 +82,7 @@ createenv(struct rule *rule) env->count = 0; if (rule->options & KEEPENV) { - extern const char **environ; + extern char **environ; for (i = 0; environ[i] != NULL; i++) { struct envnode *node; diff --git a/pam.c b/pam.c @@ -149,7 +149,7 @@ watchsession(pid_t child) { sigset_t sigs; struct sigaction act, oldact; - int status; + int status = 1; /* block signals */ sigfillset(&sigs);