ssh_macros diff
Heres a patch that moves the ifdef ssh-agent block out of the ifdef xdm.te block, since ssh-agent doesn't require X.
Signature · 8 lines
Chris PeBenito <[email protected]> Developer, Hardened Gentoo Linux Embedded Gentoo Linux Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243 Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243
Index: macros/program/ssh_macros.te
===================================================================
RCS file: /cvsroot/selinux/nsa/selinux-usr/policy/macros/program/ssh_macros.te,v retrieving revision 1.17
program/ssh_macros.te +4 -4
@@ -144,6 +144,10 @@ ') ')dnl end if xserver +ifdef(`ssh-agent.te', ` +ssh_agent_domain($1) +')dnl end if ssh_agent.te + ifdef(`xdm.te', ` # should be able to remove these two later allow $1_ssh_t xdm_xserver_tmp_t:sock_file { read write };
@@ -154,10 +158,6 @@ allow $1_ssh_t xdm_xserver_tmpfs_t:file read; allow $1_ssh_t krb5_conf_t:file { getattr read }; dontaudit $1_ssh_t krb5_conf_t:file { write }; - -ifdef(`ssh-agent.te', ` -ssh_agent_domain($1) -')dnl end if ssh_agent.te ')dnl end if xdm.te ')dnl end if single_userdomain ')dnl end macro definition
Merged.
Quoted 2 lines · Chris PeBenito
Heres a patch that moves the ifdef ssh-agent block out of the ifdef xdm.te block, since ssh-agent doesn't require X.
Signature · 7 lines
James Carter <[email protected]> National Security Agency -- 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.