Re: [PATCH 0/2] fix the long standing exec vs kill race

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Simon Holm Th?gersen <odie@...>
Cc: Andrew Morton <akpm@...>, Davide Libenzi <davidel@...>, Ingo Molnar <mingo@...>, Linus Torvalds <torvalds@...>, Roland McGrath <roland@...>, <linux-kernel@...>
Date: Sunday, December 2, 2007 - 2:52 pm

On 12/02, Simon Holm Th?gersen wrote:

Well, as I said, I don't know what would be the right behaviour,


... but this doesn't look very clear to me.

- Linux can perfectly exec from inside a signal handler

- the application should know that the signal is blocked when the handler runs

- exec should preserve the ->blocked mask

So, is this really buggy? Do we break the "execve should be signal-safe" rule?
I don't know, but our CC: list is good ;)

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] fix the long standing exec vs kill race, Oleg Nesterov, (Sun Dec 2, 11:14 am)
Re: [PATCH 0/2] fix the long standing exec vs kill race, Linus Torvalds, (Mon Dec 3, 12:37 pm)
Re: [PATCH 0/2] fix the long standing exec vs kill race, Oleg Nesterov, (Mon Dec 3, 1:41 pm)
Re: [PATCH 0/2] fix the long standing exec vs kill race, Oleg Nesterov, (Sun Dec 2, 1:18 pm)
Re: [PATCH 0/2] fix the long standing exec vs kill race, Linus Torvalds, (Sun Dec 2, 4:26 pm)
Re: [PATCH 0/2] fix the long standing exec vs kill race, Oleg Nesterov, (Sun Dec 2, 2:52 pm)