summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorYuriy Taraday <yorik.sar@gmail.com>2015-03-04 14:50:25 +0300
committerYuriy Taraday <yorik.sar@gmail.com>2015-03-04 14:50:25 +0300
commitf485b93f475b119e3b8fa6c9cf740207e2d2d7ac (patch)
tree76eecaf7636fbdc89257ada478c503ce2f70f70e /README.rst
parent8472c5e36361cc144615a8713bd9ab3e2bd5e401 (diff)
downloadoslo-rootwrap-f485b93f475b119e3b8fa6c9cf740207e2d2d7ac.tar.gz
Remove env changing support in daemon mode1.6.0
It introduced a security issue since these env vars are not filtered by either sudo or rootwrap. This change reverts changes in common code from Iace26738f910a18a5d1d3479fad949027e5a3816 (most of them) and purges ability to specify env in arguments for daemon. Environment should be provided to callee process using EnvFilter and /usr/bin/env. Change-Id: Iafbc493d6158f3ea85b3d74cb37c29e161a1099f
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 6585cb8..75de3a4 100644
--- a/README.rst
+++ b/README.rst
@@ -338,8 +338,6 @@ The class provides one method ``execute`` with following arguments:
* ``userargs`` - list of command line arguments that are to be used to run the
command;
-* ``env`` - dict of environment variables to be set for it (by default it's an
- empty dict, so all environment variables are stripped);
* ``stdin`` - string to be passed to standard input of child process.
The method returns 3-tuple containing: