summaryrefslogtreecommitdiffstats
path: root/sandbox/src/target_process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/src/target_process.cc')
-rw-r--r--sandbox/src/target_process.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sandbox/src/target_process.cc b/sandbox/src/target_process.cc
index 2710dc0..4efbc18c 100644
--- a/sandbox/src/target_process.cc
+++ b/sandbox/src/target_process.cc
@@ -141,6 +141,7 @@ TargetProcess::~TargetProcess() {
DWORD TargetProcess::Create(const wchar_t* exe_path,
const wchar_t* command_line,
const wchar_t* desktop,
+ PSECURITY_ATTRIBUTES security_attributes,
PROCESS_INFORMATION* target_info) {
exe_name_ = _wcsdup(exe_path);
@@ -162,7 +163,7 @@ DWORD TargetProcess::Create(const wchar_t* exe_path,
if (!::CreateProcessAsUserW(lockdown_token_,
exe_path,
cmd_line.get(),
- NULL, // No security attribute.
+ security_attributes,
NULL, // No thread attribute.
FALSE, // Do not inherit handles.
flags,