Changeset 2644
- Timestamp:
- 03/20/08 09:55:17
(9 months ago)
- Author:
- pebenito
- Message:
trunk: small fixes for gentoo system.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2633 |
r2644 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(init,1.9.2) |
|---|
| | 2 | policy_module(init,1.9.3) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | gen_require(` |
|---|
| … | … | |
| 428 | 428 | seutil_read_default_contexts(initrc_t) |
|---|
| 429 | 429 | |
|---|
| | 430 | # /lib/rcscripts/net/system.sh rewrites resolv.conf :( |
|---|
| | 431 | sysnet_create_config(initrc_t) |
|---|
| | 432 | sysnet_write_config(initrc_t) |
|---|
| | 433 | sysnet_setattr_config(initrc_t) |
|---|
| | 434 | |
|---|
| 430 | 435 | optional_policy(` |
|---|
| 431 | 436 | arpwatch_manage_data_files(initrc_t) |
|---|
| r2625 |
r2644 |
|
| 20 | 20 | /usr/sbin/syslog-ng -- gen_context(system_u:object_r:syslogd_exec_t,s0) |
|---|
| 21 | 21 | /usr/sbin/syslogd -- gen_context(system_u:object_r:syslogd_exec_t,s0) |
|---|
| | 22 | |
|---|
| | 23 | /var/lib/syslog-ng.persist -- gen_context(system_u:object_r:syslogd_var_lib_t,s0) |
|---|
| 22 | 24 | |
|---|
| 23 | 25 | ifdef(`distro_suse', ` |
|---|
| r2625 |
r2644 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(logging,1.9.1) |
|---|
| | 2 | policy_module(logging,1.9.2) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | ######################################## |
|---|
| r2352 |
r2644 |
|
| 204 | 204 | ####################################### |
|---|
| 205 | 205 | ## <summary> |
|---|
| 206 | | ## Allow network init to read network config files. |
|---|
| 207 | | ## </summary> |
|---|
| 208 | | ## <param name="domain"> |
|---|
| 209 | | ## <summary> |
|---|
| 210 | | ## The type of the process performing this action. |
|---|
| | 206 | ## Set the attributes of network config files. |
|---|
| | 207 | ## </summary> |
|---|
| | 208 | ## <param name="domain"> |
|---|
| | 209 | ## <summary> |
|---|
| | 210 | ## Domain allowed access. |
|---|
| | 211 | ## </summary> |
|---|
| | 212 | ## </param> |
|---|
| | 213 | # |
|---|
| | 214 | interface(`sysnet_setattr_config',` |
|---|
| | 215 | gen_require(` |
|---|
| | 216 | type net_conf_t; |
|---|
| | 217 | ') |
|---|
| | 218 | |
|---|
| | 219 | files_search_etc($1) |
|---|
| | 220 | allow $1 net_conf_t:file setattr; |
|---|
| | 221 | ') |
|---|
| | 222 | |
|---|
| | 223 | ####################################### |
|---|
| | 224 | ## <summary> |
|---|
| | 225 | ## Read network config files. |
|---|
| | 226 | ## </summary> |
|---|
| | 227 | ## <param name="domain"> |
|---|
| | 228 | ## <summary> |
|---|
| | 229 | ## Domain allowed access. |
|---|
| 211 | 230 | ## </summary> |
|---|
| 212 | 231 | ## </param> |
|---|
| … | … | |
| 237 | 256 | |
|---|
| 238 | 257 | dontaudit $1 net_conf_t:file read_file_perms; |
|---|
| | 258 | ') |
|---|
| | 259 | |
|---|
| | 260 | ####################################### |
|---|
| | 261 | ## <summary> |
|---|
| | 262 | ## Write network config files. |
|---|
| | 263 | ## </summary> |
|---|
| | 264 | ## <param name="domain"> |
|---|
| | 265 | ## <summary> |
|---|
| | 266 | ## Domain allowed access. |
|---|
| | 267 | ## </summary> |
|---|
| | 268 | ## </param> |
|---|
| | 269 | # |
|---|
| | 270 | interface(`sysnet_write_config',` |
|---|
| | 271 | gen_require(` |
|---|
| | 272 | type net_conf_t; |
|---|
| | 273 | ') |
|---|
| | 274 | |
|---|
| | 275 | files_search_etc($1) |
|---|
| | 276 | allow $1 net_conf_t:file write_file_perms; |
|---|
| | 277 | ') |
|---|
| | 278 | |
|---|
| | 279 | ####################################### |
|---|
| | 280 | ## <summary> |
|---|
| | 281 | ## Create network config files. |
|---|
| | 282 | ## </summary> |
|---|
| | 283 | ## <param name="domain"> |
|---|
| | 284 | ## <summary> |
|---|
| | 285 | ## Domain allowed access. |
|---|
| | 286 | ## </summary> |
|---|
| | 287 | ## </param> |
|---|
| | 288 | # |
|---|
| | 289 | interface(`sysnet_create_config',` |
|---|
| | 290 | gen_require(` |
|---|
| | 291 | type net_conf_t; |
|---|
| | 292 | ') |
|---|
| | 293 | |
|---|
| | 294 | files_search_etc($1) |
|---|
| | 295 | allow $1 net_conf_t:file create_file_perms; |
|---|
| 239 | 296 | ') |
|---|
| 240 | 297 | |
|---|
| r2594 |
r2644 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(sysnetwork,1.5.0) |
|---|
| | 2 | policy_module(sysnetwork,1.5.1) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | ######################################## |
|---|
| … | … | |
| 51 | 51 | allow dhcpc_t self:udp_socket create_socket_perms; |
|---|
| 52 | 52 | allow dhcpc_t self:packet_socket create_socket_perms; |
|---|
| 53 | | allow dhcpc_t self:netlink_route_socket { create_socket_perms nlmsg_read }; |
|---|
| | 53 | allow dhcpc_t self:netlink_route_socket { create_socket_perms nlmsg_read nlmsg_write }; |
|---|
| 54 | 54 | |
|---|
| 55 | 55 | allow dhcpc_t dhcp_etc_t:dir list_dir_perms; |
|---|
Download in other formats:
* Generating other formats may take time.