Re: [PATCH v3 1/1] kernel/utsname_sysctl.c: Print kernel arch

From: Greg Kroah-Hartman
Date: Fri Sep 02 2022 - 01:56:20 EST


On Thu, Sep 01, 2022 at 09:44:03PM +0200, Petr Vorel wrote:
> Print the machine hardware name (UTS_MACHINE) in /proc/sys/kernel/arch.
>
> This helps people who debug kernel with initramfs with minimal
> environment (i.e. without coreutils or even busybox) or allow to open
> sysfs file instead of run 'uname -m' in high level languages.
>
> Signed-off-by: Petr Vorel <pvorel@xxxxxxx>

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>