Re: [PATCH 8/8] systemd: make remaining dbus_* optional

Chris PeBenito <[email protected]>
Newsgroups org.kernel.vger.selinux-refpolicy
Message-ID <[email protected]>
On 11/16/20 10:46 PM, Jason Zaman wrote:
> From: Jason Zaman <[email protected]>
> 
> Almost all calls to dbus_ interfaces were already optional, this makes
> the remaining one optional_policy so that the modules can be installed /
> upgraded easier.
> 
> Signed-off-by: Jason Zaman <[email protected]>
> Signed-off-by: Jason Zaman <[email protected]>
> ---
>   policy/modules/system/systemd.te | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
> index 74f3fc55d..a08b83d51 100644
> --- a/policy/modules/system/systemd.te
> +++ b/policy/modules/system/systemd.te
> @@ -1450,4 +1450,6 @@ userdom_manage_user_runtime_dirs(systemd_user_runtime_dir_t)
>   userdom_mounton_user_runtime_dirs(systemd_user_runtime_dir_t)
>   userdom_relabelto_user_runtime_dirs(systemd_user_runtime_dir_t)
>   
> -dbus_system_bus_client(systemd_user_runtime_dir_t)
> +optional_policy(`
> +    dbus_system_bus_client(systemd_user_runtime_dir_t)
> +')

Merged.

-- 
Chris PeBenito
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.