[systemd-commits] src/libsystemd-bus units/.gitignore

Kay Sievers kay at kemper.freedesktop.org
Fri Apr 12 11:11:17 PDT 2013


 src/libsystemd-bus/bus-kernel.c |    2 +-
 src/libsystemd-bus/kdbus.h      |    2 +-
 units/.gitignore                |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 4e6db59202ad2dbbef56a69985643390ffdd57bd
Author: Kay Sievers <kay at vrfy.org>
Date:   Fri Apr 12 21:04:02 2013 +0200

    bus: rename KDBUS_CMD_FNAME_POLICY_NONE -> KDBUS_CMD_FNAME_POLICY_OPEN

diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c
index d5152ec..ff687ac 100644
--- a/src/libsystemd-bus/bus-kernel.c
+++ b/src/libsystemd-bus/bus-kernel.c
@@ -409,7 +409,7 @@ int bus_kernel_create(const char *name, char **s) {
         fname = alloca(offsetof(struct kdbus_cmd_fname, name) + DECIMAL_STR_MAX(uid_t) + 1 + l + 1);
         sprintf(fname->name, "%lu-%s", (unsigned long) getuid(), name);
         fname->size = offsetof(struct kdbus_cmd_fname, name) + strlen(fname->name) + 1;
-        fname->kernel_flags = KDBUS_CMD_FNAME_ACCESS_WORLD | KDBUS_CMD_FNAME_POLICY_NONE;
+        fname->kernel_flags = KDBUS_CMD_FNAME_ACCESS_WORLD | KDBUS_CMD_FNAME_POLICY_OPEN;
         fname->user_flags = 0;
 
         p = strjoin("/dev/kdbus/", fname->name, "/bus", NULL);
diff --git a/src/libsystemd-bus/kdbus.h b/src/libsystemd-bus/kdbus.h
index 16d2d1a..4310ef3 100644
--- a/src/libsystemd-bus/kdbus.h
+++ b/src/libsystemd-bus/kdbus.h
@@ -201,7 +201,7 @@ enum {
 enum {
 	KDBUS_CMD_FNAME_ACCESS_GROUP	=  1,
 	KDBUS_CMD_FNAME_ACCESS_WORLD	=  2,
-	KDBUS_CMD_FNAME_POLICY_NONE	=  4,
+	KDBUS_CMD_FNAME_POLICY_OPEN	=  4,
 };
 
 struct kdbus_cmd_hello {
diff --git a/units/.gitignore b/units/.gitignore
index d310999..6c9582e 100644
--- a/units/.gitignore
+++ b/units/.gitignore
@@ -43,6 +43,7 @@
 /systemd-random-seed-load.service
 /systemd-random-seed-save.service
 /systemd-initctl.service
+/systemd-static-nodes.service
 /getty at .service
 /systemd-update-utmp-runlevel.service
 /systemd-update-utmp-shutdown.service



More information about the systemd-commits mailing list