<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/csky/include/asm/syscall.h, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-04-17T06:39:52Z</updated>
<entry>
<title>csky: Fix syscall_get_arguments() and syscall_set_arguments()</title>
<updated>2019-04-17T06:39:52Z</updated>
<author>
<name>Dmitry V. Levin</name>
</author>
<published>2019-03-29T17:12:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5866b5fc2b8a8fbe59f720fe5f2124e8df977e91'/>
<id>urn:sha1:5866b5fc2b8a8fbe59f720fe5f2124e8df977e91</id>
<content type='text'>
commit ed3bb007021b9bddb90afae28a19f08ed8890add upstream.

C-SKY syscall arguments are located in orig_a0,a1,a2,a3,regs[0],regs[1]
fields of struct pt_regs.

Due to an off-by-one bug and a bug in pointer arithmetic
syscall_get_arguments() was reading orig_a0,regs[1..5] fields instead.
Likewise, syscall_set_arguments() was writing orig_a0,regs[1..5] fields
instead.

Link: http://lkml.kernel.org/r/20190329171230.GB32456@altlinux.org

Fixes: 4859bfca11c7d ("csky: System Call")
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Andy Lutomirski &lt;luto@amacapital.net&gt;
Cc: Will Drewry &lt;wad@chromium.org&gt;
Cc: stable@vger.kernel.org # v4.20+
Tested-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Acked-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>csky: define syscall_get_arch()</title>
<updated>2018-12-30T13:21:24Z</updated>
<author>
<name>Dmitry V. Levin</name>
</author>
<published>2018-12-13T17:22:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d770b25653447b4c57303859e2ac04ebe9318f8e'/>
<id>urn:sha1:d770b25653447b4c57303859e2ac04ebe9318f8e</id>
<content type='text'>
syscall_get_arch() is required to be implemented on all architectures
in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO
request.

Cc: Guo Ren &lt;guoren@kernel.org&gt;
Cc: Paul Moore &lt;paul@paul-moore.com&gt;
Cc: Eric Paris &lt;eparis@redhat.com&gt;
Cc: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: Andy Lutomirski &lt;luto@kernel.org&gt;
Cc: Elvira Khabirova &lt;lineprinter@altlinux.org&gt;
Cc: Eugene Syromyatnikov &lt;esyr@redhat.com&gt;
Cc: linux-audit@redhat.com
Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
Signed-off-by: Guo Ren &lt;guoren@kernel.org&gt;

 arch/csky/include/asm/syscall.h | 7 +++++++
 include/uapi/linux/audit.h      | 1 +
 2 files changed, 8 insertions(+)
</content>
</entry>
<entry>
<title>csky: System Call</title>
<updated>2018-10-25T15:36:19Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-09-05T06:25:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4859bfca11c7d63d55175bcd85a75d6cee4b7184'/>
<id>urn:sha1:4859bfca11c7d63d55175bcd85a75d6cee4b7184</id>
<content type='text'>
This patch adds files related to syscall.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
</feed>
