cap_from_textスタイル あるプロセスのケーパビリティがどうなっているのかはlibcapに含まれるgetpcapsを使って調べることができる。オプションで調べたいプロセスのプロセスIDを指定すると次のような出力が得られる。 # getpcaps 12345 Capabilities for `12345': =eip cap_chown,cap_sys_rawio-eip この出力はcap_from_text(3)のスタイルに従っている。cap_from_textスタイルの一般的な書式は次の通りだ。 [<capability>[,<capability>,...]]<action-list> ... ここでaction-listは次のような書式である。 <action>[<flags>][<action>[<flags>]...] 上の実行例ではactionにあたるのが=と-、f