summaryrefslogtreecommitdiff
path: root/src/shared/mkdir.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-05-31 12:40:20 +0200
committerKay Sievers <kay@vrfy.org>2012-05-31 12:40:20 +0200
commitd2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a (patch)
treeb1a4773022e0904f6e023bcff832d897ed46c893 /src/shared/mkdir.h
parent051d68786bd5bfe87e7cc0c1d68ec4be83eb662a (diff)
mkdir: append _label to all mkdir() calls that explicitly set the selinux context
Diffstat (limited to 'src/shared/mkdir.h')
-rw-r--r--src/shared/mkdir.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shared/mkdir.h b/src/shared/mkdir.h
index b1477c5f63..1a332bbcf8 100644
--- a/src/shared/mkdir.h
+++ b/src/shared/mkdir.h
@@ -22,7 +22,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-int safe_mkdir(const char *path, mode_t mode, uid_t uid, gid_t gid);
-int mkdir_parents(const char *path, mode_t mode);
-int mkdir_p(const char *path, mode_t mode);
+int mkdir_safe_label(const char *path, mode_t mode, uid_t uid, gid_t gid);
+int mkdir_label(const char *path, mode_t mode);
+int mkdir_parents_label(const char *path, mode_t mode);
+int mkdir_p_label(const char *path, mode_t mode);
#endif