summaryrefslogtreecommitdiff
path: root/tools/regression/sockets/unix_passfd
Commit message (Collapse)AuthorAgeFilesLines
* Integrate tools/regression/sockets/unix_passfd into the FreeBSD testEnji Cooper2015-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 Notes: svn path=/head/; revision=292914
* - Explicitly initialize ch to 0Enji Cooper2015-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 Notes: svn path=/head/; revision=292814
* Fix warnings, fix a typo in a testcase description, bump WARNS to 3Enji Cooper2015-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 Notes: svn path=/head/; revision=281354
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-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. Notes: svn path=/head/; revision=264400
* Add test case for kern/181741. Right now test fails.Gleb Smirnoff2014-02-061-25/+79
| | | | | | | | PR: 181741 Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=261550
* - Add a test for PR 151758.John Baldwin2011-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) Notes: svn path=/head/; revision=228371
* o style.Makefile(5): WARNS= -> WARNS?=.Maxim Konovalov2006-07-091-1/+1
| | | | Notes: svn path=/head/; revision=160202
* Add unix_passfd, a simple set of regression tests for UNIX domain socketRobert Watson2005-11-092-0/+314
file descriptor passing. These tests are not all currently passed. Notes: svn path=/head/; revision=152251