diff options
Diffstat (limited to 'src/udev/mkdir.c')
-rw-r--r-- | src/udev/mkdir.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/udev/mkdir.c b/src/udev/mkdir.c index 0e51b64f69..b9920ec207 100644 --- a/src/udev/mkdir.c +++ b/src/udev/mkdir.c @@ -30,10 +30,6 @@ #include "label.h" #include "util.h" -int mkdir_label(const char *path, mode_t mode) { - return label_mkdir(path, mode, true); -} - static int makedir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid, bool apply) { struct stat st; @@ -55,14 +51,6 @@ static int makedir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid, boo return 0; } -int mkdir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid) { - return makedir_safe(path, mode, uid, gid, false); -} - -int mkdir_safe_label(const char *path, mode_t mode, uid_t uid, gid_t gid) { - return makedir_safe(path, mode, uid, gid, true); -} - static int makedir_parents(const char *path, mode_t mode, bool apply) { struct stat st; const char *p, *e; @@ -141,7 +129,3 @@ static int makedir_p(const char *path, mode_t mode, bool apply) { int mkdir_p(const char *path, mode_t mode) { return makedir_p(path, mode, false); } - -int mkdir_p_label(const char *path, mode_t mode) { - return makedir_p(path, mode, true); -} |