about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorjosch <josch@mister-muffin.de>2024-01-30 23:19:29 +0000
committerGitHub <noreply@github.com>2024-01-31 00:19:29 +0100
commitaa2e212480cd13f778fcfb917fe6aa1e24514f15 (patch)
treefb10df59530ab62bcb819a94eba42b2e1b802ee5
parent96c6abc889a173f858d77ea9bd4722c737e332f9 (diff)
downloadbox64-aa2e212480cd13f778fcfb917fe6aa1e24514f15.tar.gz
box64-aa2e212480cd13f778fcfb917fe6aa1e24514f15.zip
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
-rw-r--r--system/box64.conf.cmake2
1 files changed, 1 insertions, 1 deletions
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}: