run chromium with --no-sandbox without pass it in command line

781 views
Skip to first unread message

Angelo Mantellini

unread,
Jun 29, 2018, 5:50:09 PM6/29/18
to Chromium-dev
Hi,
I need to modify chromium to start without sandbox.
Could you tell me where is the part that I have to modify to achieve this goal?
Thank you very much
Angelo

PhistucK

unread,
Jun 30, 2018, 4:07:28 PM6/30/18
to Angelo Mantellini, Chromium-dev
I would use cs.chromium.org to search the "no-sandbox" flag and search for the if () that uses it to turn the sandbox off.

PhistucK


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/7c281774-4f63-4148-98ba-1f8bf10fbcc1%40chromium.org.

Angelo Mantellini

unread,
Jul 2, 2018, 12:17:44 PM7/2/18
to PhistucK, Chromium-dev

I tried to search, but I don’t found a clear entry point to disable it.

Thanks for your answer

PhistucK

unread,
Jul 2, 2018, 1:42:33 PM7/2/18
to Angelo Mantellini, Chromium-dev

Torne (Richard Coles)

unread,
Jul 2, 2018, 1:51:09 PM7/2/18
to phis...@gmail.com, Angelo Mantellini, Chromium-dev
If you're intending to do this on Android (since you asked several other questions about android) then note that --no-sandbox doesn't remove most of the sandbox restrictions on Android - the Android platform level isolated process sandbox is always used to create the renderer processes, which means that on Android the renderer can't ever make network connections or access non-public files. --no-sandbox will only disable the additional seccomp-bpf system call filtering that Chromium applies, and will not relax any of the platform-level restrictions.

Reply all
Reply to author
Forward
0 new messages