diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-07 16:43:43 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-07 16:43:43 -0500 |
commit | 1f835b90585676e3f87608e94a6500b8732b4b45 (patch) | |
tree | 40843f5adf1f0dd61a39025753decdbed6dd643b /src | |
parent | bump to sandbox-1.3.5 (diff) | |
download | sandbox-1f835b90585676e3f87608e94a6500b8732b4b45.tar.gz sandbox-1f835b90585676e3f87608e94a6500b8732b4b45.tar.bz2 sandbox-1f835b90585676e3f87608e94a6500b8732b4b45.zip |
sandbox: fix typo in struct sandbox_info_t decl
A "typedef" was missing when declaring the sandbox_info_t struct resulting
in a large unused "sandbox_info_t" object showing up everywhere. Normally
this isn't a problem (other than resource waste), but some systems don't
like multiply defined objects even if they're in the .bss section.
URL: http://bugs.gentoo.org/258031
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Timo Kamph <timo@kamph.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/sandbox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sandbox.h b/src/sandbox.h index 028dc37..e25a206 100644 --- a/src/sandbox.h +++ b/src/sandbox.h @@ -21,7 +21,7 @@ struct sandbox_info_t { char work_dir[SB_PATH_MAX]; char tmp_dir[SB_PATH_MAX]; char *home_dir; -} sandbox_info_t; +}; extern char **setup_environ(struct sandbox_info_t *sandbox_info, bool interactive); |