/[path-sandbox]/trunk/src/sandbox.c
Gentoo

Diff of /trunk/src/sandbox.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 174 Revision 175
339 if (-1 == get_sandbox_predict_envvar(sandbox_predict_envvar, sandbox_info)) 339 if (-1 == get_sandbox_predict_envvar(sandbox_predict_envvar, sandbox_info))
340 return NULL; 340 return NULL;
341 if (!getenv(ENV_SANDBOX_PREDICT)) 341 if (!getenv(ENV_SANDBOX_PREDICT))
342 sandbox_setenv(new_environ, ENV_SANDBOX_PREDICT, sandbox_predict_envvar); 342 sandbox_setenv(new_environ, ENV_SANDBOX_PREDICT, sandbox_predict_envvar);
343 343
344 /* Make sure our bashrc gets preference */
345 sandbox_setenv(new_environ, ENV_BASH_ENV, sandbox_info->sandbox_rc);
346
344 /* This one should NEVER be set in ebuilds, as it is the one 347 /* This one should NEVER be set in ebuilds, as it is the one
345 * private thing libsandbox.so use to test if the sandbox 348 * private thing libsandbox.so use to test if the sandbox
346 * should be active for this pid, or not. 349 * should be active for this pid, or not.
347 * 350 *
348 * azarah (3 Aug 2002) 351 * azarah (3 Aug 2002)

Legend:
Removed from v.174  
changed lines
  Added in v.175

  ViewVC Help
Powered by ViewVC 1.1.20