Changeset 2650
- Timestamp:
- 03/21/08 09:18:43
(9 months ago)
- Author:
- pebenito
- Message:
xselinux: fix xserver_object_manager to not break X-SE if it is disabled.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2647 |
r2650 |
|
| 157 | 157 | fs_search_ramfs($1_xserver_t) |
|---|
| 158 | 158 | |
|---|
| | 159 | selinux_validate_context($1_xserver_t) |
|---|
| | 160 | selinux_compute_access_vector($1_xserver_t) |
|---|
| | 161 | selinux_compute_create_context($1_xserver_t) |
|---|
| | 162 | |
|---|
| 159 | 163 | auth_use_nsswitch($1_xserver_t) |
|---|
| 160 | 164 | |
|---|
| … | … | |
| 168 | 172 | |
|---|
| 169 | 173 | logging_send_syslog_msg($1_xserver_t) |
|---|
| | 174 | logging_send_audit_msgs($1_xserver_t) |
|---|
| 170 | 175 | |
|---|
| 171 | 176 | miscfiles_read_localization($1_xserver_t) |
|---|
| … | … | |
| 174 | 179 | modutils_domtrans_insmod($1_xserver_t) |
|---|
| 175 | 180 | |
|---|
| 176 | | seutil_dontaudit_search_config($1_xserver_t) |
|---|
| | 181 | # read x_contexts |
|---|
| | 182 | seutil_read_default_contexts($1_xserver_t) |
|---|
| 177 | 183 | |
|---|
| 178 | 184 | ifndef(`distro_redhat',` |
|---|
| … | … | |
| 184 | 190 | ') |
|---|
| 185 | 191 | |
|---|
| 186 | | tunable_policy(`xserver_object_manager',` |
|---|
| 187 | | selinux_validate_context($1_xserver_t) |
|---|
| 188 | | selinux_compute_access_vector($1_xserver_t) |
|---|
| 189 | | selinux_compute_create_context($1_xserver_t) |
|---|
| 190 | | |
|---|
| 191 | | # read x_contexts |
|---|
| 192 | | seutil_read_default_contexts($1_xserver_t) |
|---|
| 193 | | |
|---|
| 194 | | logging_send_audit_msgs($1_xserver_t) |
|---|
| 195 | | ',` |
|---|
| | 192 | tunable_policy(`!xserver_object_manager',` |
|---|
| 196 | 193 | # should be xserver_unconfined($1_xserver_t), |
|---|
| 197 | 194 | # but typeattribute doesnt work in conditionals |
|---|
Download in other formats:
* Generating other formats may take time.