mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "André Coelho" <andrealbergaria@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: search_binary_Handler
Date: Thu, 14 Jul 2022 23:35:59 +0100	[thread overview]
Message-ID: <2988f01e-6663-5dba-ce76-cbc655a66b91@gmail.com> (raw)

Hey,

why is search_binary_handler cycles through binary formats?! if there is 
only 3, why don't just return the pointers to then?

also, why does binfmt_misc ,exists?! couldnt we just use 
execve("interpreter","args)) , after reading some first bytes?

since ELF  does read first bytes, can't we just use a ELF subset?!


thanks in advance


i wish to get cc of answers to this email


andre albergaria


                 reply	other threads:[~2022-07-14 22:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2988f01e-6663-5dba-ce76-cbc655a66b91@gmail.com \
    --to=andrealbergaria@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®