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)
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