diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-12-27 02:04:36 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-02-24 23:05:05 -0500 |
commit | 265b974f15ecf119d07fea46a449988a6401392c (patch) | |
tree | f67670d000de52f69b89e28a606a5d4bd4583fa7 /libsandbox | |
parent | environ: add a new is_env_var helper for checking var names (diff) | |
download | sandbox-265b974f15ecf119d07fea46a449988a6401392c.tar.gz sandbox-265b974f15ecf119d07fea46a449988a6401392c.tar.bz2 sandbox-265b974f15ecf119d07fea46a449988a6401392c.zip |
delete unused sandbox env vars
Nothing uses or cares about these vars, so punt them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r-- | libsandbox/libsandbox.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c index bdef2d9..eaa5c7d 100644 --- a/libsandbox/libsandbox.c +++ b/libsandbox/libsandbox.c @@ -983,9 +983,6 @@ bool before_syscall(int dirfd, int sb_nr, const char *func, const char *file, in sb_unlock(); if (0 == result) { - if ((NULL != getenv(ENV_SANDBOX_PID)) && (is_env_on(ENV_SANDBOX_ABORT))) - kill(atoi(getenv(ENV_SANDBOX_PID)), SIGUSR1); - /* FIXME: Should probably audit errno, and enable some other * error to be returned (EINVAL for invalid mode for * fopen() and co, ETOOLONG, etc). */ |