Changeset 2774
- Timestamp:
- 08/11/08 09:03:36
(4 months ago)
- Author:
- cpebenito
- Message:
trunk: 3 patches from the fedora policy, cherry picked by David Hardeman.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2701 |
r2774 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(corenetwork,1.2.16) |
|---|
| | 2 | policy_module(corenetwork, 1.2.17) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | ######################################## |
|---|
| … | … | |
| 110 | 110 | network_port(isakmp, udp,500,s0) |
|---|
| 111 | 111 | network_port(iscsi, tcp,3260,s0) |
|---|
| | 112 | network_port(isns, tcp,3205,s0, udp,3205,s0) |
|---|
| 112 | 113 | network_port(jabber_client, tcp,5222,s0, tcp,5223,s0) |
|---|
| 113 | 114 | network_port(jabber_interserver, tcp,5269,s0) |
|---|
| r2763 |
r2774 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(qmail, 1.3.0) |
|---|
| | 2 | policy_module(qmail, 1.3.1) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | ######################################## |
|---|
| … | … | |
| 15 | 15 | |
|---|
| 16 | 16 | type qmail_etc_t; |
|---|
| 17 | | files_type(qmail_etc_t) |
|---|
| | 17 | files_config_file(qmail_etc_t) |
|---|
| 18 | 18 | |
|---|
| 19 | 19 | type qmail_exec_t; |
|---|
| … | … | |
| 86 | 86 | libs_use_shared_libs(qmail_inject_t) |
|---|
| 87 | 87 | |
|---|
| | 88 | miscfiles_read_localization(qmail_inject_t) |
|---|
| | 89 | |
|---|
| 88 | 90 | qmail_read_config(qmail_inject_t) |
|---|
| 89 | 91 | |
|---|
| … | … | |
| 101 | 103 | manage_files_pattern(qmail_local_t, qmail_alias_home_t, qmail_alias_home_t) |
|---|
| 102 | 104 | |
|---|
| | 105 | can_exec(qmail_local_t, qmail_local_exec_t) |
|---|
| | 106 | |
|---|
| 103 | 107 | allow qmail_local_t qmail_queue_exec_t:file read; |
|---|
| 104 | 108 | |
|---|
| … | … | |
| 107 | 111 | kernel_read_system_state(qmail_local_t) |
|---|
| 108 | 112 | |
|---|
| | 113 | corecmd_exec_bin(qmail_local_t) |
|---|
| 109 | 114 | corecmd_exec_shell(qmail_local_t) |
|---|
| 110 | 115 | |
|---|
| 111 | 116 | files_read_etc_files(qmail_local_t) |
|---|
| 112 | 117 | files_read_etc_runtime_files(qmail_local_t) |
|---|
| | 118 | |
|---|
| | 119 | auth_use_nsswitch(qmail_local_t) |
|---|
| | 120 | |
|---|
| | 121 | logging_send_syslog_msg(qmail_local_t) |
|---|
| 113 | 122 | |
|---|
| 114 | 123 | mta_append_spool(qmail_local_t) |
|---|
| … | … | |
| 155 | 164 | manage_files_pattern(qmail_queue_t, qmail_spool_t, qmail_spool_t) |
|---|
| 156 | 165 | rw_fifo_files_pattern(qmail_queue_t, qmail_spool_t, qmail_spool_t) |
|---|
| | 166 | |
|---|
| | 167 | corecmd_exec_bin(qmail_queue_t) |
|---|
| | 168 | |
|---|
| | 169 | logging_send_syslog_msg(qmail_queue_t) |
|---|
| 157 | 170 | |
|---|
| 158 | 171 | optional_policy(` |
|---|
| r2531 |
r2774 |
|
| 130 | 130 | |
|---|
| 131 | 131 | allow $1 ipsec_spd_t:association setcontext; |
|---|
| | 132 | ') |
|---|
| | 133 | |
|---|
| | 134 | ######################################## |
|---|
| | 135 | ## <summary> |
|---|
| | 136 | ## write the ipsec_var_run_t files. |
|---|
| | 137 | ## </summary> |
|---|
| | 138 | ## <param name="domain"> |
|---|
| | 139 | ## <summary> |
|---|
| | 140 | ## Domain allowed access. |
|---|
| | 141 | ## </summary> |
|---|
| | 142 | ## </param> |
|---|
| | 143 | # |
|---|
| | 144 | interface(`ipsec_write_pid',` |
|---|
| | 145 | gen_require(` |
|---|
| | 146 | type ipsec_var_run_t; |
|---|
| | 147 | ') |
|---|
| | 148 | |
|---|
| | 149 | files_search_pids($1) |
|---|
| | 150 | write_files_pattern($1, ipsec_var_run_t, ipsec_var_run_t) |
|---|
| 132 | 151 | ') |
|---|
| 133 | 152 | |
|---|
| r2742 |
r2774 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(ipsec, 1.7.0) |
|---|
| | 2 | policy_module(ipsec, 1.7.1) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | ######################################## |
|---|
| … | … | |
| 70 | 70 | read_lnk_files_pattern(ipsec_t,ipsec_key_file_t,ipsec_key_file_t) |
|---|
| 71 | 71 | |
|---|
| 72 | | allow ipsec_t ipsec_var_run_t:file manage_file_perms; |
|---|
| 73 | | allow ipsec_t ipsec_var_run_t:sock_file manage_sock_file_perms; |
|---|
| 74 | | files_pid_filetrans(ipsec_t,ipsec_var_run_t,{ file sock_file }) |
|---|
| | 72 | manage_files_pattern(ipsec_t, ipsec_var_run_t, ipsec_var_run_t) |
|---|
| | 73 | manage_sock_files_pattern(ipsec_t, ipsec_var_run_t, ipsec_var_run_t) |
|---|
| | 74 | files_pid_filetrans(ipsec_t, ipsec_var_run_t, { file sock_file }) |
|---|
| 75 | 75 | |
|---|
| 76 | 76 | can_exec(ipsec_t, ipsec_mgmt_exec_t) |
|---|
| r2441 |
r2774 |
|
| 1 | 1 | /sbin/iscsid -- gen_context(system_u:object_r:iscsid_exec_t,s0) |
|---|
| 2 | 2 | |
|---|
| 3 | | /var/lib/iscsi(/.*)? -- gen_context(system_u:object_r:iscsi_var_lib_t,s0) |
|---|
| 4 | | /var/lock/iscsi(/.*)? -- gen_context(system_u:object_r:iscsi_lock_t,s0) |
|---|
| | 3 | /var/lib/iscsi(/.*)? gen_context(system_u:object_r:iscsi_var_lib_t,s0) |
|---|
| | 4 | /var/lock/iscsi(/.*)? gen_context(system_u:object_r:iscsi_lock_t,s0) |
|---|
| 5 | 5 | /var/run/iscsid\.pid -- gen_context(system_u:object_r:iscsi_var_run_t,s0) |
|---|
| r2656 |
r2774 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(iscsid,1.4.0) |
|---|
| | 2 | policy_module(iscsid, 1.4.1) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | ######################################## |
|---|
| … | … | |
| 30 | 30 | |
|---|
| 31 | 31 | allow iscsid_t self:capability { dac_override ipc_lock net_admin sys_nice sys_resource }; |
|---|
| 32 | | allow iscsid_t self:process { setrlimit setsched }; |
|---|
| | 32 | allow iscsid_t self:process { setrlimit setsched signal }; |
|---|
| 33 | 33 | allow iscsid_t self:fifo_file { read write }; |
|---|
| 34 | 34 | allow iscsid_t self:unix_stream_socket { create_stream_socket_perms connectto }; |
|---|
| … | … | |
| 64 | 64 | corenet_tcp_connect_http_port(iscsid_t) |
|---|
| 65 | 65 | corenet_tcp_connect_iscsi_port(iscsid_t) |
|---|
| | 66 | corenet_tcp_connect_isns_port(iscsid_t) |
|---|
| 66 | 67 | |
|---|
| 67 | 68 | dev_rw_sysfs(iscsid_t) |
|---|
| r2742 |
r2774 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(sysnetwork, 1.7.0) |
|---|
| | 2 | policy_module(sysnetwork, 1.7.1) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | ######################################## |
|---|
| … | … | |
| 321 | 321 | |
|---|
| 322 | 322 | optional_policy(` |
|---|
| | 323 | ipsec_write_pid(ifconfig_t) |
|---|
| | 324 | ') |
|---|
| | 325 | |
|---|
| | 326 | optional_policy(` |
|---|
| 323 | 327 | netutils_domtrans(dhcpc_t) |
|---|
| 324 | 328 | ') |
|---|
Download in other formats:
* Generating other formats may take time.