ps(1)とかって /proc/<pid>/cmdlineファイルの内容でカーネルスレッドか判定してたんだ。

masami256masami256 のブックマーク 2018/05/17 13:59

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

LKML: Tejun Heo: [PATCH] proc: Don't allow empty /proc/PID/cmdline for user tasks

    [PATCH] proc: Don't allow empty /proc/PID/cmdline for user tasks Kernel threads have empty /proc/PID/cmdline and some userland tools including ps(1) and older versions of systemd use this to detect...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう