[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH 1/1] update_passwd: fix context variable
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2021-01-14 16:04:04
Message-ID: CAK1hOcO0aaYhG=fP1fTZJe7AhBSC1Mp3+E3yBXUt2zj1NVS-zA () mail ! gmail ! com
[Download RAW message or body]

Applied, thanks

On Sun, Jan 10, 2021 at 1:20 PM Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> 
> Commit
> https://git.busybox.net/busybox/commit/libbb/update_passwd.c?id=2496616b0a8d1c80cd1416b73a4847b59b9f969a
>  
> changed the variable used from context to seuser but forgot this
> change resulting in build errors detected by buildroot autobuilders:
> 
> http://autobuild.buildroot.net/results/b89/b89b7d0f0601bb706e76cea31cf4e43326e5540c//build-end.log
>  
> libbb/update_passwd.c:51:11: error: 'context' undeclared (first use in
> this function); did you mean 'ucontext'?
> freecon(context);
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> libbb/update_passwd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libbb/update_passwd.c b/libbb/update_passwd.c
> index 7b67f30cd..a228075cc 100644
> --- a/libbb/update_passwd.c
> +++ b/libbb/update_passwd.c
> @@ -48,7 +48,7 @@ static void check_selinux_update_passwd(const char *username)
> 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)
> --
> 2.29.2
> 
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic