JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... トを関連づけるための一意な整数である。 現在のところ、この値は rename イベントに対してのみ使われており、 結果のペアである IN_MOVED_FROM と IN_MOVED_TO イベントを アプリケーションで関連づけることができる。 他のイベント種別の場合には、 cookie は 0 に設定す ... ァイルが変更された ( write (2), truncate (2) など)。 IN_MOVE_SELF 監視対象のディレクトリまたはファイル自身が移動された。 IN_MOVED_FROM (+) ファイル名の変更を行った際に変更前のファイル名が含まれるディレクトリに対して生成される。 IN_MOVED_TO (+) ファイル ... クロは inotify_add_watch (2) を呼び出すときの mask 引数として使える。 以下の 2 つの便利なマクロが定義されている。 IN_MOVE IN_MOVED_FROM | IN_MOVED_TO と等価。 IN_CLOSE IN_CLOSE_WRITE | IN_CLOSE_NOWRITE と等価。 その他にも以下のビットを inotify_add_watch ... ... 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_FILESYSTEM , all marks for filesystems are removed from the group. Otherwise, a ... ll marks for directories and files are removed. No flag other than and at most one of the flags FAN_MARK_MOUNT or FAN_MARK_FILESYSTEM can be used in conjunction with FAN ... file or directory itself is deleted. An fanotify group that identifies filesystem objects by file handles is required. FAN_MOVED_FROM (Linux 5.1 以降) Create an event when a file or directory has been moved from a marked parent directory. An fanotify ... ... ct themselves prior to passing paths supplied by untrusted users to system calls such as open (2). However, if a folder is moved out of the chroot directory, an attacker can exploit that to get out of the chroot directory as well. The easiest way to d ... o that is to chdir (2) to the to-be-moved directory, wait for it to be moved out, then open a path like ../../../etc/passwd. A slightly trickier variation also work ... you want to prevent remote users from accessing files outside the chroot directory, you must ensure that folders are never moved out of it. このコールは現在の作業ディレクトリ (working directory) を変更しない。 そのため、このコールの後に ' . ' が ' / ' ... ... r to files and directories via their inode number and to mounts via their mount ID. If files or directories are renamed or moved within the same mount, the respective entries survive. If files or directories are deleted or moved to another mount or if ... TE A child file or directory was deleted in a watched parent. FAN_DELETE_SELF A watched file or directory was deleted. FAN_MOVED_FROM A file or directory has been moved from a watched parent directory. FAN_MOVED_TO A file or directory has been moved t ... 確認するために以下のビットマスクを使うことができる。 FAN_MOVE ファイルやディレクトリが移動された。 以下の同義語である。 FAN_MOVED_FROM | FAN_MOVED_TO The following bits may appear in mask only in conjunction with other event type bits: FAN_ONDIR The ev ... ... [ -hide glob ] [ -hide-list file ] [ -hide-joliet glob ] [ -hide-joliet-list file ] [ -hide-joliet-trans-tbl ] [ -hide-rr-moved ] [ -J ] [ -l ] [ -L ] [ -log-file log_file ] [ -M path | device ] [ -nobak ] [ -no-bak ] [ -no-split-symlink-components ] ... なさない。 なぜならこのファイルがリストする本当の名前と ISO9660 の名前はともに、 Joliet の名前とは違うからである。 -hide-rr-moved Rock Ridge ツリーではディレクトリ RR_MOVED を .rr_moved という名前に変更する。 Rock Ridge ツリーから RR_MOVED ディレクトリ ... のオプションは、このディレクトリが何なのかを知らない人々が、 目にするツリーを理解しやすくするようにするだけである。 もし RR_MOVED ディレクトリを全く必要としないのなら、 -D オプションを使うべきである。 -D オプションが指定された場合には、作成されるファイ ... ... [ -hide glob ] [ -hide-list file ] [ -hide-joliet glob ] [ -hide-joliet-list file ] [ -hide-joliet-trans-tbl ] [ -hide-rr-moved ] [ -J ] [ -l ] [ -L ] [ -log-file log_file ] [ -M path | device ] [ -nobak ] [ -no-bak ] [ -no-split-symlink-components ] ... なさない。 なぜならこのファイルがリストする本当の名前と ISO9660 の名前はともに、 Joliet の名前とは違うからである。 -hide-rr-moved Rock Ridge ツリーではディレクトリ RR_MOVED を .rr_moved という名前に変更する。 Rock Ridge ツリーから RR_MOVED ディレクトリ ... のオプションは、このディレクトリが何なのかを知らない人々が、 目にするツリーを理解しやすくするようにするだけである。 もし RR_MOVED ディレクトリを全く必要としないのなら、 -D オプションを使うべきである。 -D オプションが指定された場合には、作成されるファイ ... ... or any built-in type, or NULL if the request failed. The returned pointer may be the same as ptr if the allocation was not moved (e.g., there was room to expand the allocation in-place), or different from ptr if the allocation was moved to a new addre ... uitable to be passed to free () is returned. If realloc () fails, the original block is left untouched; it is not freed or moved. On success, the reallocarray () function returns a pointer to the newly allocated memory. On failure, it returns NULL and ... ... or any built-in type, or NULL if the request failed. The returned pointer may be the same as ptr if the allocation was not moved (e.g., there was room to expand the allocation in-place), or different from ptr if the allocation was moved to a new addre ... uitable to be passed to free () is returned. If realloc () fails, the original block is left untouched; it is not freed or moved. On success, the reallocarray () function returns a pointer to the newly allocated memory. On failure, it returns NULL and ... ... or any built-in type, or NULL if the request failed. The returned pointer may be the same as ptr if the allocation was not moved (e.g., there was room to expand the allocation in-place), or different from ptr if the allocation was moved to a new addre ... uitable to be passed to free () is returned. If realloc () fails, the original block is left untouched; it is not freed or moved. On success, the reallocarray () function returns a pointer to the newly allocated memory. On failure, it returns NULL and ... ... or any built-in type, or NULL if the request failed. The returned pointer may be the same as ptr if the allocation was not moved (e.g., there was room to expand the allocation in-place), or different from ptr if the allocation was moved to a new addre ... uitable to be passed to free () is returned. If realloc () fails, the original block is left untouched; it is not freed or moved. On success, the reallocarray () function returns a pointer to the newly allocated memory. On failure, it returns NULL and ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。