<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/um/include/shared/line.h, branch linux-3.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-09-15T01:09:37Z</updated>
<entry>
<title>um: fix oopsable race in line_close()</title>
<updated>2011-09-15T01:09:37Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-09-14T23:21:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f71f94845e0126884eca8ce57a92e30b189c8e71'/>
<id>urn:sha1:f71f94845e0126884eca8ce57a92e30b189c8e71</id>
<content type='text'>
tty-&gt;count is decremented only after -&gt;close() had been called and
several tasks can hit it in parallel.  As the result, using tty-&gt;count
to check if you are the last one is broken.  We end up leaving line-&gt;tty
not reset to NULL and the next IRQ on that sucker will blow up trying to
dereference pointers from kfree'd struct tty.

Fix is obvious: we need to use a counter of our own.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>um: remove file pointer from ioctl</title>
<updated>2011-03-23T00:44:09Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2011-03-22T23:33:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a06dc4d52458e4a909b652ee9fe8f82d2cd87a2'/>
<id>urn:sha1:8a06dc4d52458e4a909b652ee9fe8f82d2cd87a2</id>
<content type='text'>
Commit 6caa76b ("tty: now phase out the ioctl file pointer for good")
removed the ioctl file pointer.  User Mode Linux's line driver uses this
ioctl and needs a signature update too.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Cc: Jeff Dike &lt;jdike@addtoit.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>x86, um: take arch/um/include/* out of the way</title>
<updated>2008-10-23T05:55:19Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2008-08-17T17:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8569c9140bd41089f9b6be8837ca421102714a90'/>
<id>urn:sha1:8569c9140bd41089f9b6be8837ca421102714a90</id>
<content type='text'>
We can't just plop asm/* into it - userland helpers are built with it
in search path and seeing asm/* show up there suddenly would be a bad
idea.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
</feed>
