nix/test/sys
Toby DiPasquale aef3068c1d Fix recvmmsg(2) implementation
There were two problems discovered with the `recvmmsg(2)` implementation
that this changeset attempts to fix:

1. As mentioned in nix-rust/issues/1325, `recvmmsg(2)` can return fewer
   messages than requested, and
2. Passing the return value of `recvmmsg(2)` as the number of bytes in
   the messages received is incorrect.

This changeset incorporates the proposed fix from nix-rust/issues/1325,
as well as passing the correct value (`mmsghdr.msg_len`) for the number
of bytes in a given message.
2020-11-27 21:49:41 -05:00
..
mod.rs Adding an implementation and some basic tests for timerfd. 2020-07-07 14:29:11 +02:00
test_aio_drop.rs Convert the crate to edition 2018 2020-05-31 19:07:15 -06:00
test_aio.rs Convert the crate to edition 2018 2020-05-31 19:07:15 -06:00
test_epoll.rs Stop reexporting Errno and its variants 2017-12-04 20:29:40 +01:00
test_inotify.rs Added inotify bindings for Linux and Android. 2019-02-21 09:23:23 +01:00
test_ioctl.rs Remove a few more cases of mem::uninitialized in the tests 2020-04-19 14:05:22 -06:00
test_lio_listio_resubmit.rs Convert the crate to edition 2018 2020-05-31 19:07:15 -06:00
test_mman.rs Add wrapper for mremap 2020-10-13 10:17:38 -05:00
test_pthread.rs Remove more unsupported functions and make it possible to run tests 2020-05-17 21:05:45 -04:00
test_ptrace.rs Mark nix::unistd::fork as unsafe. 2020-09-20 01:51:46 +03:00
test_select.rs Convert the crate to edition 2018 2020-05-31 19:07:15 -06:00
test_signal.rs Convert the crate to edition 2018 2020-05-31 19:07:15 -06:00
test_signalfd.rs Convert the crate to edition 2018 2020-05-31 19:07:15 -06:00
test_socket.rs Fix recvmmsg(2) implementation 2020-11-27 21:49:41 -05:00
test_sockopt.rs Add support for TCP_KEEPCNT and TCP_KEEPINTVL TCP keepalive options. 2020-10-10 23:51:57 +03:00
test_sysinfo.rs Add a sysinfo wrapper 2018-07-04 21:42:12 +02:00
test_termios.rs use subordinate terminal device for termios calls 2020-08-11 16:01:19 -07:00
test_timerfd.rs Adding an implementation and some basic tests for timerfd. 2020-07-07 14:29:11 +02:00
test_uio.rs Mark nix::unistd::fork as unsafe. 2020-09-20 01:51:46 +03:00
test_wait.rs Mark nix::unistd::fork as unsafe. 2020-09-20 01:51:46 +03:00