[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131205.194355.1677309681391704143.davem@davemloft.net>
Date: Thu, 05 Dec 2013 19:43:55 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ydroneaud@...eya.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
viro@...iv.linux.org.uk
Subject: Re: [PATCH v2] net: handle error more gracefully in socketpair()
From: Yann Droneaud <ydroneaud@...eya.com>
Date: Fri, 06 Dec 2013 00:15:31 +0100
> AFAIK, using sys_close() seems to be the exception, and writing the file
> descriptor before installing it is the more or less the norm.
What other system call in the kernel writes a file descriptor's value
into the address space of a user process before the file descriptor
is actually usable?
That's really terrible semantically.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists