"strace -e file"オプションと同じファイル機能の完全なリストは何ですか?

man straceoptionsに従って、-e fileファイル名を引数として使用するすべてのシステムコールを追跡します。フルセットとは何ですか?

          %file
          file   Trace all system calls which take a file name as an
                 argument.  You can think of this as an abbreviation
                 for -e trace=open,stat,chmod,unlink,...  which is
                 useful to seeing what files the process is
                 referencing.  Furthermore, using the abbreviation
                 will ensure that you don't accidentally forget to
                 include a call like lstat(2) in the list.  Betchya
                 woulda forgot that one.  The syntax without a
                 preceding percent sign ("-e trace=file") is
                 deprecated.

システムコールを一覧表示するテーブルを含むWebページがあります。ChromiumOS ドキュメント - Linux システムコールテーブル複数のアーキテクチャのシステムコールテーブルそして、次のようなソースコードstrace syscallsent.hファイルstracesyscallsent.h

syscallent.h上記にはなどのいくつかの明白な機能があり、パラメータ名にはread,write, open, close, stat, fstat「and」が含まれているようです。ファイル名を引数として取るすべての関数を含めますか、それ以外の関数はありますか?TDTF

ベストアンサー1

おすすめ記事