package/wpewebkit: add option to enable sandboxing support
authorAdrian Perez de Castro <aperez@igalia.com>
Sat, 14 Dec 2019 14:22:16 +0000 (16:22 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 15 Dec 2019 20:33:56 +0000 (21:33 +0100)
commit2a19afecb428bae6e323baf4178baacc2f545649
tree56828c7367017d550d724b9b934b187665c2c392
parentc061ee3a0a03e06d48038673dc2f6da296401e14
package/wpewebkit: add option to enable sandboxing support

Add an option to enable WebKit's sandbox, which uses kernel
namespaces to isolate the processes used for Web content rendering
(WebKitWebProcess) and network/disk access (WebKitNetworkProcess).

The reason to have an option is that it needs additional dependencies
(bubblewrap, xdg-dbus-proxy, libseccomp), and that some users may
choose to deploy alternative solution (for example: putting all
of WebKit inside its own container, using systemd-nspawn or the
like).

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[Peter: select libseccomp]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/wpewebkit/Config.in
package/wpewebkit/wpewebkit.mk