linux/arch/um/drivers
Al Viro d8c215adbf um: convert count_lock to mutex, fix a race in line_open()
If two processes are opening the same line, the second to get
into line_open() will decide that it doesn't need to do anything
(correctly) or wait for anything.  The latter, unfortunately,
is incorrect - the first opener might not be through yet.  We
need to have exclusion covering the entire line_init(), including
the blocking parts.  Moreover, the next patch will need to
widen the exclusion on mconsole side of things, also including
the blocking bits, so let's just convert that sucker to mutex...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
2012-03-25 00:29:53 +01:00
..
chan_kern.c um: kill useless argument of free_chan() and free_one_chan() 2011-11-02 14:15:28 +01:00
chan_user.c um: take register_winch_irq() into the caller of is_skas_winch() 2011-11-02 14:15:11 +01:00
chan_user.h um: take chan_*.h and line.h to arch/um/drivers 2011-11-02 14:15:12 +01:00
chan.h um: take chan_*.h and line.h to arch/um/drivers 2011-11-02 14:15:12 +01:00
cow_sys.h um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
cow_user.c uml: cow_user.c warning corrections 2011-07-25 20:57:13 -07:00
cow.h
daemon_kern.c um: Kill directly reference of netdev->priv 2008-12-04 15:07:33 -08:00
daemon_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
daemon.h uml: network formatting 2007-10-16 09:43:08 -07:00
fd.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
harddog_kern.c Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:52:56 -07:00
harddog_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
hostaudio_kern.c Merge branch 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:43:11 -07:00
line.c um: convert count_lock to mutex, fix a race in line_open() 2012-03-25 00:29:53 +01:00
line.h um: convert count_lock to mutex, fix a race in line_open() 2012-03-25 00:29:53 +01:00
Makefile um: add ucast ethernet transport 2011-05-25 08:39:41 -07:00
mconsole_kern.c um: irq: Remove IRQF_DISABLED 2012-03-25 00:29:52 +01:00
mconsole_kern.h um: take mconsole*.h to arch/um/drivers 2011-11-02 14:15:12 +01:00
mconsole_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
mconsole.h um: take mconsole*.h to arch/um/drivers 2011-11-02 14:15:12 +01:00
mmapper_kern.c treewide: remove extra semicolons 2011-04-10 17:01:05 +02:00
net_kern.c um: irq: Remove IRQF_DISABLED 2012-03-25 00:29:52 +01:00
net_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
null.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
pcap_kern.c um: Kill directly reference of netdev->priv 2008-12-04 15:07:33 -08:00
pcap_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
pcap_user.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
port_kern.c um: irq: Remove IRQF_DISABLED 2012-03-25 00:29:52 +01:00
port_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
port.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
pty.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
random.c um: irq: Remove IRQF_DISABLED 2012-03-25 00:29:52 +01:00
slip_common.c
slip_common.h
slip_kern.c UML: Fix some apparent bitrot 2009-06-25 11:22:13 -07:00
slip_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
slip.h
slirp_kern.c UML: Fix some apparent bitrot 2009-06-25 11:22:13 -07:00
slirp_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
slirp.h
ssl.c um: convert count_lock to mutex, fix a race in line_open() 2012-03-25 00:29:53 +01:00
ssl.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
stderr_console.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
stdio_console.c um: convert count_lock to mutex, fix a race in line_open() 2012-03-25 00:29:53 +01:00
stdio_console.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
tty.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
ubd_kern.c um: clean up the includes in ubd 2012-03-25 00:29:52 +01:00
ubd_user.c um: clean up the includes in ubd 2012-03-25 00:29:52 +01:00
ubd.h um: clean up the includes in ubd 2012-03-25 00:29:52 +01:00
umcast_kern.c um: add ucast ethernet transport 2011-05-25 08:39:41 -07:00
umcast_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
umcast.h um: add ucast ethernet transport 2011-05-25 08:39:41 -07:00
vde_kern.c um: Kill directly reference of netdev->priv 2008-12-04 15:07:33 -08:00
vde_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
vde.h uml: add VDE networking support 2007-10-16 09:43:05 -07:00
xterm_kern.c um: irq: Remove IRQF_DISABLED 2012-03-25 00:29:52 +01:00
xterm.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
xterm.h uml: remove useless comments 2009-04-01 08:59:17 -07:00