JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... r additional details. FAN_ATTRIB ファイルかディレクトリのメタデータが変更された。 FAN_CREATE A child file or directory was created in a watched parent. FAN_DELETE A child file or directory was deleted in a watched parent. FAN_DELETE_SELF A watched file ... used to describe an additional information record attached to the event. For example, when an fanotify file descriptor is created using FAN_REPORT_FID , a single information record is expected to be attached to the event with info_type field value of F ... AN_EVENT_INFO_TYPE_FID . When an fanotify file descriptor is created using the combination of FAN_REPORT_FID and FAN_REPORT_DIR_FID , there may be two information records attached to the even ... ... ムコールが返すスレッド ID は POSIX スレッド ID ( pthread_self (3) が返す曖昧な値) と同じものではない。 In a new thread group created by a clone (2) call that does not specify the CLONE_THREAD flag (or, equivalently, a new process created by fork (2)), the ... ... (x86-32 システム上で実行)。 $ ulimit -s # No stack limit ==> default stack size is 2 MB unlimited $ ./a.out Attributes of created thread: Guard size = 4096 bytes Stack address = 0x40196000 (EOS = 0x40397000) Stack size = 0x201000 (2101248) bytes 次の実 ... butes object after initializations: Guard size = 4097 bytes Stack address = (nil) Stack size = 0x0 (0) bytes Attributes of created thread: Guard size = 8192 bytes Stack address = 0x40196000 (EOS = 0x40397000) Stack size = 0x201000 (2101248) bytes 最後の ... tions: Guard size = 4096 bytes Stack address = 0x804d000 (EOS = 0x8055000) Stack size = 0x8000 (32768) bytes Attributes of created thread: Guard size = 0 bytes Stack address = 0x804d000 (EOS = 0x8055000) Stack size = 0x8000 (32768) bytes プログラムのソー ... ... esystem objects by file handles is required. FAN_CREATE (Linux 5.1 以降) Create an event when a file or directory has been created in a marked parent directory. An fanotify group that identifies filesystem objects by file handles is required. FAN_DELETE ... (since Linux 5.0) Create an event when a permission to open a file for execution is requested. An fanotify file descriptor created with FAN_CLASS_PRE_CONTENT or FAN_CLASS_CONTENT is required. See NOTES for additional details. FAN_ACCESS_PERM ファイルやデ ... es---for example, when opendir (3), readdir (3) (but see BUGS), and closedir (3) are called. Without this flag, events are created only for files. In the context of directory entry events, such as FAN_CREATE , FAN_DELETE , FAN_MOVED_FROM , and FAN_MOVED ... ... 使わなければならなかった。Linux 2.6.8 以降では、65,536 個の I/O ポートを指定できる。 Permissions are inherited by the child created by fork (2) (but see NOTES). Permissions are preserved across execve (2); this is useful for giving port access permission ... 、現在このシステムに割り当てられている I/O ポートが表示される。 Before Linux 2.4, permissions were not inherited by a child created by fork (2). glibc2 には < sys/io.h > と < sys/perm.h > の両方に ioperm () のプロトタイプがある。 後者は i386 のみで利用可 ... ... rogram, which creates a System V shared memory segment and a System V semaphore set. The program prints out the IDs of the created objects, and then waits for the semaphore to change value. $ ./svshm_string_read shmid = 1114194; semid = 15 In another te ... " program. The "writer" program takes three command-line arguments: the IDs of the shared memory segment and semaphore set created by the "reader", and a string. It attaches the existing shared memory segment, copies the string to the shared memory, and ... program takes three command-line arguments: the IDs of the shared memory segment and semaphore set that have already been created by the "reader", and a string. It attaches the shared memory segment into its address space, and then decrements the semap ... ... rogram, which creates a System V shared memory segment and a System V semaphore set. The program prints out the IDs of the created objects, and then waits for the semaphore to change value. $ ./svshm_string_read shmid = 1114194; semid = 15 In another te ... " program. The "writer" program takes three command-line arguments: the IDs of the shared memory segment and semaphore set created by the "reader", and a string. It attaches the existing shared memory segment, copies the string to the shared memory, and ... program takes three command-line arguments: the IDs of the shared memory segment and semaphore set that have already been created by the "reader", and a string. It attaches the shared memory segment into its address space, and then decrements the semap ... ... rogram, which creates a System V shared memory segment and a System V semaphore set. The program prints out the IDs of the created objects, and then waits for the semaphore to change value. $ ./svshm_string_read shmid = 1114194; semid = 15 In another te ... " program. The "writer" program takes three command-line arguments: the IDs of the shared memory segment and semaphore set created by the "reader", and a string. It attaches the existing shared memory segment, copies the string to the shared memory, and ... program takes three command-line arguments: the IDs of the shared memory segment and semaphore set that have already been created by the "reader", and a string. It attaches the shared memory segment into its address space, and then decrements the semap ... ... e_np () と pthread_getname_np () の使用例を示している。 以下のシェルセッションは、このプログラムの実行例である。 $ ./a.out Created a thread. Default name is: a.out The thread name after setting it is THREADFOO. haZ # Suspend the program [1]+ Stopped ./a ... create"); rc = pthread_getname_np(thread, thread_name, NAMELEN); if (rc != 0) errExitEN(rc, "pthread_getname_np"); printf("Created a thread. Default name is: %s\n", thread_name); rc = pthread_setname_np(thread, (argc > 1) ? argv[1] : "THREADFOO"); if (r ... ... e_np () と pthread_getname_np () の使用例を示している。 以下のシェルセッションは、このプログラムの実行例である。 $ ./a.out Created a thread. Default name is: a.out The thread name after setting it is THREADFOO. haZ # Suspend the program [1]+ Stopped ./a ... create"); rc = pthread_getname_np(thread, thread_name, NAMELEN); if (rc != 0) errExitEN(rc, "pthread_getname_np"); printf("Created a thread. Default name is: %s\n", thread_name); rc = pthread_setname_np(thread, (argc > 1) ? argv[1] : "THREADFOO"); if (r ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。