]> git.ipfire.org Git - ipfire-2.x.git/commit
linux: Remove user-space probe support
authorPeter Müller <peter.mueller@ipfire.org>
Sun, 2 Oct 2022 14:47:52 +0000 (14:47 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 3 Oct 2022 16:52:09 +0000 (16:52 +0000)
commit25a3d87645609b3deffdc45a153eb2e2696032f9
tree7db78fd104a67f19068017d197f530f0c84caaa6
parente79c4372ceb87d3fa91cd440745cb6125c57e23e
linux: Remove user-space probe support

From the kernels' documentation:

> Uprobes is the user-space counterpart to kprobes: they
> enable instrumentation applications (such as 'perf probe')
> to establish unintrusive probes in user-space binaries and
> libraries, by executing handler functions when the probes
> are hit by user-space applications.
>
> ( These probes come in the form of single-byte breakpoints,
> managed by the kernel and kept transparent to the probed
> application. )

To the best of the authors' understanding, no application on IPFire
needs this functionality, and given its abuse potential, we should
probably not enable it.

As expected, strace functionality is not impaired by this.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/kernel/kernel.config.aarch64-ipfire
config/kernel/kernel.config.armv6l-ipfire
config/kernel/kernel.config.x86_64-ipfire