From: Christoph Hellwig <firstname.lastname@example.org> To: Nicholas Piggin <email@example.com> Cc: Andrew Morton <firstname.lastname@example.org>, Christoph Hellwig <email@example.com>, firstname.lastname@example.org, email@example.com, Peter Zijlstra <firstname.lastname@example.org> Subject: Re: [PATCH 2/2] mm: don't allow executable ioremap mappings Date: Thu, 26 Aug 2021 07:37:19 +0200 [thread overview] Message-ID: <20210826053719.GA17085@lst.de> (raw) In-Reply-To: <email@example.com> On Thu, Aug 26, 2021 at 12:46:34PM +1000, Nicholas Piggin wrote: > I can't see why this is a problem. powerpcs can but it seems like a bad > idea anyway. > > Any point to a WARN_ON or return -EINVAL? Hmm, maybe that doesn't work > for archs that don't support NX. We could add a check for ones that do > support it though... But that's for another patch. This is the same as we do for regular vmap. I can't remember why we decided on this particular approach, as it's been a while.
prev parent reply other threads:[~2021-08-26 5:37 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-24 9:12 small ioremap cleanups Christoph Hellwig 2021-08-24 9:12 ` [PATCH 1/2] mm: move ioremap_page_range to vmalloc.c Christoph Hellwig 2021-08-24 19:51 ` kernel test robot 2021-08-26 2:36 ` Nicholas Piggin 2021-08-24 9:12 ` [PATCH 2/2] mm: don't allow executable ioremap mappings Christoph Hellwig 2021-08-26 2:46 ` Nicholas Piggin 2021-08-26 5:37 ` Christoph Hellwig [this message]
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=20210826053719.GA17085@lst.de \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: [PATCH 2/2] mm: don'\''t allow executable ioremap mappings' \ /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
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.