Re: [PATCH] new version of filetrans patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/2/21 9:42 AM, Russell Coker wrote:
On Wednesday, 3 February 2021 12:49:07 AM AEDT Chris PeBenito wrote:
Name changes suggested by Dominick and some more additions.

Signed-off-by: Russell Coker <russell@xxxxxxxxxxxx>

Merged, though I renamed some interfaces and dropped a block that didn't
apply since it's so close to the merge window closing.

+interface(`systemd_run_passwd_agent',`
+       gen_require(`
+               type systemd_passwd_agent_t, systemd_passwd_agent_exec_t;
+       ')
+
+       domain_auto_transition_pattern($1, systemd_passwd_agent_exec_t,
systemd_passwd_agent_t)
+       allow systemd_passwd_agent_t $1:fd use;
+       role $2 types systemd_passwd_agent_t;
+')

Why did you change the above to the below?  It needs an auto trans.

interface(`systemd_run_passwd_agent',`
         gen_require(`
                 type systemd_passwd_agent_t, systemd_passwd_agent_exec_t;
         ')

         domtrans_pattern($1, systemd_passwd_agent_exec_t,
systemd_passwd_agent_t)
         allow systemd_passwd_agent_t $1:fd use;
         role $2 types systemd_passwd_agent_t;
')

domtrans_pattern() is automatic.

--
Chris PeBenito



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux