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

Function kill_group

kernel/src/process/kill.rs:54–64  ·  view source on GitHub ↗

Sends a signal to all processes in a group, 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 the target group. If `signal` is `None`, this method will only check permission without sending any signal.

(pgid: Pgid, signal: Option<UserSignal>, ctx: &Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

do_sys_killFunction · 0.85

Calls 4

get_process_groupFunction · 0.85
kill_processFunction · 0.85
lockMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected