1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 23:51:28 +03:00

selinux: whitespace fixes

This commit is contained in:
Lennart Poettering 2015-06-12 13:35:59 +02:00
parent 911d79686b
commit c04754bcb6

View File

@ -82,11 +82,19 @@ static int audit_callback(
static int callback_type_to_priority(int type) { static int callback_type_to_priority(int type) {
switch(type) { switch(type) {
case SELINUX_ERROR: return LOG_ERR;
case SELINUX_WARNING: return LOG_WARNING; case SELINUX_ERROR:
case SELINUX_INFO: return LOG_INFO; return LOG_ERR;
case SELINUX_WARNING:
return LOG_WARNING;
case SELINUX_INFO:
return LOG_INFO;
case SELINUX_AVC: case SELINUX_AVC:
default: return LOG_NOTICE; default:
return LOG_NOTICE;
} }
} }
@ -281,11 +289,13 @@ finish:
#endif #endif
} }
int mac_selinux_unit_access_check_strv(char **units, int mac_selinux_unit_access_check_strv(
sd_bus_message *message, char **units,
Manager *m, sd_bus_message *message,
const char *permission, Manager *m,
sd_bus_error *error) { const char *permission,
sd_bus_error *error) {
#ifdef HAVE_SELINUX #ifdef HAVE_SELINUX
char **i; char **i;
Unit *u; Unit *u;