mkdir: append _label to all mkdir() calls that explicitly set the selinux context

This commit is contained in:
Kay Sievers
2012-05-31 12:40:20 +02:00
parent 051d68786b
commit d2e54fae5c
39 changed files with 74 additions and 69 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ int socket_address_listen(
mode_t old_mask;
/* Create parents */
mkdir_parents(a->sockaddr.un.sun_path, directory_mode);
mkdir_parents_label(a->sockaddr.un.sun_path, directory_mode);
/* Enforce the right access mode for the socket*/
old_mask = umask(~ socket_mode);