MCPcopy Create free account
hub / github.com/asterinas/vostd / kill

Function kill

kernel/src/process/kill.rs:22–44  ·  view source on GitHub ↗

Sends a signal to a process, using the current process as the sender. The credentials of the current process will be checked to determine if it is authorized to send the signal to this particular target process. If `signal` is `None`, this method will only check permission without sending any signal.

(pid: Pid, signal: Option<UserSignal>, ctx: &Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

test_sigpendingFunction · 0.85
mainFunction · 0.85
signal_test2.cFile · 0.85
mainFunction · 0.85
pidfd.cFile · 0.85
wait4.cFile · 0.85
group_session.cFile · 0.85
do_sys_killFunction · 0.85

Calls 7

newFunction · 0.85
kill_processFunction · 0.85
get_processFunction · 0.85
has_signal_blockedMethod · 0.80
pidMethod · 0.45
numMethod · 0.45
enqueue_signalMethod · 0.45

Tested by 1

test_sigpendingFunction · 0.68