JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... 13 a performance optimization of memcpy () on some platforms (including x86-64) included changing the order in which bytes were copied from src to dest . This change revealed breakages in a number of applications that performed copying with overlappi ... ng areas. Under the previous implementation, the order in which the bytes were copied had fortuitously hidden the bug, which was revealed when the copying order was reversed. In glibc 2.14, a versioned ... ... l probably crash the system, and is not recommended. Prior to Linux 3.7, on some architectures (such as i386), permissions were inherited by the child produced by fork (2) and were preserved across execve (2). This behavior was inadvertently changed ... ... () returned 123 Further characters after number: "abc" $ ./a.out 123abc 55 strtol: Invalid argument $ ./a.out '' No digits were found $ ./a.out 4000000000 strtol: Numerical result out of range プログラムのソース #include < stdlib.h > #include < limit ... ssible errors */ if (errno != 0) { perror("strtol"); exit(EXIT_FAILURE); } if (endptr == str) { fprintf(stderr, "No digits were found\n"); exit(EXIT_FAILURE); } /* If we got here, strtol() successfully parsed a number */ printf("strtol() returned %ld ... ... () returned 123 Further characters after number: "abc" $ ./a.out 123abc 55 strtol: Invalid argument $ ./a.out '' No digits were found $ ./a.out 4000000000 strtol: Numerical result out of range プログラムのソース #include < stdlib.h > #include < limit ... ssible errors */ if (errno != 0) { perror("strtol"); exit(EXIT_FAILURE); } if (endptr == str) { fprintf(stderr, "No digits were found\n"); exit(EXIT_FAILURE); } /* If we got here, strtol() successfully parsed a number */ printf("strtol() returned %ld ... ... () returned 123 Further characters after number: "abc" $ ./a.out 123abc 55 strtol: Invalid argument $ ./a.out '' No digits were found $ ./a.out 4000000000 strtol: Numerical result out of range プログラムのソース #include < stdlib.h > #include < limit ... ssible errors */ if (errno != 0) { perror("strtol"); exit(EXIT_FAILURE); } if (endptr == str) { fprintf(stderr, "No digits were found\n"); exit(EXIT_FAILURE); } /* If we got here, strtol() successfully parsed a number */ printf("strtol() returned %ld ... ... ould lead to the defeat of address-space-layout randomization for a process owned by the same UID as the caller, the rules were changed starting with Linux 4.13. Since Linux 4.13, permission is governed by a ptrace access mode PTRACE_MODE_READ_REALCR ... ve value is returned, it is the number of nonmigrated pages. エラー Positive value The number of nonmigrated pages if they were the result of nonfatal reasons (since Linux 4.17). E2BIG Too many pages to move. Since Linux 2.6.29, the kernel no longer ... ... 注意 /proc/ioports ファイルには、現在このシステムに割り当てられている 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 () のプロトタイプ ... ... n on this point. However, as a result of a regression introduced in glibc 2.4, the contents of the buffer pointed to by sb were undefined when FTW_SLN is passed in typeflag . (More precisely, the contents of the buffer were left unchanged in this cas ... ... n on this point. However, as a result of a regression introduced in glibc 2.4, the contents of the buffer pointed to by sb were undefined when FTW_SLN is passed in typeflag . (More precisely, the contents of the buffer were left unchanged in this cas ... ... ocked mapping in the middle.) For mlock2 (): EINVAL 未知の flags が指定された。 mlockall () 用として: EINVAL Unknown flags were specified or MCL_ONFAULT was specified without either MCL_FUTURE or MCL_CURRENT . munlockall () 用として: EPERM (Linux 2.6 ... the region specified by addr and len overlapped an existing lock, then the already locked bytes in the overlapping region were counted twice when checking against the limit. Such double accounting could incorrectly calculate a "total locked memory" ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。