Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 1 | <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
| 2 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
| 3 | <busconfig> |
| 4 | <policy user="root"> |
| 5 | <allow own="org.chromium.UpdateEngine" /> |
| 6 | <allow send_destination="org.chromium.UpdateEngine" /> |
| 7 | </policy> |
| 8 | <policy user="chronos"> |
| 9 | <!-- introspection is denied --> |
| 10 | <deny send_destination="org.chromium.UpdateEngine" |
| 11 | send_interface="org.freedesktop.DBus.Introspectable" /> |
| 12 | <!-- properties denied --> |
| 13 | <deny send_destination="org.chromium.UpdateEngine" |
| 14 | send_interface="org.freedesktop.DBus.Properties" /> |
| 15 | <!-- allow explicit methods --> |
| 16 | <allow send_destination="org.chromium.UpdateEngine" |
| 17 | send_interface="org.chromium.UpdateEngineInterface" |
Darin Petkov | 5a7f565 | 2010-07-22 21:40:09 -0700 | [diff] [blame] | 18 | send_member="AttemptUpdate"/> |
Andrew de los Reyes | 63b96d7 | 2010-05-10 13:08:54 -0700 | [diff] [blame] | 19 | <allow send_destination="org.chromium.UpdateEngine" |
| 20 | send_interface="org.chromium.UpdateEngineInterface" |
Darin Petkov | 5a7f565 | 2010-07-22 21:40:09 -0700 | [diff] [blame] | 21 | send_member="GetStatus"/> |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 22 | <allow send_destination="org.chromium.UpdateEngine" |
| 23 | send_interface="org.chromium.UpdateEngineInterface" |
Satoru Takabayashi | 583667b | 2010-10-27 13:09:57 +0900 | [diff] [blame] | 24 | send_member="GetTrack"/> |
| 25 | <allow send_destination="org.chromium.UpdateEngine" |
| 26 | send_interface="org.chromium.UpdateEngineInterface" |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 27 | send_member="RebootIfNeeded"/> |
Satoru Takabayashi | 583667b | 2010-10-27 13:09:57 +0900 | [diff] [blame] | 28 | <allow send_destination="org.chromium.UpdateEngine" |
| 29 | send_interface="org.chromium.UpdateEngineInterface" |
| 30 | send_member="SetTrack"/> |
Andrew de los Reyes | 000d895 | 2011-03-02 15:21:14 -0800 | [diff] [blame] | 31 | <allow send_interface="org.chromium.UpdateEngineLibcrosProxyResolvedInterface" /> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 32 | </policy> |
| 33 | <policy context="default"> |
| 34 | <deny send_destination="org.chromium.UpdateEngine" /> |
| 35 | </policy> |
| 36 | </busconfig> |