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.
から完全なプロセス名を取得したいstruct task_struct。このcommフィールドには 16 文字しか格納されませんが、プロセス名はそれより長くなる場合があります。完全なプロセス名を取得する方法はありますか? これは から取得struct vm_area_structしtask_struct、さらに vm_area がマップされているファイルを取得することで実行できますが、これは信頼できません。
struct task_struct
comm
struct vm_area_struct
task_struct