| Index: base/process/launch.h
|
| diff --git a/base/process/launch.h b/base/process/launch.h
|
| index d725e05eced8606dafbc3e7134814684e195912b..9e39fba6297d92bfcaae23dd89b439c187e99156 100644
|
| --- a/base/process/launch.h
|
| +++ b/base/process/launch.h
|
| @@ -111,6 +111,10 @@ struct BASE_EXPORT LaunchOptions {
|
| #if defined(OS_LINUX)
|
| // If non-zero, start the process using clone(), using flags as provided.
|
| int clone_flags;
|
| +
|
| + // By default, child processes will have the PR_SET_NO_NEW_PRIVS bit set. If
|
| + // true, then this bit will not be set in the new child process.
|
| + bool allow_new_privs;
|
| #endif // defined(OS_LINUX)
|
|
|
| #if defined(OS_CHROMEOS)
|
| @@ -243,6 +247,10 @@ BASE_EXPORT void RaiseProcessToHighPriority();
|
| void RestoreDefaultExceptionHandler();
|
| #endif // defined(OS_MACOSX)
|
|
|
| +// Creates a LaunchOptions object suitable for launching processes in a test
|
| +// binary. This should not be called in production/released code.
|
| +BASE_EXPORT LaunchOptions LaunchOptionsForTest();
|
| +
|
| } // namespace base
|
|
|
| #endif // BASE_PROCESS_LAUNCH_H_
|
|
|