JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... irus scanning and hierarchical storage management. In the original fanotify API, only a limited set of events was supported. In particular, there was no support for create, delete, and move events. ... ケーションによるアクセスの前にファイルを読み出したり変更したりする機能がある。 この API では以下のシステムコールを使用する: fanotify_init (2), fanotify_mark (2), read (2), write (2), close (2)。 fanotify_init(), fanotify_mark() と通知グループ fanotify_ini ... t (2) システムコールは fanotify 通知グループを作成、初期化し、 この通知グループを参照するファイルディスクリプターを返す。 fanotify 通知グループはカーネル内 ... ... ify_fd , unsigned int flags , uint64_t mask , int dirfd , const char * pathname ); 説明 fanotify API の概要については fanotify (7) を参照。 fanotify_mark () はファイルシステムオブジェクトに対する fanotify マークの追加、 ... 削除、変更を行う。 呼び出し元はマークを付けるファイルシステムオブジェクトに対する読み出し許可を持っていなければならない。 fanotify_fd 引数は fanotify_init (2) で返されたファイルディスクリプターである。 flags は実行する操作内容を示すビットマスクである。 ... _MARK_FLUSH Remove either all marks for filesystems, all marks for mounts, or all marks for directories and files from the fanotify group. If flags contains FAN_MARK_MOUNT , all marks for mounts are removed from the group. If flags contains FAN_MARK_FILE ... ... s , unsigned int event_f_flags ); 説明 fanotify API の概要については fanotify (7) を参照。 fanotify_init () は新しい fanotify グループを初期化し、 このグループに関連付けら ... れたイベントキューに対するファイルディスクリプターを返す。 このファイルディスクリプターは、 fanotify_mark (2) の呼び出しで fanotify イベントが作成されるファイル、 ディレクトリ、 マウント、ファイルシステムを指定するのに使用で ... きる。 fanotify_mark (2) で指定したファイル、 これらのイベントは、 このファイルディスクリプターからの読み出しで受信する。 いくつかのイベン ... ... 1.0 exit_group (2) 2.6 faccessat (2) 2.6.16 faccessat2 (2) 5.8 fadvise64 (2) 2.6 fadvise64_64 (2) 2.6 fallocate (2) 2.6.23 fanotify_init (2) 2.6.37 fanotify_mark (2) 2.6.37 fchdir (2) 1.0 fchmod (2) 1.0 fchmodat (2) 2.6.16 fchown (2) 1.0 fchown32 (2) 2.4 ... ... ther system calls and library functions that take a directory file descriptor argument (i.e., execveat (2), faccessat (2), fanotify_mark (2), fchmodat (2), fchownat (2), fspick (2), fstatat (2), futimesat (2), linkat (2), mkdirat (2), move_mount (2), mkn ... ... ther system calls and library functions that take a directory file descriptor argument (i.e., execveat (2), faccessat (2), fanotify_mark (2), fchmodat (2), fchownat (2), fspick (2), fstatat (2), futimesat (2), linkat (2), mkdirat (2), move_mount (2), mkn ... ... ther system calls and library functions that take a directory file descriptor argument (i.e., execveat (2), faccessat (2), fanotify_mark (2), fchmodat (2), fchownat (2), fspick (2), fstatat (2), futimesat (2), linkat (2), mkdirat (2), move_mount (2), mkn ... ... * 特権が必要な perf イベントの情報にアクセスする。 * setns (2) を呼び出す ( target 名前空間での CAP_SYS_ADMIN が必要)。 * fanotify_init (2) を呼び出す。 * keyctl (2) の KEYCTL_CHOWN と KEYCTL_SETPERM 操作を実行する。 * madvise (2) の MADV_HWPOISON 操作を ... ... ), inotifywatch (1), inotify_add_watch (2), inotify_init (2), inotify_init1 (2), inotify_rm_watch (2), read (2), stat (2), fanotify (7) Linux カーネルソース内の Documentation/filesystems/inotify.txt この文書について この man ページは Linux man-pages プロ ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。