summaryrefslogtreecommitdiffstats
path: root/bus/config-parser-common.c
diff options
context:
space:
mode:
authorMatt McCutchen <matt@mattmccutchen.net>2008-11-10 08:55:27 -0500
committerColin Walters <walters@verbum.org>2008-11-10 08:55:27 -0500
commit0314e701c812565bd7bdac548cadfea5d310d66c (patch)
tree4fb55231397367d68cfbfe8f30a238c56cfcfff6 /bus/config-parser-common.c
parent14afa0564e9eea01d28d4b2fd1e6ac0bfec626e7 (diff)
Bug 18446: Keep umask for session bus
Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'bus/config-parser-common.c')
-rw-r--r--bus/config-parser-common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bus/config-parser-common.c b/bus/config-parser-common.c
index 6e4bb701..1e0f7f91 100644
--- a/bus/config-parser-common.c
+++ b/bus/config-parser-common.c
@@ -114,6 +114,10 @@ bus_config_parser_element_name_to_type (const char *name)
{
return ELEMENT_ASSOCIATE;
}
+ else if (strcmp (name, "keep_umask") == 0)
+ {
+ return ELEMENT_KEEP_UMASK;
+ }
return ELEMENT_NONE;
}
@@ -162,6 +166,8 @@ bus_config_parser_element_type_to_name (ElementType type)
return "selinux";
case ELEMENT_ASSOCIATE:
return "associate";
+ case ELEMENT_KEEP_UMASK:
+ return "keep_umask";
}
_dbus_assert_not_reached ("bad element type");