HomeFreeBSD

MFC r328266:

Description

MFC r328266:

mlock(2): correct documentation for error conditions.

The man page is years out of date regarding errors. Our implementation _does_
allow unaligned addresses, and it _does_not_ check for negative lengths,
because the length is unsigned. It checks for overflow instead.

Update the tests accordingly.

Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D13826

Details

Provenance
asomersAuthored on
Reviewer
bcr
Differential Revision
D13826: mlock(2): correct documentation for error conditions.
Parents
rS337243: MFC r336319:
Branches
Unknown
Tags
Unknown