From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] kernel: disable CONFIG_UPROBES Date: Tue, 09 Jun 2020 18:51:12 +0000 Message-ID: <8bfe5131-e177-13be-ad28-f7b15c0c93e9@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0599025480773378859==" List-Id: --===============0599025480773378859== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Quoted from #12433: > Uprobes is the user-space counterpart to kprobes: they enable instrumentati= on > 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. ) IMHO this can be safely disabled, as there is little if any need to debug userspace programs _that_ deeply on an IPFire machine. Fixes: #12433 Cc: Arne Fitzenreiter Signed-off-by: Peter M=C3=BCller --- config/kernel/kernel.config.aarch64-ipfire | 2 +- config/kernel/kernel.config.armv5tel-ipfire-multi | 2 +- config/kernel/kernel.config.i586-ipfire | 2 +- config/kernel/kernel.config.x86_64-ipfire | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kerne= l.config.aarch64-ipfire index e0f2f6df8..b746fe428 100644 --- a/config/kernel/kernel.config.aarch64-ipfire +++ b/config/kernel/kernel.config.aarch64-ipfire @@ -227,7 +227,7 @@ CONFIG_TRACEPOINTS=3Dy # CONFIG_KPROBES is not set CONFIG_JUMP_LABEL=3Dy CONFIG_STATIC_KEYS_SELFTEST=3Dy -CONFIG_UPROBES=3Dy +# CONFIG_UPROBES is not set # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=3Dy CONFIG_HAVE_KPROBES=3Dy diff --git a/config/kernel/kernel.config.armv5tel-ipfire-multi b/config/kerne= l/kernel.config.armv5tel-ipfire-multi index 15183300f..858cd0109 100644 --- a/config/kernel/kernel.config.armv5tel-ipfire-multi +++ b/config/kernel/kernel.config.armv5tel-ipfire-multi @@ -225,7 +225,7 @@ CONFIG_HAVE_OPROFILE=3Dy # CONFIG_KPROBES is not set CONFIG_JUMP_LABEL=3Dy CONFIG_STATIC_KEYS_SELFTEST=3Dy -CONFIG_UPROBES=3Dy +# CONFIG_UPROBES is not set # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=3Dy CONFIG_ARCH_USE_BUILTIN_BSWAP=3Dy diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.c= onfig.i586-ipfire index 578931497..32a5f5544 100644 --- a/config/kernel/kernel.config.i586-ipfire +++ b/config/kernel/kernel.config.i586-ipfire @@ -242,7 +242,7 @@ CONFIG_OPROFILE_NMI_TIMER=3Dy # CONFIG_KPROBES is not set CONFIG_JUMP_LABEL=3Dy CONFIG_STATIC_KEYS_SELFTEST=3Dy -CONFIG_UPROBES=3Dy +# CONFIG_UPROBES is not set # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=3Dy CONFIG_ARCH_USE_BUILTIN_BSWAP=3Dy diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel= .config.x86_64-ipfire index 6a5fbbfe9..666a76597 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -251,7 +251,7 @@ CONFIG_OPROFILE_NMI_TIMER=3Dy # CONFIG_KPROBES is not set CONFIG_JUMP_LABEL=3Dy CONFIG_STATIC_KEYS_SELFTEST=3Dy -CONFIG_UPROBES=3Dy +# CONFIG_UPROBES is not set # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=3Dy CONFIG_ARCH_USE_BUILTIN_BSWAP=3Dy --=20 2.26.2 --===============0599025480773378859==--