summaryrefslogtreecommitdiff
path: root/src/basic/label.h
diff options
context:
space:
mode:
authorTopi Miettinen <topimiettinen@users.noreply.github.com>2020-02-28 18:43:28 +0000
committerGitHub <noreply@github.com>2020-02-28 18:43:28 +0000
commit5ce928ecdf89a9b8630c682ec2c0fb90c69784ca (patch)
treec6f3a8bbe6852902da976650fbd22858aa158464 /src/basic/label.h
parent8956caf333ff64aebe56d0e01696e92964dd1a31 (diff)
downloadsystemd-revert-14900-fix-privatedevices-dev-mac-label.tar.gz
Revert "namespace: fix MAC labels of /dev when PrivateDevices=yes"revert-14900-fix-privatedevices-dev-mac-label
This reverts commit e6e81ec0a56861b905db975fc32c83e2f2faca7d.
Diffstat (limited to 'src/basic/label.h')
-rw-r--r--src/basic/label.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/basic/label.h b/src/basic/label.h
index a6f9074b28..594fd65974 100644
--- a/src/basic/label.h
+++ b/src/basic/label.h
@@ -9,10 +9,7 @@ typedef enum LabelFixFlags {
LABEL_IGNORE_EROFS = 1 << 1,
} LabelFixFlags;
-int label_fix_container(const char *path, const char *inside_path, LabelFixFlags flags);
-static inline int label_fix(const char *path, LabelFixFlags flags) {
- return label_fix_container(path, path, flags);
-}
+int label_fix(const char *path, LabelFixFlags flags);
int mkdir_label(const char *path, mode_t mode);
int mkdirat_label(int dirfd, const char *path, mode_t mode);