summaryrefslogtreecommitdiffstats
path: root/tools/regression/sockets/unix_passfd/unix_passfd.c
Commit message (Collapse)AuthorAgeFilesLines
* - Explicitly initialize ch to 0ngie2015-12-281-5/+6
| | | | | | | | | | | | - Delete some spurious whitespace - Use calloc instead of malloc in the last test to ensure that sendspace is properly zero'ed out Differential Revision: https://reviews.freebsd.org/D689 (part of a larger diff) MFC after: 1 week Reviewed by: asomers, ngie Submitted by: markj Sponsored by: EMC / Isilon Storage Division
* Fix warnings, fix a typo in a testcase description, bump WARNS to 3ngie2015-04-101-4/+4
| | | | | | | | - Remove argc/argv (-Wunused) - Cast len in comparison to size_t (-Wsign-compare) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add test case for kern/181741. Right now test fails.glebius2014-02-061-25/+79
| | | | | PR: 181741 Sponsored by: Nginx, Inc.
* - Add a test for PR 151758.jhb2011-12-091-26/+54
| | | | | | | | | | | | | - While here, make this compile and work on non-i386: - Use CMSG_SPACE(), CMSG_LEN(), and CMSG_FIRSTHDR() instead of ignoring padding between 'struct cmsghdr' and control message payloads. - Don't initialize the control message before calling recvmsg(). Instead, check that we get a valid control message on return from recvmsg(). - Use errx() instead of err() for some errors that don't report failures that set errno. Requested by: kib (1)
* Add unix_passfd, a simple set of regression tests for UNIX domain socketrwatson2005-11-091-0/+307
file descriptor passing. These tests are not all currently passed.
OpenPOWER on IntegriCloud