kernels/ksysfs.c: export kernel address bits
This can be used by userspace to determine the address size of the running kernel. It frees userspace from having to interpret this information from the UTS machine field. Userspace implementation: https://github.com/util-linux/util-linux/pull/1966 Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20221221-address-bits-v1-1-8446b13244ac@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e5da06b27f
commit
00142bfd5a
10
Documentation/ABI/testing/sysfs-kernel-address_bits
Normal file
10
Documentation/ABI/testing/sysfs-kernel-address_bits
Normal file
@@ -0,0 +1,10 @@
|
||||
What: /sys/kernel/address_bit
|
||||
Date: May 2023
|
||||
KernelVersion: 6.3
|
||||
Contact: Thomas Weißschuh <linux@weissschuh.net>
|
||||
Description:
|
||||
The address size of the running kernel in bits.
|
||||
|
||||
Access: Read
|
||||
|
||||
Users: util-linux
|
||||
Reference in New Issue
Block a user