#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:53+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man2/fanotify_mark.2:24 #, no-wrap msgid "FANOTIFY_MARK" msgstr "" #. type: TH #: man-pages/man2/fanotify_mark.2:24 #, no-wrap msgid "2014-04-24" msgstr "" #. type: TH #: man-pages/man2/fanotify_mark.2:24 #, no-wrap msgid "Linux" msgstr "" #. type: TH #: man-pages/man2/fanotify_mark.2:24 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:25 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:28 msgid "" "fanotify_mark - add, remove, or modify an fanotify mark on a filesystem " "object" msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:28 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:31 #, no-wrap msgid "B<#include Esys/fanotify.hE>\n" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:35 #, no-wrap msgid "" "BIB<, unsigned int >IB<,>\n" "B< uint64_t >IB<, int >IB<, const char " "*>IB<);>\n" msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:36 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:39 msgid "For an overview of the fanotify API, see B(7)." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:44 msgid "" "B(2) adds, removes, or modifies an fanotify mark on a " "filesystem object. The caller must have read permission on the filesystem " "object that is to be marked." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:49 msgid "" "The I argument is a file descriptor returned by " "B(2)." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:53 msgid "" "I is a bit mask describing the modification to perform. It must " "include exactly one of the following values:" msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:53 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:62 msgid "" "The events in I will be added to the mark mask (or to the ignore mask)." " I must be nonempty or the error B will occur." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:62 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:71 msgid "" "The events in argument I will be removed from the mark mask (or from " "the ignore mask). I must be nonempty or the error B will " "occur." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:71 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:86 msgid "" "Remove either all mount or all non-mount marks from the fanotify group. If " "I contains B, all marks for mounts are removed from " "the group. Otherwise, all marks for directories and files are removed. No " "flag other than B can be used in conjunction with " "B. I is ignored." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:90 msgid "" "If none of the values above is specified, or more than one is specified, the " "call fails with the error B." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:94 msgid "" "In addition, zero or more of the following values may be ORed into I:" msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:94 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:105 msgid "" "If I is a symbolic link, mark the link itself, rather than the " "file to which it refers. (By default, B() dereferences " "I if it is a symbolic link.)" msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:105 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:110 msgid "" "If the filesystem object to be marked is not a directory, the error " "B shall be raised." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:110 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:121 msgid "" "Mark the mount point specified by I. If I is not itself " "a mount point, the mount point containing I will be marked. All " "directories, subdirectories, and the contained files of the mount point will " "be monitored." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:121 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:126 msgid "" "The events in I shall be added to or removed from the ignore mask." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:126 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:132 msgid "" "The ignore mask shall survive modify events. If this flag is not set, the " "ignore mask is cleared when a modify event occurs for the ignored file or " "directory." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:136 msgid "" "I defines which events shall be listened for (or which shall be " "ignored). It is a bit mask composed of the following values:" msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:136 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:139 msgid "" "Create an event when a file or directory (but see BUGS) is accessed (read)." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:139 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:142 msgid "Create an event when a file is modified (write)." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:142 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:145 msgid "Create an event when a writable file is closed." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:145 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:148 msgid "Create an event when a read-only file or directory is closed." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:148 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:151 msgid "Create an event when a file or directory is opened." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:151 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:159 msgid "" "Create an event when a permission to open a file or directory is requested. " "An fanotify file descriptor created with B or " "B is required." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:159 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:167 msgid "" "Create an event when a permission to read a file or directory is requested. " "An fanotify file descriptor created with B or " "B is required." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:167 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:176 msgid "" "Create events for directories\\(emfor example, when B(2), " "B(2) (but see BUGS), and B(2) are called. Without this " "flag, only events for files are created." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:176 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:184 msgid "" "Events for the immediate children of marked directories shall be created. " "The flag has no effect when marking mounts. Note that events are not " "generated for children of the subdirectories of marked directories. To " "monitor complete directory trees it is necessary to mark the relevant mount." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:186 msgid "The following composed value is defined:" msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:186 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:190 msgid "A file is closed (B|B)." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:195 msgid "" "The filesystem object to be marked is determined by the file descriptor " "I and the pathname specified in I:" msgstr "" #. type: IP #: man-pages/man2/fanotify_mark.2:195 man-pages/man2/fanotify_mark.2:201 man-pages/man2/fanotify_mark.2:209 man-pages/man2/fanotify_mark.2:215 man-pages/man2/fanotify_mark.2:226 man-pages/man2/fanotify_mark.2:308 man-pages/man2/fanotify_mark.2:318 man-pages/man2/fanotify_mark.2:324 #, no-wrap msgid "*" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:201 msgid "" "If I is NULL, I defines the filesystem object to be marked." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:209 msgid "" "If I is NULL, and I takes the special value B, " "the current working directory is to be marked." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:215 msgid "" "If I is absolute, it defines the filesystem object to be marked, " "and I is ignored." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:226 msgid "" "If I is relative, and I does not have the value " "B, then the filesystem object to be marked is determined by " "interpreting I relative the directory referred to by I." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:236 msgid "" "If I is relative, and I has the value B then the " "filesystem object to be marked is determined by interpreting I " "relative the current working directory." msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:236 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:243 msgid "" "On success, B() returns 0. On error, -1 is returned, and " "I is set to indicate the error." msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:243 #, no-wrap msgid "ERRORS" msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:244 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:248 msgid "An invalid file descriptor was passed in I." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:248 man-pages/man2/fanotify_mark.2:257 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:257 msgid "" "An invalid value was passed in I or I, or I was " "not an fanotify file descriptor." msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:265 msgid "" "The fanotify file descriptor was opened with B and mask " "contains a flag for permission events (B or " "B)." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:265 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:274 msgid "" "The filesystem object indicated by I and I does not exist. " "This error also occurs when trying to remove a mark from an object which is " "not marked." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:274 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:277 msgid "The necessary memory could not be allocated." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:277 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:283 msgid "" "The number of marks exceeds the limit of 8192 and the B " "flag was not specified when the fanotify file descriptor was created with " "B(2)." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:283 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:289 msgid "" "This kernel does not implement B(). The fanotify API is " "available only if the kernel was configured with B." msgstr "" #. type: TP #: man-pages/man2/fanotify_mark.2:289 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:299 msgid "" "I contains B, and I and I do not " "specify a directory." msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:299 #, no-wrap msgid "VERSIONS" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:303 msgid "" "B() was introduced in version 2.6.36 of the Linux kernel and " "enabled in version 2.6.37." msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:303 #, no-wrap msgid "CONFORMING TO" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:305 msgid "This system call is Linux-specific." msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:305 #, no-wrap msgid "BUGS" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:308 msgid "As of Linux 3.15, the following bugs exist:" msgstr "" #. FIXME: Patch is in next-20140424. #. type: Plain text #: man-pages/man2/fanotify_mark.2:318 msgid "" "If I contains B, I and I must " "specify a valid filesystem object, even though this object is not used." msgstr "" #. FIXME: Patch is in next-20140424. #. type: Plain text #: man-pages/man2/fanotify_mark.2:324 msgid "B(2) does not generate a B event." msgstr "" #. FIXME: Patch proposed. #. type: Plain text #: man-pages/man2/fanotify_mark.2:332 msgid "" "If B(2) is called with B, I is not " "checked for invalid values." msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:332 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:335 msgid "B(2), B(7)" msgstr "" #. type: SH #: man-pages/man2/fanotify_mark.2:335 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man2/fanotify_mark.2:343 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""