<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/s390/include/asm/syscall.h, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-11-24T14:37:22Z</updated>
<entry>
<title>s390: include: Remove redundant license text</title>
<updated>2017-11-24T14:37:22Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-11-24T14:00:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94bf2f28c9923abe7a1fccc126a86a2401cb5a47'/>
<id>urn:sha1:94bf2f28c9923abe7a1fccc126a86a2401cb5a47</id>
<content type='text'>
Now that the SPDX tag is in all arch/s390/include/ files, that
identifies the license in a specific and legally-defined manner.  So the
extra GPL text wording can be removed as it is no longer needed at all.

This is done on a quest to remove the 700+ different ways that files in
the kernel describe the GPL license text.  And there's unneeded stuff
like the address (sometimes incorrect) for the FSF which is never
needed.

No copyright headers or other non-license-description text was removed.

Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Cc: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Cc: Cornelia Huck &lt;cohuck@redhat.com&gt;
Cc: Halil Pasic &lt;pasic@linux.vnet.ibm.com&gt;
Cc: "Paul E. McKenney" &lt;paulmck@linux.vnet.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390: add SPDX identifiers to the remaining files</title>
<updated>2017-11-24T14:37:19Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-11-24T14:00:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b73214f8a4d7790efd68b9cc183d26e472ccefd'/>
<id>urn:sha1:0b73214f8a4d7790efd68b9cc183d26e472ccefd</id>
<content type='text'>
It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.

Update the remaining arch/s390/ files with the correct SPDX license
identifier based on the license text in the file itself.  The SPDX
identifier is a legally binding shorthand, which can be used instead of
the full boiler plate text.

This work is based on a script and data from Thomas Gleixner, Philippe
Ombredanne, and Kate Stewart.

Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Cc: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Cc: Cornelia Huck &lt;cohuck@redhat.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;
Cc: Philippe Ombredanne &lt;pombredanne@nexb.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/syscalls: Fix out of bounds arguments access</title>
<updated>2017-07-05T05:35:30Z</updated>
<author>
<name>Jiri Olsa</name>
</author>
<published>2017-06-29T09:38:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c46fc0424ced3fb71208e72bd597d91b9169a781'/>
<id>urn:sha1:c46fc0424ced3fb71208e72bd597d91b9169a781</id>
<content type='text'>
Zorro reported following crash while having enabled
syscall tracing (CONFIG_FTRACE_SYSCALLS):

  Unable to handle kernel pointer dereference at virtual ...
  Oops: 0011 [#1] SMP DEBUG_PAGEALLOC

  SNIP

  Call Trace:
  ([&lt;000000000024d79c&gt;] ftrace_syscall_enter+0xec/0x1d8)
   [&lt;00000000001099c6&gt;] do_syscall_trace_enter+0x236/0x2f8
   [&lt;0000000000730f1c&gt;] sysc_tracesys+0x1a/0x32
   [&lt;000003fffcf946a2&gt;] 0x3fffcf946a2
  INFO: lockdep is turned off.
  Last Breaking-Event-Address:
   [&lt;000000000022dd44&gt;] rb_event_data+0x34/0x40
  ---[ end trace 8c795f86b1b3f7b9 ]---

The crash happens in syscall_get_arguments function for
syscalls with zero arguments, that will try to access
first argument (args[0]) in event entry, but it's not
allocated.

Bail out of there are no arguments.

Cc: stable@vger.kernel.org
Reported-by: Zorro Lang &lt;zlang@redhat.com&gt;
Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/syscalls: simplify syscall_get_arch()</title>
<updated>2015-03-30T11:26:07Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2015-03-30T09:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a327ffd3d6a79ed85d53b683c185196060ac3b3'/>
<id>urn:sha1:1a327ffd3d6a79ed85d53b683c185196060ac3b3</id>
<content type='text'>
Given that sizeof(long) is now always 8, we can simplify syscall_get_arch()
a bit.
Just another piece I didn't find when removing 31 bit support.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/seccomp: fix error return for filtered system calls</title>
<updated>2014-07-28T08:02:31Z</updated>
<author>
<name>Jan Willeke</name>
</author>
<published>2014-07-22T14:50:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc295880c6752076f8b94ba3885d0bfff09e3e82'/>
<id>urn:sha1:dc295880c6752076f8b94ba3885d0bfff09e3e82</id>
<content type='text'>
The syscall_set_return_value function of s390 negates the error argument
before storing the value to the return register gpr2. This is incorrect,
the seccomp code already passes the negative error value.
Store the unmodified error value to gpr2.

Signed-off-by: Jan Willeke &lt;willeke@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390: split TIF bits into CIF, PIF and TIF bits</title>
<updated>2014-05-20T06:58:47Z</updated>
<author>
<name>Martin Schwidefsky</name>
</author>
<published>2014-04-15T10:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3a73acbc26a4a81a01a35fd162973e53d0386f5'/>
<id>urn:sha1:d3a73acbc26a4a81a01a35fd162973e53d0386f5</id>
<content type='text'>
The oi and ni instructions used in entry[64].S to set and clear bits
in the thread-flags are not guaranteed to be atomic in regard to other
CPUs. Split the TIF bits into CPU, pt_regs and thread-info specific
bits. Updates on the TIF bits are done with atomic instructions,
updates on CPU and pt_regs bits are done with non-atomic instructions.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>audit: use uapi/linux/audit.h for AUDIT_ARCH declarations</title>
<updated>2014-03-20T14:11:59Z</updated>
<author>
<name>Eric Paris</name>
</author>
<published>2014-03-11T16:55:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=579ec9e1ab0bdca2dbc3c942aa1a530a6ec8c349'/>
<id>urn:sha1:579ec9e1ab0bdca2dbc3c942aa1a530a6ec8c349</id>
<content type='text'>
The syscall.h headers were including linux/audit.h but really only
needed the uapi/linux/audit.h to get the requisite defines.  Switch to
the uapi headers.

Signed-off-by: Eric Paris &lt;eparis@redhat.com&gt;
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mips@linux-mips.org
Cc: linux-s390@vger.kernel.org
Cc: x86@kernel.org
</content>
</entry>
<entry>
<title>syscall_get_arch: remove useless function arguments</title>
<updated>2014-03-20T14:11:59Z</updated>
<author>
<name>Eric Paris</name>
</author>
<published>2014-03-11T16:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e937a9ae9137899c6641d718bd3820861099a09'/>
<id>urn:sha1:5e937a9ae9137899c6641d718bd3820861099a09</id>
<content type='text'>
Every caller of syscall_get_arch() uses current for the task and no
implementors of the function need args.  So just get rid of both of
those things.  Admittedly, since these are inline functions we aren't
wasting stack space, but it just makes the prototypes better.

Signed-off-by: Eric Paris &lt;eparis@redhat.com&gt;
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mips@linux-mips.org
Cc: linux390@de.ibm.com
Cc: x86@kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: linux-arch@vger.kernel.org
</content>
</entry>
<entry>
<title>s390: system call path micro optimization</title>
<updated>2013-04-26T07:07:05Z</updated>
<author>
<name>Martin Schwidefsky</name>
</author>
<published>2013-04-24T10:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=616498813b11ffefe1ed36b9f2e4fd2cdbd22f15'/>
<id>urn:sha1:616498813b11ffefe1ed36b9f2e4fd2cdbd22f15</id>
<content type='text'>
Add a pointer to the system call table to the thread_info structure.
The TIF_31BIT bit is set or cleared by SET_PERSONALITY exactly once
for the lifetime of a process. With the pointer to the correct system
call table in thread_info the system call code in entry64.S path can
drop the check for TIF_31BIT which saves a couple of instructions.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/seccomp: add support for system call filtering using BPF</title>
<updated>2012-08-08T14:32:56Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2012-07-31T13:37:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c63cb468f373f479ff52b4a1b75f8ecdeaaf4f16'/>
<id>urn:sha1:c63cb468f373f479ff52b4a1b75f8ecdeaaf4f16</id>
<content type='text'>
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
</feed>
