<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/arch/nios2/kernel/sys_nios2.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/arch/nios2/kernel/sys_nios2.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/arch/nios2/kernel/sys_nios2.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2021-02-19T07:01:59Z</updated>
<entry>
<title>Take mmap lock in cacheflush syscall</title>
<updated>2021-02-19T07:01:59Z</updated>
<author>
<name>Jann Horn</name>
<email>jannh@google.com</email>
</author>
<published>2021-02-19T06:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c26958cb5a0d9053d1358258827638773f3d36ed'/>
<id>urn:sha1:c26958cb5a0d9053d1358258827638773f3d36ed</id>
<content type='text'>
We need to take the mmap lock around find_vma() and subsequent use of the
VMA. Otherwise, we can race with concurrent operations like munmap(), which
can lead to use-after-free accesses to freed VMAs.

Fixes: 1000197d8013 ("nios2: System calls handling")
Signed-off-by: Jann Horn &lt;jannh@google.com&gt;
Signed-off-by: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;
</content>
</entry>
<entry>
<title>nios2: System calls handling</title>
<updated>2014-12-08T04:55:58Z</updated>
<author>
<name>Ley Foon Tan</name>
<email>lftan@altera.com</email>
</author>
<published>2014-11-06T07:19:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1000197d801329804d30094aef5dba0265204d17'/>
<id>urn:sha1:1000197d801329804d30094aef5dba0265204d17</id>
<content type='text'>
This patch adds support for system calls from userspaces. It uses the
asm-generic/unistd.h definitions with architecture spcific syscall.
The sys_call_table is just an array defined in a C file and it contains
pointers to the syscall functions.

Signed-off-by: Ley Foon Tan &lt;lftan@altera.com&gt;
</content>
</entry>
</feed>
