From 793fc32169ab53e55ebba35c8e89af826c6d1452 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 23 Jan 2023 10:11:36 +0100 Subject: [PATCH 1/2] Revert "Resolves #26142 - Fix list of supported personalities" This reverts commit fdbbb5ffc04c48e6e1b97ddfff366672c2f8a073. --- man/systemd.exec.xml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index f69f8ae437..0bb5569c33 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1090,15 +1090,9 @@ CapabilityBoundingSet=~CAP_B CAP_C Controls which kernel architecture uname2 shall report, when invoked by unit processes. Takes one of the architecture identifiers x86, - x86-64, arm64, arm64-be, arm, - arm-be, alpha, arc, arc-be, - cris, ia64, loongarch64, m68k, - mips64-le, mips64, mips-le, mips, - nios2, parisc64, parisc, ppc64-le, - ppc64, ppc, ppc-le, riscv32, - riscv64, s390x, s390, sh64, - sh, sparc64, sparc or tilegx. - Which personality architectures are supported depends on the system architecture. Usually the 64bit versions of the various + x86-64, ppc, ppc-le, ppc64, + ppc64-le, s390 or s390x. Which personality + architectures are supported depends on the system architecture. Usually the 64bit versions of the various system architectures support their immediate 32bit personality architecture counterpart, but no others. For example, x86-64 systems support the x86-64 and x86 personalities but no others. The personality feature is useful when running 32-bit From 4c8ca41fa591eae3c4429af82d203f59a4eab845 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 24 Jan 2023 16:08:09 +0100 Subject: [PATCH 2/2] man: extend Personality= docs a bit Let's make clear personalities are supported on ARM (as per https://github.com/systemd/systemd/pull/26152#issuecomment-1400321944). Also, clarify that on many archs this functionality is pretty pointless, i.e. where only a single native arch was ever known. --- man/systemd.exec.xml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 0bb5569c33..b6e71cce2b 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1088,16 +1088,20 @@ CapabilityBoundingSet=~CAP_B CAP_C Personality= Controls which kernel architecture uname2 shall report, - when invoked by unit processes. Takes one of the architecture identifiers x86, - x86-64, ppc, ppc-le, ppc64, - ppc64-le, s390 or s390x. Which personality - architectures are supported depends on the system architecture. Usually the 64bit versions of the various - system architectures support their immediate 32bit personality architecture counterpart, but no others. For - example, x86-64 systems support the x86-64 and - x86 personalities but no others. The personality feature is useful when running 32-bit - services on a 64-bit host system. If not specified, the personality is left unmodified and thus reflects the - personality of the host system's kernel. + project='man-pages'>uname2 shall + report, when invoked by unit processes. Takes one of the architecture identifiers + arm64, arm64-be, arm, + arm-be, x86, x86-64, + ppc, ppc-le, ppc64, + ppc64-le, s390 or s390x. Which + personality architectures are supported depends on the kernel's native architecture. Usually the + 64bit versions of the various system architectures support their immediate 32bit personality + architecture counterpart, but no others. For example, x86-64 systems support the + x86-64 and x86 personalities but no others. The personality + feature is useful when running 32-bit services on a 64-bit host system. If not specified, the + personality is left unmodified and thus reflects the personality of the host system's kernel. This + option is not useful on architectures for which only one native word width was ever available, such + as m68k (32bit only) or alpha (64bit only).