<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/um/kernel/signal.c, branch linux-5.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-03-05T21:16:40Z</updated>
<entry>
<title>Revert "um: Fix get_signal() usage"</title>
<updated>2016-03-05T21:16:40Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2016-01-25T22:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=322740efbb7ca26df845161e61cc41484b7e328e'/>
<id>urn:sha1:322740efbb7ca26df845161e61cc41484b7e328e</id>
<content type='text'>
Commit db2f24dc240856fb1d78005307f1523b7b3c121b
was plain wrong. I did not realize the we are
allowed to loop here.
In fact we have to loop and must not return to userspace
before all SIGSEGVs have been delivered.
Other archs do this directly in their entry code, UML
does it here.

Reported-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: Fix get_signal() usage</title>
<updated>2015-12-08T21:23:30Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2015-11-18T08:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db2f24dc240856fb1d78005307f1523b7b3c121b'/>
<id>urn:sha1:db2f24dc240856fb1d78005307f1523b7b3c121b</id>
<content type='text'>
If get_signal() returns us a signal to post
we must not call it again, otherwise the already
posted signal will be overridden.
Before commit a610d6e672d this was the case as we stopped
the while after a successful handle_signal().

Cc: &lt;stable@vger.kernel.org&gt; # 3.10-
Fixes: a610d6e672d ("pull clearing RESTORE_SIGMASK into block_sigmask()")
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: Fix do_signal() prototype</title>
<updated>2015-07-07T08:58:54Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2015-07-03T19:44:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ccaee5f851470dec6894a6835b6fadffc2bb7514'/>
<id>urn:sha1:ccaee5f851470dec6894a6835b6fadffc2bb7514</id>
<content type='text'>
Once x86 exports its do_signal(), the prototypes will clash.

Fix the clash and also improve the code a bit: remove the
unnecessary kern_do_signal() indirection. This allows
interrupt_end() to share the 'regs' parameter calculation.

Also remove the unused return code to match x86.

Minimally build and boot tested.

Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Signed-off-by: Andy Lutomirski &lt;luto@kernel.org&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Andy Lutomirski &lt;luto@amacapital.net&gt;
Cc: Borislav Petkov &lt;bp@alien8.de&gt;
Cc: Brian Gerst &lt;brgerst@gmail.com&gt;
Cc: Denys Vlasenko &lt;dvlasenk@redhat.com&gt;
Cc: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: H. Peter Anvin &lt;hpa@zytor.com&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Richard Weinberger &lt;richard.weinberger@gmail.com&gt;
Cc: Rik van Riel &lt;riel@redhat.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/67c57eac09a589bac3c6c5ff22f9623ec55a184a.1435952415.git.luto@kernel.org
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>um: Use get_signal() signal_setup_done()</title>
<updated>2014-08-06T11:03:41Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2013-10-06T19:57:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=307627eebbb0bc41b21e74d78b932362a6c1b38d'/>
<id>urn:sha1:307627eebbb0bc41b21e74d78b932362a6c1b38d</id>
<content type='text'>
Use the more generic functions get_signal() signal_setup_done()
for signal delivery.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: siginfo cleanup</title>
<updated>2013-07-19T09:31:36Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2013-07-19T09:31:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a8c1359571c5d5e2fbc43cf457a6486b70a70cb'/>
<id>urn:sha1:9a8c1359571c5d5e2fbc43cf457a6486b70a70cb</id>
<content type='text'>
Currently we use both struct siginfo and siginfo_t.
Let's use struct siginfo internally to avoid ongoing
compiler warning. We are allowed to do so because
struct siginfo and siginfo_t are equivalent.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>x86,um: switch to generic old sigsuspend()</title>
<updated>2013-02-03T23:16:26Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-12-25T21:09:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15ce1f7154c80693cec4f8a5309e8c8a06fb2541'/>
<id>urn:sha1:15ce1f7154c80693cec4f8a5309e8c8a06fb2541</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>introduce generic sys_sigaltstack(), switch x86 and um to it</title>
<updated>2012-12-19T23:07:40Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-12-14T19:09:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6bf9adfc90370b695cb111116e15fdc0e1906270'/>
<id>urn:sha1:6bf9adfc90370b695cb111116e15fdc0e1906270</id>
<content type='text'>
Conditional on CONFIG_GENERIC_SIGALTSTACK; architectures that do not
select it are completely unaffected

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>um: get rid of pointless include "..." where include &lt;...&gt; will do</title>
<updated>2012-10-09T20:28:45Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-10-08T02:27:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37185b33240870719b6b5913a46e6a441f1ae96f'/>
<id>urn:sha1:37185b33240870719b6b5913a46e6a441f1ae96f</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: let signal_delivered() do SIGTRAP on singlestepping into handler</title>
<updated>2012-09-27T16:04:47Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-09-06T17:39:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9a38eace4498a5e9f6d2cdfc879d5444edc3a5f'/>
<id>urn:sha1:f9a38eace4498a5e9f6d2cdfc879d5444edc3a5f</id>
<content type='text'>
... rather than duplicating that in sigframe setup code (and doing that
inconsistently, at that)

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>new helper: signal_delivered()</title>
<updated>2012-06-01T16:58:52Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-04-28T06:04:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=efee984c27b67e3ebef40410f35671997441b57c'/>
<id>urn:sha1:efee984c27b67e3ebef40410f35671997441b57c</id>
<content type='text'>
Does block_sigmask() + tracehook_signal_handler();  called when
sigframe has been successfully built.  All architectures converted
to it; block_sigmask() itself is gone now (merged into this one).

I'm still not too happy with the signature, but that's a separate
story (IMO we need a structure that would contain signal number +
siginfo + k_sigaction, so that get_signal_to_deliver() would fill one,
signal_delivered(), handle_signal() and probably setup...frame() -
take one).

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
</feed>
