diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2022-12-21 19:17:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-20 16:30:45 +0300 |
commit | 00142bfd5a916a0b3899cc709bf8f5042cf3d084 (patch) | |
tree | 461d76a47c3a81156d5d6a8c9bfc94c5d1350243 /Documentation/ABI/testing/sysfs-kernel-address_bits | |
parent | e5da06b27ff5a148e42265c8e306670a9d913969 (diff) | |
download | linux-00142bfd5a916a0b3899cc709bf8f5042cf3d084.tar.xz |
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>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-kernel-address_bits')
-rw-r--r-- | Documentation/ABI/testing/sysfs-kernel-address_bits | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-kernel-address_bits b/Documentation/ABI/testing/sysfs-kernel-address_bits new file mode 100644 index 000000000000..5d09ff84d4d6 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-kernel-address_bits @@ -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 |