<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/um, branch v3.2.56</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/um?h=v3.2.56</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/um?h=v3.2.56'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-01-03T04:33:31Z</updated>
<entry>
<title>um: add missing declaration of 'getrlimit()' and friends</title>
<updated>2014-01-03T04:33:31Z</updated>
<author>
<name>Sergei Trofimovich</name>
<email>slyfox@gentoo.org</email>
</author>
<published>2012-12-29T22:37:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dc55b2a5a8f2abd303198c8169c52550a010391d'/>
<id>urn:sha1:dc55b2a5a8f2abd303198c8169c52550a010391d</id>
<content type='text'>
commit fdfa4c952844fce881df8c76de9c7180cbe913ab upstream.

arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':
arch/um/os-Linux/start_up.c:338:16: error: storage size of 'lim' isn't known
arch/um/os-Linux/start_up.c:339:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]

Signed-off-by: Sergei Trofimovich &lt;slyfox@gentoo.org&gt;
CC: Jeff Dike &lt;jdike@addtoit.com&gt;
CC: Richard Weinberger &lt;richard@nod.at&gt;
CC: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
CC: user-mode-linux-devel@lists.sourceforge.net
CC: user-mode-linux-user@lists.sourceforge.net
CC: linux-kernel@vger.kernel.org
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>uml: check length in exitcode_proc_write()</title>
<updated>2013-11-28T14:02:06Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-10-29T19:06:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=02c54b6cf2b7bd1089bef485d7a81bdf0c5999d8'/>
<id>urn:sha1:02c54b6cf2b7bd1089bef485d7a81bdf0c5999d8</id>
<content type='text'>
commit 201f99f170df14ba52ea4c52847779042b7a623b upstream.

We don't cap the size of buffer from the user so we could write past the
end of the array here.  Only root can write to this file.

Reported-by: Nico Golde &lt;nico@ngolde.de&gt;
Reported-by: Fabian Yamaguchi &lt;fabs@goesec.de&gt;
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>um: Serve io_remap_pfn_range()</title>
<updated>2013-05-30T13:35:15Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2012-02-07T00:22:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8cd656dbac3dca07869aab089b600133786cee34'/>
<id>urn:sha1:8cd656dbac3dca07869aab089b600133786cee34</id>
<content type='text'>
commit 4d94d6d030adfdea4837694d293ec6918d133ab2 upstream.

At some places io_remap_pfn_range() is needed.
UML has to serve it like all other archs do.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>um: Fix __swp_type()</title>
<updated>2012-05-30T23:43:47Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2012-04-14T15:46:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ff741084d380bd234a4d0ffba0c19e8047a14658'/>
<id>urn:sha1:ff741084d380bd234a4d0ffba0c19e8047a14658</id>
<content type='text'>
commit 2b76ebaa728f8a3967c52aa189261c72fe56a6f1 upstream.

The current __swp_type() function uses a too small bitshift.
Using more than one swap files causes bad pages because
the type bits clash with other page flags.

Analyzed-by: Hugh Dickins &lt;hughd@google.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>um: Implement a custom pte_same() function</title>
<updated>2012-05-30T23:43:46Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2012-04-14T15:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e22b65022898e212f80ca989e613179e318b8a79'/>
<id>urn:sha1:e22b65022898e212f80ca989e613179e318b8a79</id>
<content type='text'>
commit f15b9000eb1d09bbaa4b0a6b2089d7e1f64e84b3 upstream.

UML uses the _PAGE_NEWPAGE flag to mark pages which are not jet
installed on the host side using mmap().
pte_same() has to ignore this flag, otherwise unuse_pte_range()
is unable to unuse the page because two identical
page tables entries with different _PAGE_NEWPAGE flags would not
match and swapoff() would never return.

Analyzed-by: Hugh Dickins &lt;hughd@google.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://github.com/richardweinberger/linux</title>
<updated>2011-11-02T16:45:39Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-11-02T16:45:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=de0a5345a55b8dd5a4695181275df0e691176830'/>
<id>urn:sha1:de0a5345a55b8dd5a4695181275df0e691176830</id>
<content type='text'>
* 'for-linus' of git://github.com/richardweinberger/linux: (90 commits)
  um: fix ubd cow size
  um: Fix kmalloc argument order in um/vdso/vma.c
  um: switch to use of drivers/Kconfig
  UserModeLinux-HOWTO.txt: fix a typo
  UserModeLinux-HOWTO.txt: remove ^H characters
  um: we need sys/user.h only on i386
  um: merge delay_{32,64}.c
  um: distribute exports to where exported stuff is defined
  um: kill system-um.h
  um: generic ftrace.h will do...
  um: segment.h is x86-only and needed only there
  um: asm/pda.h is not needed anymore
  um: hw_irq.h can go generic as well
  um: switch to generic-y
  um: clean Kconfig up a bit
  um: a couple of missing dependencies...
  um: kill useless argument of free_chan() and free_one_chan()
  um: unify ptrace_user.h
  um: unify KSTK_...
  um: fix gcov build breakage
  ...
</content>
</entry>
<entry>
<title>um: fix ubd cow size</title>
<updated>2011-11-02T13:15:42Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2011-11-02T12:17:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8535639810e578960233ad39def3ac2157b0c3ec'/>
<id>urn:sha1:8535639810e578960233ad39def3ac2157b0c3ec</id>
<content type='text'>
ubd_file_size() cannot use ubd_dev-&gt;cow.file because at this time
ubd_dev-&gt;cow.file is not initialized.
Therefore, ubd_file_size() will always report a wrong disk size when
COW files are used.
Reading from /dev/ubd* would crash the kernel.

We have to read the correct disk size from the COW file's backing
file.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
CC: stable@kernel.org
</content>
</entry>
<entry>
<title>um: switch to use of drivers/Kconfig</title>
<updated>2011-11-02T13:15:41Z</updated>
<author>
<name>Al Viro</name>
<email>viro@ftp.linux.org.uk</email>
</author>
<published>2011-08-18T19:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3369465ed1a6a9aa9b885a6d7d8e074ecbd782da'/>
<id>urn:sha1:3369465ed1a6a9aa9b885a6d7d8e074ecbd782da</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: distribute exports to where exported stuff is defined</title>
<updated>2011-11-02T13:15:36Z</updated>
<author>
<name>Al Viro</name>
<email>viro@ftp.linux.org.uk</email>
</author>
<published>2011-08-18T19:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=73395a0002aa9573ffc8d989587b79663847f705'/>
<id>urn:sha1:73395a0002aa9573ffc8d989587b79663847f705</id>
<content type='text'>
ksyms.c is down to the stuff defined in various USER_OBJS

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: kill system-um.h</title>
<updated>2011-11-02T13:15:34Z</updated>
<author>
<name>Al Viro</name>
<email>viro@ftp.linux.org.uk</email>
</author>
<published>2011-08-18T19:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a34978cbd977ab62c744f63daacd9dc1474482be'/>
<id>urn:sha1:a34978cbd977ab62c744f63daacd9dc1474482be</id>
<content type='text'>
most of it belonged in irqflags.h, actually

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
</feed>
