From c80d766c8072dd0be311dcd31c17f9719775be44 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 23 Oct 2014 17:49:29 +0200 Subject: mac: rename all calls that apply a label mac_{selinux|smack}_apply_xyz(), and all that reset it to defaults mac_{selinux|smack}_fix() Let's clean up the naming schemes a bit and use the same one for SMACK and for SELINUX. --- src/shared/label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/label.c') diff --git a/src/shared/label.c b/src/shared/label.c index fe7fd8381e..eae6614969 100644 --- a/src/shared/label.c +++ b/src/shared/label.c @@ -32,7 +32,7 @@ int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) { } if (mac_smack_use()) { - r = mac_smack_relabel_in_dev(path); + r = mac_smack_fix(path); if (r < 0) return r; } -- cgit v1.2.3-54-g00ecf