mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
12 lines
318 B
Diff
12 lines
318 B
Diff
|
--- 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)
|