kernel-utsname_sysctlc-print-kernel-arch.patch removed from -mm tree
The quilt patch titled
Subject: kernel/utsname_sysctl.c: print kernel arch
has been removed from the -mm tree. Its filename was
kernel-utsname_sysctlc-print-kernel-arch.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Petr Vorel <[email protected]>
Subject: kernel/utsname_sysctl.c: print kernel arch
Date: Thu, 1 Sep 2022 21:44:03 +0200
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.
---
Documentation/admin-guide/sysctl/kernel.rst | 5 +++++ kernel/utsname_sysctl.c | 7 +++++++ 2 files changed, 12 insertions(+)
Documentation/admin-guide/sysctl/kernel.rst renamed from Documentation/admin-guide/sysctl/kernel.rst~kernel-utsname_sysctlc-print-kernel-arch +5 -0
@@ -65,6 +65,11 @@ combining the following values: 4 s3_beep = ======= +arch +==== + +The machine hardware name, the same output as ``uname -m`` +(e.g. ``x86_64`` or ``aarch64``). auto_msgmni ===========
kernel/utsname_sysctl.c renamed from kernel/utsname_sysctl.c~kernel-utsname_sysctlc-print-kernel-arch +7 -0
@@ -74,6 +74,13 @@ static DEFINE_CTL_TABLE_POLL(domainname_static struct ctl_table uts_kern_table[] = { { + .procname ="arch" , + .data = init_uts_ns.name.machine, + .maxlen =sizeof (init_uts_ns.name.machine), + .mode =0444 , + .proc_handler = proc_do_uts_string, + }, + { .procname ="ostype" , .data = init_uts_ns.name.sysname, .maxlen =sizeof (init_uts_ns.name.sysname),
_
Patches currently in -mm which might be from [email protected] are