Re: [PATCH v4 00/45] x86: Kernel IBT
From: Peter Zijlstra
Date: Tue Mar 15 2022 - 06:39:59 EST
On Tue, Mar 15, 2022 at 11:07:06AM +0100, Peter Zijlstra wrote:
> On Tue, Mar 15, 2022 at 10:00:43AM +0100, Peter Zijlstra wrote:
> > I don't seem able to run this mod_race test, it keeps saying:
> >
> > tgl-build# ./test_progs -v -t mod_race
> > bpf_testmod.ko is already unloaded.
> > Loading bpf_testmod.ko...
> > Successfully loaded bpf_testmod.ko.
> > Summary: 0/0 PASSED, 0 SKIPPED, 0 FAILED
> > Successfully unloaded bpf_testmod.ko.
> >
> > Which I'm taking to mean I'm doing it wrong...
>
> That.. I was building the wrong tree, mod_race comes from bpf-next and I
> was building a tree without that merged in... let me to see what it does
> now.
I can confirm, crashes without, fixed with. Thanks!
I've forced pushed a cleaned up tip/x86/core. Also:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/ibt.bpf
is a merge of that and bpf-next