diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-06-12 13:35:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-06-12 13:50:57 +0200 |
commit | c04754bcb6a47f479baab0c151bfffcddb97a475 (patch) | |
tree | 63cd1e7c461eef97e54f362882d86e445afadc72 | |
parent | 911d79686b6e596cc85e62671705ef8a8d749034 (diff) |
selinux: whitespace fixes
-rw-r--r-- | src/core/selinux-access.c | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index decd42f95a..e9a9a020de 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -82,11 +82,19 @@ static int audit_callback( static int callback_type_to_priority(int type) { switch(type) { - case SELINUX_ERROR: return LOG_ERR; - case SELINUX_WARNING: return LOG_WARNING; - case SELINUX_INFO: return LOG_INFO; + + case SELINUX_ERROR: + return LOG_ERR; + + case SELINUX_WARNING: + return LOG_WARNING; + + case SELINUX_INFO: + return LOG_INFO; + case SELINUX_AVC: - default: return LOG_NOTICE; + default: + return LOG_NOTICE; } } @@ -281,11 +289,13 @@ finish: #endif } -int mac_selinux_unit_access_check_strv(char **units, - sd_bus_message *message, - Manager *m, - const char *permission, - sd_bus_error *error) { +int mac_selinux_unit_access_check_strv( + char **units, + sd_bus_message *message, + Manager *m, + const char *permission, + sd_bus_error *error) { + #ifdef HAVE_SELINUX char **i; Unit *u; |