Skip to content
Snippets Groups Projects
Commit a2cc73e2 authored by Glauber Costa's avatar Glauber Costa Committed by Pekka Enberg
Browse files

runtime: basic prctl functionality


First of all, we need the symbol. But so far it is fine returning EINVAL to
everybody except for PR_SET_DUMPABLE. There are situations (see man prctl) in
which this flag is automatically cleared. Some programs (nginx here) will then
proceed to set it to make sure it is on. The flag itself is meanginless to us,
since we are not producing per-thread coredumps, and when we do dump, we will
dump regardless of this. But we need the call to suceed.

Reviewed-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: default avatarGlauber Costa <glommer@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 2cf5ba49
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment