Changeset 2786
- Timestamp:
- 08/20/08 14:45:39
(4 months ago)
- Author:
- cpebenito
- Message:
trunk: firstboot update from dan.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2763 |
r2786 |
|
| 143 | 143 | dontaudit $1 firstboot_t:fifo_file { read write }; |
|---|
| 144 | 144 | ') |
|---|
| | 145 | |
|---|
| | 146 | ######################################## |
|---|
| | 147 | ## <summary> |
|---|
| | 148 | ## Do not audit attemps to read and write to a firstboot |
|---|
| | 149 | ## unix domain stream socket. |
|---|
| | 150 | ## </summary> |
|---|
| | 151 | ## <param name="domain"> |
|---|
| | 152 | ## <summary> |
|---|
| | 153 | ## Domain to not audit. |
|---|
| | 154 | ## </summary> |
|---|
| | 155 | ## </param> |
|---|
| | 156 | # |
|---|
| | 157 | interface(`firstboot_dontaudit_rw_stream_sockets',` |
|---|
| | 158 | gen_require(` |
|---|
| | 159 | type firstboot_t; |
|---|
| | 160 | ') |
|---|
| | 161 | |
|---|
| | 162 | dontaudit $1 firstboot_t:unix_stream_socket { read write }; |
|---|
| | 163 | ') |
|---|
| r2763 |
r2786 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(firstboot, 1.7.0) |
|---|
| | 2 | policy_module(firstboot, 1.7.1) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | gen_require(` |
|---|
| … | … | |
| 36 | 36 | allow firstboot_t firstboot_etc_t:file { getattr read }; |
|---|
| 37 | 37 | |
|---|
| 38 | | # The big hammer |
|---|
| 39 | | unconfined_domain(firstboot_t) |
|---|
| 40 | | |
|---|
| 41 | 38 | kernel_read_system_state(firstboot_t) |
|---|
| 42 | 39 | kernel_read_kernel_sysctls(firstboot_t) |
|---|
| … | … | |
| 64 | 61 | files_manage_etc_files(firstboot_t) |
|---|
| 65 | 62 | files_manage_etc_runtime_files(firstboot_t) |
|---|
| 66 | | files_etc_filetrans_etc_runtime(firstboot_t, { file dir }) |
|---|
| 67 | 63 | files_read_usr_files(firstboot_t) |
|---|
| 68 | 64 | files_manage_var_dirs(firstboot_t) |
|---|
| … | … | |
| 111 | 107 | optional_policy(` |
|---|
| 112 | 108 | unconfined_domtrans(firstboot_t) |
|---|
| | 109 | # The big hammer |
|---|
| | 110 | unconfined_domain(firstboot_t) |
|---|
| 113 | 111 | ') |
|---|
| 114 | 112 | |
|---|
| … | … | |
| 132 | 130 | domain_auto_trans(firstboot_t, userhelper_exec_t, sysadm_userhelper_t) |
|---|
| 133 | 131 | ') |
|---|
| 134 | | |
|---|
| 135 | | ifdef(`xserver.te', ` |
|---|
| 136 | | domain_auto_trans(firstboot_t, xserver_exec_t, xdm_xserver_t) |
|---|
| 137 | | ') |
|---|
| 138 | 132 | ') dnl end TODO |
|---|
| r2763 |
r2786 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(ntp, 1.6.0) |
|---|
| | 2 | policy_module(ntp, 1.6.1) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | ######################################## |
|---|
| … | … | |
| 118 | 118 | firstboot_dontaudit_use_fds(ntpd_t) |
|---|
| 119 | 119 | firstboot_dontaudit_rw_pipes(ntpd_t) |
|---|
| | 120 | firstboot_dontaudit_rw_stream_sockets(ntpd_t) |
|---|
| 120 | 121 | ') |
|---|
| 121 | 122 | |
|---|
Download in other formats:
* Generating other formats may take time.