summaryrefslogtreecommitdiffstats
path: root/tools/regression/sockets/unix_passfd
Commit message (Collapse)AuthorAgeFilesLines
* Integrate tools/regression/sockets/unix_passfd into the FreeBSD testngie2015-12-302-397/+0
| | | | | | | | | | | | | | | suite as tests/sys/kern/unix_passfd_test - Convert testcases to ATF - Fix an alignment issues - Mark rights_creds_payload(..) as an expected failure (see PR # 181741) Based [in part] on the following Differential Revision: https://reviews.freebsd.org/D689 MFC after: 1 week Submitted by: markj Sponsored by: EMC / Isilon Storage Division
* - 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-102-5/+5
| | | | | | | | - Remove argc/argv (-Wunused) - Cast len in comparison to size_t (-Wsign-compare) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-131-1/+1
| | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* 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)
* o style.Makefile(5): WARNS= -> WARNS?=.maxim2006-07-091-1/+1
|
* Add unix_passfd, a simple set of regression tests for UNIX domain socketrwatson2005-11-092-0/+314
file descriptor passing. These tests are not all currently passed.
OpenPOWER on IntegriCloud