Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Linuxカーネルでプロセスを強制終了する正しい方法は何ですか?見つけsys_killて呼び出す必要がありますか? (無愛想に見える)
sys_kill
PS私はtask_structターゲットプロセスのpidを持っています
task_struct
SIGKILL をターゲット プロセスに送信できます。それはそれを行う方法です。しかし、ユーザーランドのソリューションが存在する場合、カーネルからプロセスを強制終了することは決してありません