dbus/bus
John (J5) Palmieri b78d222083 Console user security policy
* bus/config-parser.c:
(struct PolicyType): Add POLICY_CONSOLE
(struct Element.d.policy): s/gid_or_uid/gid_uid_or_at_console
(start_busconfig_child): Sets up console element when
<policy at_console=""> is encountered in a policy file
(append_rule_from_element): Convert console elements to console
rules.

* bus/policy.c:
(bus_policy_create_client_policy): Add console rules to the client
policy based on if the client is at the console
(bus_policy_append_console_rule): New function for adding a
console rule to a policy
(bus_policy_merge): Handle console rule merging

* dbus/dbus-sysdeps.h: Added the DBUS_CONSOLE_DIR constant
where we check for console user files

* dbus/dbus-sysdeps.c:
(_dbus_file_exists): New function which checks if the given
file exists
(_dbus_user_at_console): New function which does the system
specific process of checking if the user is at the console

* dbus/dbus-userdb.c:
(_dbus_is_console_user): New function converts a UID to user name
and then calls the system specific _dbus_user_at_console to
see if the user is at the console and therefor a console user
2004-08-25 22:11:49 +00:00
..
.cvsignore Add .cvsignore files 2003-06-18 10:48:08 +00:00
activation.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
activation.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
bus.c * bus/bus.c (process_config_first_time_only): get rid of an unused 2004-08-10 21:32:25 +00:00
bus.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
config-loader-expat.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
config-loader-libxml.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
config-parser.c Console user security policy 2004-08-25 22:11:49 +00:00
config-parser.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
connection.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
connection.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
dbus-daemon-1.1.in * bus/config-parser.c (set_limit): 2004-08-25 08:03:12 +00:00
desktop-file.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
desktop-file.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
dispatch.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
dispatch.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
driver.c * bus/config-parser.c (set_limit): 2004-08-25 08:03:12 +00:00
driver.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
expirelist.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
expirelist.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
main.c * bus/bus.c (process_config_first_time_only): get rid of an unused 2004-08-10 21:32:25 +00:00
Makefile.am 2004-07-24 Havoc Pennington <hp@redhat.com> 2004-07-30 05:59:34 +00:00
messagebus.in 2003-07-28 Havoc Pennington <hp@redhat.com> 2003-07-28 14:04:51 +00:00
policy.c Console user security policy 2004-08-25 22:11:49 +00:00
policy.h Console user security policy 2004-08-25 22:11:49 +00:00
selinux.c 2004-08-23 Colin Walters <walters@redhat.com> 2004-08-23 16:09:54 +00:00
selinux.h 2004-08-23 Colin Walters <walters@redhat.com> 2004-08-23 16:09:54 +00:00
services.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
services.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
session.conf.in 2003-09-25 Havoc Pennington <hp@redhat.com> 2003-09-25 18:48:03 +00:00
signals.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
signals.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
system.conf.in 2004-05-29 Havoc Pennington <hp@redhat.com> 2004-05-29 04:17:17 +00:00
test-main.c 2004-08-23 Colin Walters <walters@redhat.com> 2004-08-23 16:09:54 +00:00
test.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
test.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
utils.c 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
utils.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00