From aa2e212480cd13f778fcfb917fe6aa1e24514f15 Mon Sep 17 00:00:00 2001 From: josch Date: Tue, 30 Jan 2024 23:19:29 +0000 Subject: [PATCH] system/box64.conf.cmake: change rule name to be box64 specific (#1233) Having an entry named x86_64 in /proc/sys/fs/binfmt_misc/ is not ideal because: - it does not indicate who the binfmt provider is (others start with llvm-*, python* or qemu-* to indicate this) - it is a namespace grab -- there is no justification for box64 to grab the identifier "x86_64" over all other potential binfmt providers --- system/box64.conf.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/box64.conf.cmake b/system/box64.conf.cmake index 7dbdc5d3..18e6f8c2 100644 --- a/system/box64.conf.cmake +++ b/system/box64.conf.cmake @@ -1,2 +1,2 @@ # /etc/binfmt.d/box64.conf -:x86_64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00:\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff\xff\xff\xfe\xff\xff\xff:${CMAKE_INSTALL_PREFIX}/bin/${BOX64}: +:box64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00:\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff\xff\xff\xfe\xff\xff\xff:${CMAKE_INSTALL_PREFIX}/bin/${BOX64}: