Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id B5D39225F81 for <~alpine/users@lists.alpinelinux.org>; Thu, 12 Sep 2024 19:32:35 +0000 (UTC) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2f75f116d11so2968541fa.1 for <~alpine/users@lists.alpinelinux.org>; Thu, 12 Sep 2024 12:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; t=1726169553; x=1726774353; darn=lists.alpinelinux.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5mC6N/WPFNln5oqBDFkkfendgfFuqZc4Vmi9PvMnmkM=; b=CY6p2a6z61WzAYcrwXl+07AfSmxk/lbd63boRHkredeUb+2WoVO40lUDZJbZddWlF9 qKDcoj39qpsBq5Pr8eea5YYlQT7gsZSzaGz+ly+u3UciLZ2IvgHlST4Mi/k/Y3JqCpn3 59ugdKkPTuVclWG4W6XkOSibwDkNF+J/pmZgRHkQesEP7jN49uMgTqXTETvgScP1inGr FnnRjQKNT1LXkSgQnjwBZm/3o+qrICfmrXHDAMafavkv8q1W5qYqHj+izrfpLXScHSRY eM5IF9fCA4yYNFU1BLWVodRvsZVlVPMCUEn43gR5Yja6pbyuPrFzHbgi1v0Xl4ZoBQrS MGGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726169553; x=1726774353; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5mC6N/WPFNln5oqBDFkkfendgfFuqZc4Vmi9PvMnmkM=; b=dOpvrzz71vILvWnJUhOMyS3vgljIOp2fe2Ftpwd1YsSqbj1IanvZ+zl3CmBOUa7JWO nO3PBdWlw7PlwD4V/YmyqtWfT5VOuBMApwWHVXhrcP1SFNEm/HhUyxo30y7gIa0wCZoz iZnVzJVksLehXFV3KvNbNVwC1rZvQdGpLOKIxMN4hFsfR3Zb144eIASr4N4BGopo+qDU 7qPa2BWknQsGDw4WV9ejTUjxTPUhIJ/S8Cr/4d4OniJ9qjlHhAJFy0QdEZUu2xBLkym2 zjPoQ6pTA7TwSpJI6Q5+PekJWxLKqSP0wHLPqh2axxMov5CBvjTW/kl7WB7+z3yCFhO7 6fmA== X-Gm-Message-State: AOJu0Yy49Pyal15E0QZ2CmCc4uVEeh+INR80UnpE1lr03Ntqo5Abx5mV jWY8KD2vrpLtCMog6aZXDlwHhdANOlV9Q+bW/Lz+QTWu80Kb5EgWJMj2oWpCyFQZ0Qn3XJnjcdT 99V0dQslkQ2XhYmK6+bEMQ/2ub7I/q226D4HYSaULxSpI/gj2Sw== X-Google-Smtp-Source: AGHT+IGA1cTonRUH4S/viXWUeT8Xzhe8ZTxzf1eERJPYS0FBDR+OPXhpMriKhsDcqU2C+hNBVMGWLl2cGrLaVHfl1Uc= X-Received: by 2002:a05:651c:b22:b0:2ef:2f9e:dd1b with SMTP id 38308e7fff4ca-2f7919079afmr2631961fa.14.1726169553143; Thu, 12 Sep 2024 12:32:33 -0700 (PDT) MIME-Version: 1.0 From: Mathu Xu Date: Thu, 12 Sep 2024 15:32:19 -0400 Message-ID: Subject: Having trouble adding miscellaneous binary formats To: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Hi, I'm doing some webassembly things. I was trying to register webassembly as a miscellaneous binary format so that we can run wasm files like a regular binary. There's a guide online about how to do that but I was stuck on the first step: mounting binfmt_misc. After some digging we found that in kernel modules CONFIG_BINFMT_MISC is set to 'm', but I found that some other architectures set it to 'y', does this change things? How do I configure my machine to be able to add a miscellaneous binary format? I've tried googling but none of the results have a clear solution to this. Any help would be appreciated, thanks in advance. Mathu Xu