-
Glauber Costa authored
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:
Nadav Har'El <nyh@cloudius-systems.com> Signed-off-by:
Glauber Costa <glommer@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
Glauber Costa authoredFirst 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:
Nadav Har'El <nyh@cloudius-systems.com> Signed-off-by:
Glauber Costa <glommer@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>