lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMj1kXEaqUdKeWSgAeJsnk7HNt2478PzhjC6+Ehv2qg8uVpzSg@mail.gmail.com>
Date:   Sat, 20 Feb 2021 15:50:08 +0100
From:   Ard Biesheuvel <ardb@...nel.org>
To:     Heinrich Schuchardt <xypron.glpk@....de>,
        Peter Jones <pjones@...hat.com>
Cc:     linux-efi <linux-efi@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] efi/efivars: ConInDev, ConOutDev, ConErrDev are volatile

(cc Peter)

On Thu, 18 Feb 2021 at 21:18, Heinrich Schuchardt <xypron.glpk@....de> wrote:
>
> UEFI variables ConInDev, ConOutDev, ConErrDev are volatile variables that
> are set by the firmware on every reset. It does not make sense to set these
> variables via the efivarfs filesystem.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@....de>
> ---
>  drivers/firmware/efi/vars.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/firmware/efi/vars.c b/drivers/firmware/efi/vars.c
> index 41c1d00bf933..561e0a01093b 100644
> --- a/drivers/firmware/efi/vars.c
> +++ b/drivers/firmware/efi/vars.c
> @@ -180,11 +180,8 @@ static const struct variable_validate variable_validate[] = {
>         { EFI_GLOBAL_VARIABLE_GUID, "DriverOrder", validate_boot_order },
>         { EFI_GLOBAL_VARIABLE_GUID, "Driver*", validate_load_option },
>         { EFI_GLOBAL_VARIABLE_GUID, "ConIn", validate_device_path },
> -       { EFI_GLOBAL_VARIABLE_GUID, "ConInDev", validate_device_path },
>         { EFI_GLOBAL_VARIABLE_GUID, "ConOut", validate_device_path },
> -       { EFI_GLOBAL_VARIABLE_GUID, "ConOutDev", validate_device_path },
>         { EFI_GLOBAL_VARIABLE_GUID, "ErrOut", validate_device_path },
> -       { EFI_GLOBAL_VARIABLE_GUID, "ErrOutDev", validate_device_path },
>         { EFI_GLOBAL_VARIABLE_GUID, "Lang", validate_ascii_string },
>         { EFI_GLOBAL_VARIABLE_GUID, "OsIndications", NULL },
>         { EFI_GLOBAL_VARIABLE_GUID, "PlatformLang", validate_ascii_string },
> --
> 2.30.0
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ