Skip to content

Commit

Permalink
Add new interface boltd_dbus_chat()
Browse files Browse the repository at this point in the history
  • Loading branch information
wrabcak committed Apr 23, 2019
1 parent dcd78fc commit 77dce4d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions boltd.if
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,23 @@ interface(`boltd_write_var_run_pipes',`
allow $1 boltd_var_run_t:fd use;
allow $1 boltd_var_run_t:fifo_file write;
')

########################################
## <summary>
## Send messages to boltd over dbus.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`boltd_dbus_chat',`
gen_require(`
type boltd_t;
class dbus send_msg;
')

allow $1 boltd_t:dbus send_msg;
allow boltd_t $1:dbus send_msg;
')

0 comments on commit 77dce4d

Please sign in to comment.