diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-07 21:51:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-07 21:51:05 +0000 |
commit | a9d7a5ef0ff13ddc72cd5f8e09987e3067ab5087 (patch) | |
tree | 6b9188942c8bf1187cf32c787a98684e65652d32 /sys-apps/sandbox/files | |
parent | Stable on alpha, bug #245440 (diff) | |
download | gentoo-2-a9d7a5ef0ff13ddc72cd5f8e09987e3067ab5087.tar.gz gentoo-2-a9d7a5ef0ff13ddc72cd5f8e09987e3067ab5087.tar.bz2 gentoo-2-a9d7a5ef0ff13ddc72cd5f8e09987e3067ab5087.zip |
Fix for hardened systems #258031.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/sandbox/files')
-rw-r--r-- | sys-apps/sandbox/files/0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-apps/sandbox/files/0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch b/sys-apps/sandbox/files/0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch new file mode 100644 index 000000000000..cdff970ab656 --- /dev/null +++ b/sys-apps/sandbox/files/0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch @@ -0,0 +1,33 @@ +From 1f835b90585676e3f87608e94a6500b8732b4b45 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Sat, 7 Feb 2009 16:43:43 -0500 +Subject: [PATCH] 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> +--- + 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); + +-- +1.6.1.2 + |