Marius Strobl 6d3c367d9c Fix a bug in r272840; given that the optlen parameter of setsockopt(2)
is a 32-bit socklen_t, do_get3() passes the kernel to access the wrong
32-bit half on big-endian LP64 machines when simply casting the 64-bit
size_t optlen to a socklen_t pointer.
While at it and given that the intention of do_get3() apparently is to
hide/wrap the fact that socket options are used for communication with
ipfw(4), change the optlen parameter of do_set3() to be of type size_t
and as such more appropriate than uintptr_t, too.

MFC after:	3 days
2016-12-28 23:34:28 +00:00
..
2016-10-05 19:49:48 +00:00
2016-10-05 20:01:09 +00:00
2016-12-13 18:15:11 +00:00
2016-12-01 04:35:38 +00:00
2016-10-05 20:08:07 +00:00
2016-10-02 23:26:41 +00:00
2016-10-02 23:30:28 +00:00
2016-05-02 01:40:31 +00:00
2016-10-05 20:31:44 +00:00
2016-10-02 23:48:33 +00:00
MFH
2016-03-02 16:14:46 +00:00
2016-04-19 04:52:13 +00:00
2016-04-19 04:52:51 +00:00
MFH
2016-04-04 23:55:32 +00:00
2016-11-13 00:11:30 +00:00
2016-10-02 23:56:08 +00:00
2016-10-05 20:42:35 +00:00
2016-10-05 20:45:21 +00:00
2016-12-28 16:16:48 +00:00
2016-10-03 00:40:20 +00:00
2016-10-03 00:42:25 +00:00
2015-06-13 19:20:56 +00:00
2016-04-20 01:35:09 +00:00
2016-12-22 00:35:12 +00:00