dontaudit using firstboot fifo_file
Quoted 2 lines · Daniel J Walsh
firstboot starts certain daemons (ntp) which attempt to access its
fifo_file
Merged.
Quoted 51 lines
differences
between files
attachment
(firstboot.patch), "firstboot.patch"--- nsaserefpolicy/policy/modules/admin/firstboot.if 2007-01-02
12:57:51.000000000 -0500
+++
serefpolicy-2.5.10/policy/modules/admin/firstboot.if 2007-03-22
15:06:58.000000000 -0400(quoted diff) +18
-1@@ -124,3 +124,21 @@ allow $1 firstboot_t:fifo_file { read write }; ') + +######################################## +## <summary> +## dontaudit Read and Write to a firstboot unnamed pipe. +## </summary> +## <param name="domain"> +## <summary> +## The type of the process performing this action. +## </summary> +## </param> +# +interface(`firstboot_dontaudit_rw_pipes',` + gen_require(` + type firstboot_t; + ') + + dontaudit $1 firstboot_t:fifo_file { read write }; +') --- nsaserefpolicy/policy/modules/services/ntp.te 2007-03-2023:38:08.000000000 -0400
+++ serefpolicy-2.5.10/policy/modules/services/ntp.te 2007-03-22
15:06:59.000000000 -0400(quoted diff) +1
-0@@ -131,6 +131,7 @@ optional_policy(` firstboot_dontaudit_use_fds(ntpd_t) + firstboot_dontaudit_rw_pipes(ntpd_t) ') optional_policy(`
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.