| 51 | |
| 52 | #ifdef HAVE_SELINUX |
| 53 | static void log_selinux_context(void) |
| 54 | { |
| 55 | char *con; |
| 56 | |
| 57 | if (is_selinux_enabled() && getcon(&con) == 0) { |
| 58 | ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL, |
| 59 | APLOGNO(10497) "SELinux is enabled; " |
| 60 | "httpd running as context %s", con); |
| 61 | freecon(con); |
| 62 | } |
| 63 | } |
| 64 | #endif |
| 65 | |
| 66 | /* Report the service is ready in post_config, which could be during |
no test coverage detected