David van Moolenbroek c344203e48 VFS: deny copying sockets to owning socket driver
This patch stops a socket driver from using copyfd(2) to copy in a
file descriptor that is a reference to a socket owned by that socket
driver, returning EDEADLK instead.  In effect, this will stop deadlock
and resource exhaustion issues with UDS once it has been converted to
a socket driver.  See the comment in the patch for details.

Change-Id: I5728a405eabda207725618231a6ff7be2d517146
2017-03-09 23:39:51 +00:00
2016-01-13 20:32:52 +01:00
2016-01-13 20:32:50 +01:00
2017-03-09 20:04:33 +01:00
2017-02-23 14:08:39 +00:00
2016-10-29 17:08:10 +02:00
2017-02-22 17:17:28 +00:00
2016-01-16 14:04:25 +01:00
2016-09-01 21:16:13 +02:00
2017-03-09 20:04:33 +01:00
2017-02-23 14:08:56 +00:00
2017-02-23 14:08:39 +00:00
Description
A fun microkernel meant to match modern usecases
GPL-3.0 148 MiB
Languages
C 78.2%
Roff 10.2%
Assembly 4.6%
Shell 3.7%
Makefile 1.6%
Other 1.2%