chiark / gitweb /
busname: add parser for bus name policies
authorDaniel Mack <zonque@gmail.com>
Thu, 6 Mar 2014 21:42:42 +0000 (22:42 +0100)
committerDaniel Mack <zonque@gmail.com>
Fri, 7 Mar 2014 18:14:05 +0000 (19:14 +0100)
commit54d76c92868838e17d6aad0a3bb0cc7a5b11e35f
treec094188e6eb2ac57b19bc64acc295654c160185d
parentfb255b31c5f4eca821d60a2c9b1235a513f15732
busname: add parser for bus name policies

There are three directives to specify bus name polices in .busname
files:

 * AllowUser [username] [access]
 * AllowGroup [groupname] [access]
 * AllowWorld [access]

Where [access] is one of

 * 'see': The user/group/world is allowed to see a name on the bus
 * 'talk': The user/group/world is allowed to talk to a name
 * 'own': The user/group/world is allowed to own a name

There is no user added yet in this commit.
src/core/busname.c
src/core/busname.h
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h