DescriptionDo some plumbing.
* Move execution options for native apps into its own independent
struct (rather than be NativeRunnerFactory::Options).
* Plumb this all the way down, using it appropriately (this requires
adding fields to the options struct).
* E.g., require_32_bit is now one of the options.
* In ApplicationManager, replace SetNativeOptionsForURL() with something
that returns a (non-const) reference to the options struct for the
give URL. This is useful since we sometimes want to fiddle with
various options independently.
* Add a "allow_new_privs" option. When running in multiprocess, we may
or may not want the child to acquire new privileges (typically not,
but sometimes -- e.g., without it, you can't run sudo/screen/other
setuid programs through mojo:native_support).
* Hack in hardcoded support to set allow_new_privs for
mojo:native_support.
* In general, we need a better, more complete, more consistent way of
setting options for native apps (e.g., sandboxing options).
R=vardhan@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/64bb17c85985e4f6e2b3311dcf78fc7d2c520958
Patch Set 1 #
Total comments: 1
Patch Set 2 : review #
Messages
Total messages: 4 (0 generated)
|