mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 22:58:26 +00:00
hw: sanitize kernel's signal datastructures
* Move all Kernel::Signal_* structures to kernel/signal.* * Remove return value of kill_signal_context, which wasn't evaluated * Remove Kernel::Signal_context::can_kill * Remove Kernel::Signal_context::can_submit * Remove Kernel::Signal_receiver::can_add_handler * Turn nullptr into cxx nullptr instead of just zero * Turn boolean values into true/false instead of one/zero * Always add to signal FIFO also if submit counter cannot get increased enough Fix genodelabs/genode#5416
This commit is contained in:
committed by
Christian Helmuth
parent
2728853005
commit
0d648eae62
@ -382,13 +382,10 @@ namespace Kernel {
|
||||
* Halt processing of a signal context synchronously
|
||||
*
|
||||
* \param context capability ID of the targeted signal context
|
||||
*
|
||||
* \retval 0 suceeded
|
||||
* \retval -1 failed
|
||||
*/
|
||||
inline int kill_signal_context(capid_t const context)
|
||||
inline void kill_signal_context(capid_t const context)
|
||||
{
|
||||
return (int)call(call_id_kill_signal_context(), context);
|
||||
call(call_id_kill_signal_context(), context);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user