<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/arch/s390/kernel/compat_linux.c, branch v3.19-rc4</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.19-rc4</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.19-rc4'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2014-12-05T23:19:27+00:00</updated>
<entry>
<title>groups: Consolidate the setgroups permission checks</title>
<updated>2014-12-05T23:19:27+00:00</updated>
<author>
<name>Eric W. Biederman</name>
<email>ebiederm@xmission.com</email>
</author>
<published>2014-12-05T23:19:27+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7ff4d90b4c24a03666f296c3d4878cd39001e81e'/>
<id>urn:sha1:7ff4d90b4c24a03666f296c3d4878cd39001e81e</id>
<content type='text'>
Today there are 3 instances of setgroups and due to an oversight their
permission checking has diverged.  Add a common function so that
they may all share the same permission checking code.

This corrects the current oversight in the current permission checks
and adds a helper to avoid this in the future.

A user namespace security fix will update this new helper, shortly.

Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: add sync_file_range and fallocate compat syscalls</title>
<updated>2014-03-04T08:05:47+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-03-01T12:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2c81fc4fb41f589454861bbdb90ffde73840b8f8'/>
<id>urn:sha1:2c81fc4fb41f589454861bbdb90ffde73840b8f8</id>
<content type='text'>
The compat syscall wrappers for sync_file_range and fallocate merged 32 bit
parameters into 64 bit parameters. Therefore they did more than just the
usual zero and/or sign extension of system call parameters.

So convert these two wrappers to full s390 specific compat sytem calls.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: convert to COMPAT_SYSCALL_DEFINEx part 7</title>
<updated>2014-03-04T08:05:38+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-02-26T13:40:43+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5383d2c8b3ee61a762043818d7c07bbc0049b031'/>
<id>urn:sha1:5383d2c8b3ee61a762043818d7c07bbc0049b031</id>
<content type='text'>
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: convert to COMPAT_SYSCALL_DEFINEx part 6</title>
<updated>2014-03-04T08:05:37+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-02-26T13:05:34+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a0f8c6da8f3da63283e978ebece03e81d107b1d0'/>
<id>urn:sha1:a0f8c6da8f3da63283e978ebece03e81d107b1d0</id>
<content type='text'>
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: convert to COMPAT_SYSCALL_DEFINEx part 5</title>
<updated>2014-03-04T08:05:36+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-02-26T11:51:40+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=52a0b536a3addcfe20325303b2dddc2538019476'/>
<id>urn:sha1:52a0b536a3addcfe20325303b2dddc2538019476</id>
<content type='text'>
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: convert to COMPAT_SYSCALL_DEFINEx part 4</title>
<updated>2014-03-04T08:05:36+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-02-26T09:58:09+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e723e0cc17f8d8573b19a809277d81cecdd6e92b'/>
<id>urn:sha1:e723e0cc17f8d8573b19a809277d81cecdd6e92b</id>
<content type='text'>
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: convert to COMPAT_SYSCALL_DEFINEx part 3</title>
<updated>2014-03-04T08:05:35+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-02-25T15:17:41+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4ca2ea58c8421784bdad43b05e9939549e4d34e9'/>
<id>urn:sha1:4ca2ea58c8421784bdad43b05e9939549e4d34e9</id>
<content type='text'>
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: convert to COMPAT_SYSCALL_DEFINEx part 2</title>
<updated>2014-03-04T08:05:35+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-02-25T14:52:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=208096eee2fa44de0464e1f3c1f0c1ca1afe67ad'/>
<id>urn:sha1:208096eee2fa44de0464e1f3c1f0c1ca1afe67ad</id>
<content type='text'>
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: convert to COMPAT_SYSCALL_DEFINEx part 1</title>
<updated>2014-03-04T08:05:34+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-02-25T13:08:39+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c6c0f58f90cb8e159702ccc08772bc9221f1c35e'/>
<id>urn:sha1:c6c0f58f90cb8e159702ccc08772bc9221f1c35e</id>
<content type='text'>
Convert s390 specific system calls to to the new COMPAT_SYSCALL_DEFINE macro.
This allows us to get rid of the assembly compat wrappers.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/compat: change parameter types from unsigned long to compat_ulong_t</title>
<updated>2014-01-30T00:22:40+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2014-01-29T22:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=49382d93852f1ba4a4fbbce20d094f600cc8aff8'/>
<id>urn:sha1:49382d93852f1ba4a4fbbce20d094f600cc8aff8</id>
<content type='text'>
Change parameter types of s390's compat ipc syscall from unsigned long
to compat_ulong_t to enforce zero extension of these parameters.

This is not really a bug, since s390_ipc compat syscall is only a
wrapper to the generic compat_sys_ipc() syscall, which performs correct
zero and sign extension.

This was introduced with commit 56e41d3c5aa8 ("merge compat sys_ipc
instances").

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Ingo Molnar &lt;mingo@kernel.org&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Hendrik Brueckner &lt;brueckner@linux.vnet.ibm.com&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.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>
</feed>
