Kernel: Ignore SA_RESTART flag on sigaction
This is a big hack but a lot of ports set this flag. This seems really annoying to implement properly
This commit is contained in:
parent
c6cd185cb5
commit
2a16a67aed
|
@ -2013,8 +2013,13 @@ namespace Kernel
|
|||
|
||||
if (act)
|
||||
{
|
||||
if (act->sa_flags)
|
||||
if (act->sa_flags == SA_RESTART)
|
||||
dwarnln("FIXME: sigaction ignoring SA_RESTART", signal, act->sa_flags);
|
||||
else if (act->sa_flags)
|
||||
{
|
||||
dwarnln("TODO: sigaction({}, {H})", signal, act->sa_flags);
|
||||
return BAN::Error::from_errno(ENOTSUP);
|
||||
}
|
||||
m_signal_handlers[signal] = *act;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue