aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/patches/010-fix-wrong-variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/busybox/patches/010-fix-wrong-variable.patch')
-rw-r--r--package/utils/busybox/patches/010-fix-wrong-variable.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/utils/busybox/patches/010-fix-wrong-variable.patch b/package/utils/busybox/patches/010-fix-wrong-variable.patch
new file mode 100644
index 0000000000..1b6fa7be61
--- /dev/null
+++ b/package/utils/busybox/patches/010-fix-wrong-variable.patch
@@ -0,0 +1,11 @@
+--- a/libbb/update_passwd.c
++++ b/libbb/update_passwd.c
+@@ -48,7 +48,7 @@ static void check_selinux_update_passwd(
+ bb_simple_error_msg_and_die("SELinux: access denied");
+ }
+ if (ENABLE_FEATURE_CLEAN_UP)
+- freecon(context);
++ freecon(seuser);
+ }
+ #else
+ # define check_selinux_update_passwd(username) ((void)0)