selinux: clean up selinux label function naming

This commit is contained in:
Lennart Poettering
2014-10-23 21:36:56 +02:00
parent 66cedb3078
commit ecabcf8b6e
10 changed files with 121 additions and 106 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ int socket_address_listen(
return -EAFNOSUPPORT;
if (label) {
r = mac_selinux_socket_set(label);
r = mac_selinux_create_socket_prepare(label);
if (r < 0)
return r;
}
@@ -73,7 +73,7 @@ int socket_address_listen(
r = fd < 0 ? -errno : 0;
if (label)
mac_selinux_socket_clear();
mac_selinux_create_socket_clear();
if (r < 0)
return r;