summaryrefslogtreecommitdiff
path: root/src/shared/mkdir.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-05-31 13:17:26 +0200
committerKay Sievers <kay@vrfy.org>2012-05-31 13:17:26 +0200
commitc66e7f04997fb42b778703418097a5023fa17581 (patch)
tree219307f5b3ec403e90888aba23e1c535314d594d /src/shared/mkdir.h
parentd2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a (diff)
mkdir: provide all functions with and without selinux label application
Diffstat (limited to 'src/shared/mkdir.h')
-rw-r--r--src/shared/mkdir.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/mkdir.h b/src/shared/mkdir.h
index 1a332bbcf8..ce1c35e9ba 100644
--- a/src/shared/mkdir.h
+++ b/src/shared/mkdir.h
@@ -22,8 +22,11 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-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_safe(const char *path, mode_t mode, uid_t uid, gid_t gid);
+int mkdir_safe_label(const char *path, mode_t mode, uid_t uid, gid_t gid);
+int mkdir_parents(const char *path, mode_t mode);
int mkdir_parents_label(const char *path, mode_t mode);
+int mkdir_p(const char *path, mode_t mode);
int mkdir_p_label(const char *path, mode_t mode);
#endif