1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34: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) {
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;