summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorasavah <asavah@avh.od.ua>2022-07-14 19:33:42 +0300
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-07-15 04:19:36 +0900
commitc3d8a7e21c6aa8ebed705fb280cd56bf55aadf77 (patch)
treeaf9ec7c85cdb9b723eefaa48221a303d03110b84 /src
parentc1dd250f18d96d31608cbabfb32c8e5a4c36fd41 (diff)
downloadsystemd-c3d8a7e21c6aa8ebed705fb280cd56bf55aadf77.tar.gz
smack: fix build failure with -Dsmack=false
Diffstat (limited to 'src')
-rw-r--r--src/shared/smack-util.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/shared/smack-util.c b/src/shared/smack-util.c
index f0a0f5f315..9ffee5a5eb 100644
--- a/src/shared/smack-util.c
+++ b/src/shared/smack-util.c
@@ -268,11 +268,7 @@ int mac_smack_apply_pid(pid_t pid, const char *label) {
return 0;
}
-int mac_smack_fix_container(const char *path, const char *inside_path, LabelFixFlags flags) {
- return 0;
-}
-
-int mac_smack_fix_at(int dirfd, const char *path, LabelFixFlags flags) {
+int mac_smack_fix_full(int atfd, const char *inode_path, const char *label_path, LabelFixFlags flags) {
return 0;
}