2016-07-31 09:31:37

by Russell Coker

[permalink] [raw]
Subject: [refpolicy] [PATCH] watchdog reads pid files

This patch allows watchdog to read all pid files for the "pidfile" feature.


diff -ruN /home/rjc/src/pol-git/policy/modules/contrib/watchdog.te ./policy/modules/contrib/watchdog.te
--- /home/rjc/src/pol-git/policy/modules/contrib/watchdog.te 2016-07-30 08:14:41.161651556 +1000
+++ ./policy/modules/contrib/watchdog.te 2016-07-31 19:30:20.811507201 +1000
@@ -75,6 +75,8 @@

auth_append_login_records(watchdog_t)

+files_read_all_pids(watchdog_t)
+
logging_send_syslog_msg(watchdog_t)

miscfiles_read_localization(watchdog_t)


2016-08-02 23:41:24

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] watchdog reads pid files

On 07/31/16 05:31, Russell Coker wrote:
> This patch allows watchdog to read all pid files for the "pidfile" feature.
>
>
> diff -ruN /home/rjc/src/pol-git/policy/modules/contrib/watchdog.te ./policy/modules/contrib/watchdog.te
> --- /home/rjc/src/pol-git/policy/modules/contrib/watchdog.te 2016-07-30 08:14:41.161651556 +1000
> +++ ./policy/modules/contrib/watchdog.te 2016-07-31 19:30:20.811507201 +1000
> @@ -75,6 +75,8 @@
>
> auth_append_login_records(watchdog_t)
>
> +files_read_all_pids(watchdog_t)
> +
> logging_send_syslog_msg(watchdog_t)
>
> miscfiles_read_localization(watchdog_t)

Merged.

--
Chris PeBenito