asomers 9c6971c4d4 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
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D13826
2018-01-22 21:45:54 +00:00
..
2017-10-31 00:07:04 +00:00
2017-12-27 21:36:37 +00:00
2018-01-10 02:57:22 +00:00
2017-10-31 00:07:04 +00:00
2018-01-22 18:40:19 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-12-31 00:55:00 +00:00
2018-01-22 02:44:41 +00:00