]> git.armaanb.net Git - opendoas.git/commit
sync with upstream (setenv)
authorDuncaen <mail@duncano.de>
Sun, 5 Jun 2016 11:33:36 +0000 (13:33 +0200)
committerDuncaen <mail@duncano.de>
Sun, 5 Jun 2016 12:00:53 +0000 (14:00 +0200)
commit7f11114f0f07c653e0ea3d4ae093d7dcdda4a4ef
treebcb911c091343de6f60e463f8898b4636944fe09
parenta55cefe3d13a0e6c66d4d58352bb09e1e8f5282b
sync with upstream (setenv)

add a doas.conf setenv directive that allows setting environment
variables explicitly and by copying existing environment variables
of a different name. E.g.

permit nopass setenv { PS1=$SUDO_PS1 FOO=bar } keepenv :wheel

ok tedu@ benno@
doas.c
doas.h
parse.y