Package: manpages-dev Version: 3.27-1 Severity: normal File: /usr/share/man/man2/mlock.2.gz
The prototype for the mlock(2) function specifies the argument len as size_t. POSIX and C99 mandate that size_t be unsigned. However, one of the possible errors for mlock is EINVAL: len was negative. This is clearly an error. Since len must be unsigned, it cannot be negative. Because the prototype matches /usr/include/sys/mman.h, I presume that the error code is incorrect rather than the prototype. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39-rc5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages manpages-dev depends on: ii manpages 3.27-1 Manual pages about using a GNU/Lin manpages-dev recommends no packages. Versions of packages manpages-dev suggests: ii man-db [man-browser] 2.6.0.2-1 on-line manual pager -- no debconf information -- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: Digital signature

