From 8b02ea4718e39e19c5b0505bacd9a57204831234 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 7 Aug 2009 01:51:17 +0200 Subject: [PATCH] Complain whenever someone uses at_console at_console should be considered obsolete. Applications should use PolicyKit instea for verifying that a process is on the (active) console. --- bus/config-parser.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/bus/config-parser.c b/bus/config-parser.c index c9dbdf9..8e2cde1 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -1055,6 +1055,8 @@ start_busconfig_child (BusConfigParser *parser, { e->d.policy.gid_uid_or_at_console = t; e->d.policy.type = POLICY_CONSOLE; + + _dbus_warn ("Obsolete at_console policy used in message bus configuration file.\n"); } else { @@ -3547,4 +3549,3 @@ bus_config_parser_test (const DBusString *test_data_dir) } #endif /* DBUS_BUILD_TESTS */ - -- 1.7.6