diff options
Diffstat (limited to 'src/shared/mkdir.h')
-rw-r--r-- | src/shared/mkdir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/mkdir.h b/src/shared/mkdir.h index bd7e2bcfe1..dc30bd6931 100644 --- a/src/shared/mkdir.h +++ b/src/shared/mkdir.h @@ -18,10 +18,15 @@ ***/ #pragma once +#include <sys/types.h> int mkdir_parents(const char *path, mode_t mode); int mkdir_p(const char *path, mode_t mode); +/* selinux versions */ +int mkdir_parents_label(const char *path, mode_t mode); + /* internally used */ typedef int (*mkdir_func_t)(const char *pathname, mode_t mode); +int mkdir_parents_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir); int mkdir_p_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir); |