public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox/files: 0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch
@ 2009-02-07 21:51 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2009-02-07 21:51 UTC (permalink / raw
  To: gentoo-commits

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







^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox/files: 0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch
@ 2009-09-08 17:48 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2009-09-08 17:48 UTC (permalink / raw
  To: gentoo-commits

vapier      09/09/08 17:48:28

  Removed:             
                        0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch
  Log:
  old



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-08 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-07 21:51 [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox/files: 0001-sandbox-fix-typo-in-struct-sandbox_info_t-decl.patch Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2009-09-08 17:48 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox