feat: enable setuid sandbox on linux (#17269)
This commit is contained in:
parent
890f38e8fa
commit
652e232813
3 changed files with 7 additions and 5 deletions
|
@ -237,10 +237,6 @@ void AtomMainDelegate::PreSandboxStartup() {
|
|||
if (!IsBrowserProcess(command_line))
|
||||
return;
|
||||
|
||||
// Disable setuid sandbox since it is not longer required on
|
||||
// linux (namespace sandbox is available on most distros).
|
||||
command_line->AppendSwitch(service_manager::switches::kDisableSetuidSandbox);
|
||||
|
||||
// Allow file:// URIs to read other file:// URIs by default.
|
||||
command_line->AppendSwitch(::switches::kAllowFileAccessFromFiles);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue