linux/arch/um/os-Linux/drivers
Jeff Dike 1d2ddcfb19 [PATCH] uml: close TUN/TAP file descriptors
When UML opens a TUN/TAP device, the file descriptor could be copied into
later, long-lived threads, holding the device open even after the interface is
taken down, preventing it from being brought up again.  This patch makes these
descriptors close-on-exec so that they disappear from helper processes, and
adds CLONE_FILES to a UML helper thread so that the descriptors are closed in
the thread when they are closed elsewhere in UML.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-07 16:12:32 -08:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
etap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ethertap_kern.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ethertap_user.c [PATCH] uml: separate libc-dependent helper code 2005-11-07 07:53:31 -08:00
tuntap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tuntap_kern.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tuntap_user.c [PATCH] uml: close TUN/TAP file descriptors 2006-02-07 16:12:32 -08:00