Thread (22 messages) flat view 22 messages, 6 authors, 2014-09-20

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

From: Richard Larocque <hidden>
Date: 2014-09-17 00:21:30
Also in: lkml

On Tue, Sep 16, 2014 at 5:13 PM, Andi Kleen [off-list ref] wrote:
Richard Larocque [off-list ref] writes:

Perhaps I'm missing something, but how do you modify the AUX vector
for the children?
quoted
+config VDSO_DISABLE_PRCTL
+     depends on X86
+     bool "prctl to disable VDSO loading"
+     ---help---
+       Enabling this option adds support for prctl calls that
+       set and retrieve a per-process flag to disable VDSO loading on
+       exec() for this process and all of its children.
I don't think it makes any sense to have a config for a simple
feature like this. Just do it unconditionally.

-Andi

--
ak-VuQAYsv1563Yd54FQh9/CA@public.gmane.org -- Speaking for myself only

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
The AUX vector issue is a mistake on my part.

Speaking of mistakes, the IDs in the commit message do not match those
in the patch itself.  That needs to be fixed, too.

Point taken about the config.  I'll remove it in the next version of the patch.

Thanks for the feedback.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help