On Sat, Jun 26, 2021 at 10:25 PM Bruce Ashfield <[email protected]> wrote: > > In message: [linux-yocto][yocto-kernel-cache][master yocto-5.13][PATCH] > kfence: Initial enablement > on 22/06/2021 He Zhe wrote: > > > Kernel Electric-Fence (KFENCE) is a low-overhead sampling-based memory > > safety > > error detector. KFENCE detects heap out-of-bounds access, use-after-free, > > and > > invalid-free errors. > > > > KFENCE is designed to be enabled in production kernels, and has near zero > > performance overhead. Compared to KASAN, KFENCE trades precision for > > performance. > > Merged! > > And thanks for the change, this is something that I've wanted to > enable for a while, but haven't been able to get around to it.
In fact, I've gone and enabled this by default in the kernel-cache master, that way we can get some extra testing through the development cycle. Bruce > > Bruce > > > > > Signed-off-by: He Zhe <[email protected]> > > --- > > features/kfence/kfence.cfg | 2 ++ > > features/kfence/kfence.scc | 5 +++++ > > 2 files changed, 7 insertions(+) > > create mode 100644 features/kfence/kfence.cfg > > create mode 100644 features/kfence/kfence.scc > > > > diff --git a/features/kfence/kfence.cfg b/features/kfence/kfence.cfg > > new file mode 100644 > > index 00000000..6f4875c3 > > --- /dev/null > > +++ b/features/kfence/kfence.cfg > > @@ -0,0 +1,2 @@ > > +# SPDX-License-Identifier: MIT > > +CONFIG_KFENCE=y > > diff --git a/features/kfence/kfence.scc b/features/kfence/kfence.scc > > new file mode 100644 > > index 00000000..741bca26 > > --- /dev/null > > +++ b/features/kfence/kfence.scc > > @@ -0,0 +1,5 @@ > > +# SPDX-License-Identifier: MIT > > +define KFEATURE_DESCRIPTION "a low-overhead sampling-based memory safety > > error detector" > > +define KFEATURE_COMPATIBILITY arch > > + > > +kconf non-hardware kfence.cfg > > -- > > 2.17.1 > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10003): https://lists.yoctoproject.org/g/linux-yocto/message/10003 Mute This Topic: https://lists.yoctoproject.org/mt/83709728/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
