use setall for setusercontext, to make it simpler to inherit new changes.
authortedu <tedu@openbsd.org>
Fri, 25 Feb 2022 18:29:32 +0000 (18:29 +0000)
committertedu <tedu@openbsd.org>
Fri, 25 Feb 2022 18:29:32 +0000 (18:29 +0000)
commit16ea52bff5757a846d855325cc94bee868b5c39a
treee68415bd1f696aa4a8bfb531c459b69632927775
parent7e1460e55cf9861dec959a5b302ceec8315114b1
use setall for setusercontext, to make it simpler to inherit new changes.
note that the addition of setenv doesn't do much, since doas will rewrite
the environment anyway (but added variables are accessible in keepenv,
should anybody be using that feature).
usr.bin/doas/doas.c