Re: O_CLOEXEC: An alternate proposal

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Jelinek
Date: Friday, June 8, 2007 - 3:25 am

On Fri, Jun 08, 2007 at 03:47:12AM -0400, Daniel Colascione wrote:

It is not a win, what if a signal comes in between the two
kernel_default_fd_flags syscalls?  open and other functions
are async signal safe and programs will be certainly upset
if suddenly the syscalls in the signal handler start to behave
differently depending on which exact code the async signal
has interrupted.

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

Messages in current thread:
O_CLOEXEC: An alternate proposal, Daniel Colascione, (Fri Jun 8, 12:47 am)
Re: O_CLOEXEC: An alternate proposal, Eric Dumazet, (Fri Jun 8, 2:19 am)
Re: O_CLOEXEC: An alternate proposal, Jakub Jelinek, (Fri Jun 8, 3:25 am)