Bug#625747: manpages: mlock(2): provides error code if size_t is negative

2011-09-14 Thread Michael Kerrisk
tags 625747 fixed-usptream thanks Hello Brian, On Thu, May 5, 2011 at 6:22 PM, brian m. carlson wrote: > 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 an

Bug#625747: manpages: mlock(2): provides error code if size_t is negative

2011-05-05 Thread brian m. carlson
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. Thi