This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] spec: Provide default-yama-scope.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 12 Aug 2015 16:06:00 +0200
- Subject: Re: [PATCH] spec: Provide default-yama-scope.
On Tue, 2015-08-04 at 14:58 +0200, Mark Wielaard wrote:
> When yama is enabled in the kernel it might be used to filter any user
> space access which requires PTRACE_MODE_ATTACH like ptrace attach, access
> to /proc/PID/{mem,personality,stack,syscall}, and the syscalls
> process_vm_readv and process_vm_writev which are used for interprocess
> services, communication and introspection (like synchronisation, signaling,
> debugging, tracing and profiling) of processes.
>
> These are precisely the things that libdw dwfl and ebl backends rely on.
> So make sure they don't mysteriously fail in such cases by
>
> This is implemented as a separate subpackage that just provides this
> functionality so other packages that don't immediately rely on elfutils-libs
> can also just Require: default-yama-scope to function properly.
> https://bugzilla.redhat.com/show_bug.cgi?id=1209492#c69
We have been using this in Fedora and it seems to work as advertised.
Pushed to master.