Changeset 205

Show
Ignore:
Timestamp:
07/08/08 11:09:43 (3 months ago)
Author:
jmowery
Message:

more changes from update to new version

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branch/RHEL-5.2-20080702merge/src/selinux-policy-clip/config/appconfig-mcs/default_type

    r153 r205  
     1auditadm_r:auditadm_t 
     2secadm_r:secadm_t 
    13sysadm_r:sysadm_t 
    24staff_r:staff_t 
  • branch/RHEL-5.2-20080702merge/src/selinux-policy-clip/config/appconfig-standard/default_type

    r153 r205  
     1auditadm_r:auditadm_t 
     2secadm_r:secadm_t 
    13sysadm_r:sysadm_t 
    24staff_r:staff_t 
  • branch/RHEL-5.2-20080702merge/src/selinux-policy-clip/man/man8/httpd_selinux.8

    r153 r205  
    9494 
    9595.PP 
     96httpd can be configured to turn on sending email. By default http is not allowed to send mail.  This is a security feature, since it would prevent a vulnerabiltiy in http from causing a spam attack.  I certain situations, you may want http modules to send mail.  You can turn on the httpd_send_mail boolean. 
     97 
     98.EX 
     99setsebool -P httpd_can_sendmail 1 
     100.PP 
    96101httpd can be configured to turn off internal scripting (PHP).  PHP and other 
    97102loadable modules run under the same context as httpd. Therefore several policy rules allow httpd greater access to the system then is needed if you only use external cgi scripts. 
  • branch/RHEL-5.2-20080702merge/src/selinux-policy-clip/support/sedoctool.py

    r153 r205  
    466466                                else: 
    467467                                        paramopt = "No" 
     468                                if args.getAttribute("unused") == "true": 
     469                                        paramunused = "Yes" 
     470                                else: 
     471                                        paramunused = "No" 
    468472                                parameter = { "name" : paramname, 
    469473                                              "desc" : paramdesc, 
    470                                               "optional" : paramopt } 
     474                                              "optional" : paramopt, 
     475                                              "unused" : paramunused } 
    471476                                interface_parameters.append(parameter) 
    472477                        interfaces.append( { "interface_name" : interface_name, 
     
    507512                                else: 
    508513                                        paramopt = "No" 
     514                                if args.getAttribute("unused") == "true": 
     515                                        paramunused = "Yes" 
     516                                else: 
     517                                        paramunused = "No" 
    509518                                parameter = { "name" : paramname, 
    510519                                              "desc" : paramdesc, 
    511                                               "optional" : paramopt } 
     520                                              "optional" : paramopt, 
     521                                              "unused": paramunused } 
    512522                                template_parameters.append(parameter) 
    513523                        templates.append( { "template_name" : template_name, 
  • branch/RHEL-5.2-20080702merge/src/selinux-policy-clip/support/selinux-policy-refpolicy.spec

    r153 r205  
    7575%config(noreplace) %{_sysconfdir}/selinux/*/contexts/removable_context 
    7676%config(noreplace) %{_sysconfdir}/selinux/*/contexts/userhelper_context 
     77%config(noreplace) %{_sysconfdir}/selinux/*/contexts/x_contexts 
    7778%dir %{_sysconfdir}/selinux/*/contexts/files 
    7879#%ghost %config %{_sysconfdir}/selinux/*/contexts/files/file_contexts 
     
    118119%config(noreplace) %{_sysconfdir}/selinux/%{polname1}/contexts/removable_context 
    119120%config(noreplace) %{_sysconfdir}/selinux/%{polname1}/contexts/userhelper_context 
     121%config(noreplace) %{_sysconfdir}/selinux/%{polname1}/contexts/x_contexts 
    120122%dir %{_sysconfdir}/selinux/%{polname1}/contexts/files 
    121123#%ghost %config %{_sysconfdir}/selinux/%{polname1}/contexts/files/file_contexts 
     
    163165%config(noreplace) %{_sysconfdir}/selinux/%{polname2}/contexts/removable_context 
    164166%config(noreplace) %{_sysconfdir}/selinux/%{polname2}/contexts/userhelper_context 
     167%config(noreplace) %{_sysconfdir}/selinux/%{polname2}/contexts/x_contexts 
    165168%dir %{_sysconfdir}/selinux/%{polname2}/contexts/files 
    166169#%ghost %config %{_sysconfdir}/selinux/%{polname2}/contexts/files/file_contexts