summaryrefslogtreecommitdiff
path: root/src/test/test-ns.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-08-22 18:55:21 +0200
committerDaniel Mack <daniel@zonque.org>2014-09-08 14:12:56 +0200
commita610cc4f18c24a007e5a2cac21b2ecbd81e5f3c3 (patch)
tree7e1dd169235a078a63a367fadbf2f54aa31ac6ca /src/test/test-ns.c
parent501996231293506a85bf4d610938a655ddc8cb92 (diff)
namespace: add support for custom kdbus endpoint
If a path to a previously created custom kdbus endpoint is passed in, bind-mount a new devtmpfs that contains a 'bus' node, which in turn in bind-mounted with the custom endpoint. This tmpfs then mounted over the kdbus subtree that refers to the current bus. This way, we can fake the bus node in order to lock down services with a kdbus custom endpoint policy.
Diffstat (limited to 'src/test/test-ns.c')
-rw-r--r--src/test/test-ns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-ns.c b/src/test/test-ns.c
index acad725899..7714e49ad9 100644
--- a/src/test/test-ns.c
+++ b/src/test/test-ns.c
@@ -59,6 +59,7 @@ int main(int argc, char *argv[]) {
(char **) inaccessible,
tmp_dir,
var_tmp_dir,
+ NULL,
true,
PROTECT_HOME_NO,
PROTECT_SYSTEM_NO,