Thread (1 message) 1 message, 1 author, 2014-05-03

Re: execve is not atomic, what is the exit state of the process when execve fails after throwing away the original process image?

From: Jann Horn <hidden>
Date: 2014-05-03 17:45:10

On Fri, May 02, 2014 at 02:19:52AM +0000, Steven Stewart-Gallus wrote:
execve is not atomic, what is the exit state of the process when
execve fails after throwing away the original process image?
See http://lxr.free-electrons.com/source/fs/binfmt_elf.c#L740 or
so – as far as I know, the kernel sends a SIGKILL. Does that help?

Attachments

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