Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 3 Sep 2020 15:03:30 -0700
From: Sami Tolvanen <>
To: Kees Cook <>
Cc: Masahiro Yamada <>, Will Deacon <>, 
	Peter Zijlstra <>, Steven Rostedt <>, 
	Greg Kroah-Hartman <>, "Paul E. McKenney" <>, 
	Nick Desaulniers <>, 
	clang-built-linux <>, 
	Kernel Hardening <>, 
	linux-arch <>, 
	linux-arm-kernel <>, 
	linux-kbuild <>, LKML <>,, X86 ML <>
Subject: Re: [PATCH v2 05/28] objtool: Add a pass for generating __mcount_loc

On Thu, Sep 3, 2020 at 2:51 PM Kees Cook <> wrote:
> On Thu, Sep 03, 2020 at 01:30:30PM -0700, Sami Tolvanen wrote:
> > From: Peter Zijlstra <>
> >
> > Add the --mcount option for generating __mcount_loc sections
> > needed for dynamic ftrace. Using this pass requires the kernel to
> > be compiled with -mfentry and CC_USING_NOP_MCOUNT to be defined
> > in Makefile.
> >
> > Link:
> > Signed-off-by: Peter Zijlstra <>
> Hmm, I'm not sure why this hasn't gotten picked up yet. Is this expected
> to go through -tip or something else?

Note that I picked up this patch from Peter's original email, to which
I included a link in the commit message, but it wasn't officially
submitted as a patch. However, the previous discussion seems to have
died, so I included the patch in this series, as it cleanly solves the
problem of whitelisting non-call references to __fentry__. I was
hoping for Peter and Steven to comment on how they prefer to proceed


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.