From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox/files: 0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch
Date: Sat, 07 Feb 2009 21:51:05 +0000 [thread overview]
Message-ID: <E1LVv4r-0002u4-7a@stork.gentoo.org> (raw)
vapier 09/02/07 21:51:05
Added:
0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch
Log:
Fix for hardened systems #258031.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-apps/sandbox/files/0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/files/0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/files/0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch?rev=1.1&content-type=text/plain
Index: 0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch
===================================================================
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
next reply other threads:[~2009-02-07 21:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-07 21:51 Mike Frysinger (vapier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-09-08 17:48 [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox/files: 0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch Mike Frysinger (vapier)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1LVv4r-0002u4-7a@stork.gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox