Alan Somers 76f9d2759b 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-11-02 20:08:00 +00:00
2017-05-31 19:37:23 +00:00
2017-09-17 19:14:38 +00:00
2017-12-10 09:17:21 +00:00
2017-12-12 17:34:35 +00:00
2017-10-01 00:40:23 +00:00
2017-07-03 19:49:25 +00:00
2017-08-03 15:47:42 +00:00
2017-11-29 00:46:36 +00:00
2017-06-28 09:22:45 +00:00
2017-12-06 02:21:11 +00:00
2017-06-01 19:21:30 +00:00
2018-01-16 18:36:25 +00:00
2017-06-03 02:42:49 +00:00
2017-09-10 01:25:15 +00:00