From 6322c471382ebb52b1fa47ad83ff629bff9d4672 Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Fri, 17 Jul 2009 21:36:28 +0000 Subject: Linux sandbox: save full list of SUID unsafe environment variables. r20733 added code to save LD_LIBRARY_PATH when using the SUID sandbox. That fixed a P0, show-stopper bug, however, LD_LIBRARY_PATH isn't the only variable which is stomped when using SUID binaries. This patch extends support to all variables that we so affected. BUG=16815 http://codereview.chromium.org/159025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21009 0039d316-1c4b-4281-b951-d872f2087c98 --- sandbox/sandbox.gyp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sandbox/sandbox.gyp') diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp index 6ca2cef..d711f83 100644 --- a/sandbox/sandbox.gyp +++ b/sandbox/sandbox.gyp @@ -25,6 +25,9 @@ 'sources': [ 'linux/suid/sandbox.cc', ], + 'include_dirs': [ + '..', + ], } ], }], -- cgit v1.1