Whamcloud - gitweb
debugfs: use ss_safe_getenv() instead of getenv()
authorTheodore Ts'o <tytso@mit.edu>
Tue, 14 Feb 2012 22:01:48 +0000 (17:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 15 Feb 2012 21:18:29 +0000 (16:18 -0500)
commit8a1da3c5ae5d042c272fbcf5ea222ca561f566a5
tree842092d0a711e16891a48946f161f752c4b74d57
parent454ac9d56acb643c48222c71f2b0e63926783b17
debugfs: use ss_safe_getenv() instead of getenv()

In the case where debugfs (or rdebugfs) is installed setgid disk, or
some such, we need to disable the use of environment variables for the
obvious reasons.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/util.c
lib/ss/ss.h