diff options
author | Matt McCutchen <matt@mattmccutchen.net> | 2008-11-10 08:55:27 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-01-06 18:20:13 -0500 |
commit | 6663d1dd35f94717209cd6fca86045bca853ef79 (patch) | |
tree | 116860d652ea821fe147e302db6e9cb4fa91c024 /bus/config-parser-common.c | |
parent | 9928648f16afd45078fb93116b6529a7dcca80dc (diff) | |
download | dbus-6663d1dd35f94717209cd6fca86045bca853ef79.tar.gz |
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.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bus/config-parser-common.c b/bus/config-parser-common.c index ce590861..88e099ac 100644 --- a/bus/config-parser-common.c +++ b/bus/config-parser-common.c @@ -118,6 +118,10 @@ bus_config_parser_element_name_to_type (const char *name) { return ELEMENT_SYSLOG; } + else if (strcmp (name, "keep_umask") == 0) + { + return ELEMENT_KEEP_UMASK; + } return ELEMENT_NONE; } @@ -168,7 +172,9 @@ bus_config_parser_element_type_to_name (ElementType type) return "associate"; case ELEMENT_SYSLOG: return "syslog"; - } + case ELEMENT_KEEP_UMASK: + return "keep_umask"; + } _dbus_assert_not_reached ("bad element type"); |