Add systemd_dbus_chat_resolved() interface
This commit is contained in:
parent
4ff893bca0
commit
06588b55b4
@ -753,6 +753,27 @@ interface(`systemd_tmpfilesd_managed',`
|
||||
allow systemd_tmpfiles_t $1:$2 { setattr relabelfrom relabelto create };
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Send and receive messages from
|
||||
## systemd resolved over dbus.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`systemd_dbus_chat_resolved',`
|
||||
gen_require(`
|
||||
type systemd_resolved_t;
|
||||
class dbus send_msg;
|
||||
')
|
||||
|
||||
allow $1 systemd_resolved_t:dbus send_msg;
|
||||
allow systemd_resolved_t $1:dbus send_msg;
|
||||
')
|
||||
|
||||
#######################################
|
||||
## <summary>
|
||||
## Allow domain to read resolv.conf file generated by systemd_resolved
|
||||
|
Loading…
Reference in New Issue
Block a user