diff options
author | 2020-02-23 22:57:17 +0100 | |
---|---|---|
committer | 2020-04-06 20:36:12 +0200 | |
commit | 6fc8a559ded2cc8cf263288ef111d8876673e2fb (patch) | |
tree | ba607f654b20ab7036767441103c95a448e4f88c /src/firejail/sandbox.c | |
parent | Allow changing error action in seccomp filters (diff) | |
download | firejail-6fc8a559ded2cc8cf263288ef111d8876673e2fb.tar.gz firejail-6fc8a559ded2cc8cf263288ef111d8876673e2fb.tar.zst firejail-6fc8a559ded2cc8cf263288ef111d8876673e2fb.zip |
Add --dbus-user and --dbus-system options
Allow setting a separate policy for the user and system buses.
For now, the filter policy is equivalent to the none (block) policy.
Future commits will add more configuration options and filters.
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r-- | src/firejail/sandbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index e20ec603c..37d108750 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -932,8 +932,7 @@ int sandbox(void* sandbox_arg) { | |||
932 | //**************************** | 932 | //**************************** |
933 | // Session D-BUS | 933 | // Session D-BUS |
934 | //**************************** | 934 | //**************************** |
935 | if (arg_nodbus) | 935 | dbus_apply_policy(); |
936 | dbus_disable(); | ||
937 | 936 | ||
938 | 937 | ||
939 | //**************************** | 938 | //**************************** |