diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-02-14 17:01:48 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-02-15 16:18:29 -0500 |
commit | 8a1da3c5ae5d042c272fbcf5ea222ca561f566a5 (patch) | |
tree | 842092d0a711e16891a48946f161f752c4b74d57 /lib/ss/ss.h | |
parent | 454ac9d56acb643c48222c71f2b0e63926783b17 (diff) | |
download | android_external_e2fsprogs-8a1da3c5ae5d042c272fbcf5ea222ca561f566a5.tar.gz android_external_e2fsprogs-8a1da3c5ae5d042c272fbcf5ea222ca561f566a5.tar.bz2 android_external_e2fsprogs-8a1da3c5ae5d042c272fbcf5ea222ca561f566a5.zip |
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>
Diffstat (limited to 'lib/ss/ss.h')
-rw-r--r-- | lib/ss/ss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ss/ss.h b/lib/ss/ss.h index 6cc050bd..7333ffc9 100644 --- a/lib/ss/ss.h +++ b/lib/ss/ss.h @@ -90,6 +90,7 @@ void ss_unimplemented(int argc, const char * const *argv, void ss_set_prompt(int sci_idx, char *new_prompt); char *ss_get_prompt(int sci_idx); void ss_get_readline(int sci_idx); +char *ss_safe_getenv(const char *arg); extern ss_request_table ss_std_requests; #endif /* _ss_h */ |