[PATCH] spec: Provide default-yama-scope.

Mark Wielaard mjw at redhat.com
Wed Aug 12 14:06:00 UTC 2015


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.


More information about the elfutils-devel mailing list