cahirwpz/mimiker

Potential race condition in do_kill() function

Closed this issue · 1 comments

do_kill: https://github.com/cahirwpz/mimiker/blob/master/sys/signal.c#L45
Should not we execute the whole function with locked all_proc_mtx? Between proc_find a sig_kill somebody could invalidate the target.

Fixed in #546