JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... to emulate cpuid results that differ from what the underlying hardware would have produced (e.g., in a paravirtualization setting). The ARCH_SET_CPUID setting is preserved across fork (2) and clone (2) but reset to the default (i.e., cpuid enabled) on ... execve (2). ARCH_GET_CPUID (Linux 4.12 以降) Return the setting of the flag manipulated by ARCH_SET_CPUID as the result of the system call (1 for enabled, 0 for disabled). addr is ignore ... ... シェルセッションは、このプログラムの実行例である。 $ ./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.out $ ps H -C a.out -o 'pid tid cmd comm' PID TID CMD COMMAND ... me, (argc > 2) ? atoi(argv[1]) : NAMELEN); if (rc != 0) errExitEN(rc, "pthread_getname_np"); printf("The thread name after setting it is %s.\n", thread_name); rc = pthread_join(thread, NULL); if (rc != 0) errExitEN(rc, "pthread_join"); printf("Done\n"); ... ... シェルセッションは、このプログラムの実行例である。 $ ./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.out $ ps H -C a.out -o 'pid tid cmd comm' PID TID CMD COMMAND ... me, (argc > 2) ? atoi(argv[1]) : NAMELEN); if (rc != 0) errExitEN(rc, "pthread_getname_np"); printf("The thread name after setting it is %s.\n", thread_name); rc = pthread_join(thread, NULL); if (rc != 0) errExitEN(rc, "pthread_join"); printf("Done\n"); ... ... of setregid ()) and a change other than (i) swapping the effective user (group) ID with the real user (group) ID, or (ii) setting one to the value of the other or (iii) setting the effective user (group) ID to the value of the saved set-user-ID (saved ... ... of setregid ()) and a change other than (i) swapping the effective user (group) ID with the real user (group) ID, or (ii) setting one to the value of the other or (iii) setting the effective user (group) ID to the value of the saved set-user-ID (saved ... ... of setregid ()) and a change other than (i) swapping the effective user (group) ID with the real user (group) ID, or (ii) setting one to the value of the other or (iii) setting the effective user (group) ID to the value of the saved set-user-ID (saved ... ... of setregid ()) and a change other than (i) swapping the effective user (group) ID with the real user (group) ID, or (ii) setting one to the value of the other or (iii) setting the effective user (group) ID to the value of the saved set-user-ID (saved ... ... ion; if the operation would block, the call fails with the error EAGAIN or EWOULDBLOCK . This provides similar behavior to setting the O_NONBLOCK flag (via the fcntl (2) F_SETFL operation), but differs in that MSG_DONTWAIT is a per-call option, whereas ... O_NONBLOCK is a setting on the open file description (see open (2)), which will affect all threads in the calling process and as well as other pro ... ... ion; if the operation would block, the call fails with the error EAGAIN or EWOULDBLOCK . This provides similar behavior to setting the O_NONBLOCK flag (via the fcntl (2) F_SETFL operation), but differs in that MSG_DONTWAIT is a per-call option, whereas ... O_NONBLOCK is a setting on the open file description (see open (2)), which will affect all threads in the calling process and as well as other pro ... ... ion; if the operation would block, the call fails with the error EAGAIN or EWOULDBLOCK . This provides similar behavior to setting the O_NONBLOCK flag (via the fcntl (2) F_SETFL operation), but differs in that MSG_DONTWAIT is a per-call option, whereas ... O_NONBLOCK is a setting on the open file description (see open (2)), which will affect all threads in the calling process and as well as other pro ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。