<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/s390/kernel/compat_linux.c, branch linux-3.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-02-25T10:01:15Z</updated>
<entry>
<title>s390: fix handling of -1 in set{,fs}[gu]id16 syscalls</title>
<updated>2018-02-25T10:01:15Z</updated>
<author>
<name>Eugene Syromiatnikov</name>
</author>
<published>2018-01-15T19:38:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae0dd9e49bd17c6637a4485ff9f827ef200457e5'/>
<id>urn:sha1:ae0dd9e49bd17c6637a4485ff9f827ef200457e5</id>
<content type='text'>
commit 6dd0d2d22aa363fec075cb2577ba273ac8462e94 upstream.

For some reason, the implementation of some 16-bit ID system calls
(namely, setuid16/setgid16 and setfsuid16/setfsgid16) used type cast
instead of low2highgid/low2highuid macros for converting [GU]IDs, which
led to incorrect handling of value of -1 (which ought to be considered
invalid).

Discovered by strace test suite.

Cc: stable@vger.kernel.org
Signed-off-by: Eugene Syromiatnikov &lt;esyr@redhat.com&gt;
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>groups: Consolidate the setgroups permission checks</title>
<updated>2015-01-08T18:30:25Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2014-12-05T23:19:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e726c9a0a24b1381b2714dbeca322ab446fccb4a'/>
<id>urn:sha1:e726c9a0a24b1381b2714dbeca322ab446fccb4a</id>
<content type='text'>
commit 7ff4d90b4c24a03666f296c3d4878cd39001e81e upstream.

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.

Signed-off-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>s390/compat: add sync_file_range and fallocate compat syscalls</title>
<updated>2014-03-04T08:05:47Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-03-01T12:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:38Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-02-26T13:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:37Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-02-26T13:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:36Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-02-26T11:51:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:36Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-02-26T09:58:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:35Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-02-25T15:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:35Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-02-25T14:52:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:34Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-02-25T13:08:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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>
</feed>
