Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test for EMSGSIZE return when sending more fds in a message then the receiver | 2018-11-28 | 4 | -22/+82 | |
| | | | | | | | | can handle and also test the case where the reciever is using read() instead of recvmsg() to test the unp_discard() codepath in the kernel. The latter test is just instrumenting the code but has no way to check if the discarding was successful. OK guenther@ bluhm@ | ||||
* | enable compiler warnings and fix them. | 2017-01-26 | 2 | -6/+8 | |
| | |||||
* | The kernel doesn't actually care what a sockaddr's sa_len is on input, | 2015-01-19 | 1 | -3/+1 | |
| | | | | so don't waste code setting it | ||||
* | Add a regression test for file descriptor passing with UNIX sockets. | 2011-07-06 | 2 | -10/+22 | |
| | | | | ok claudio@ | ||||
* | clean up all generated files | 2010-06-21 | 1 | -2/+2 | |
| | |||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -8/+1 | |
| | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | ||||
* | msg_controllen has to be CMSG_SPACE so that the kernel can account for | 2008-03-24 | 1 | -3/+3 | |
| | | | | | | | each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis | ||||
* | Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fds | 2008-03-15 | 2 | -10/+11 | |
| | | | | | | instead of just two as this decreases the propability that things just work although the sizes are wrong (ie. 8 aligns correctly on both 32 and 64 bit platforms even with wrong usage of CMSG_{LEN,SPACE} whereas 12 doesn't). | ||||
* | Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to | 2008-03-13 | 1 | -7/+13 | |
| | | | | an extensive discussion with otto, kettenis, millert, and hshoexer | ||||
* | Use CMSG_SPACE when allocating space for the control message. | 2004-08-30 | 1 | -23/+16 | |
| | | | | Fixes a bogus regression on sparc64. OK henning@ | ||||
* | Remove statement with no effect. | 2004-07-28 | 1 | -2/+1 | |
| | |||||
* | fd passing works over a socketpair too of course so document this. | 2004-04-27 | 3 | -83/+81 | |
| | | | | | | Also test it in regress to be pedantic (though the kernel path is really the same). While there, remove cred-passing code that we don't support. OK deraadt@, | ||||
* | avoid bad functions; tedu ok | 2004-02-28 | 1 | -3/+3 | |
| | |||||
* | various cleanups; david says results are same | 2003-07-31 | 1 | -4/+4 | |
| | |||||
* | Rename a bunch of the old bsd.regress.mk variables into the new ones. | 2002-09-02 | 1 | -2/+2 | |
| | | | | ok art@ | ||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -4/+4 | |
| | |||||
* | No more reason to skip it. | 2002-02-11 | 1 | -2/+1 | |
| | |||||
* | OpenBSD doesn't implement the cred part yet. comment out. | 2002-02-11 | 1 | -2/+6 | |
| | |||||
* | Make this 64-bit safe. | 2002-02-11 | 1 | -23/+21 | |
| | |||||
* | Temporarily skip this test until it doesn't hang waiting for tty input. | 2002-02-11 | 1 | -1/+2 | |
| | |||||
* | Let this test build. | 2002-02-09 | 1 | -3/+6 | |
| | |||||
* | fix dependency | 2002-01-03 | 1 | -2/+2 | |
| | |||||
* | convert to bsd.regress.mk. | 2002-01-03 | 1 | -10/+6 | |
| | | | | I know it doesn't build, but that's ok. | ||||
* | signal race fixes | 2001-11-11 | 1 | -1/+3 | |
| | |||||
* | $OpenBSD$ | 2001-01-29 | 2 | -0/+2 | |
| | |||||
* | copy from netbsd... | 1998-06-28 | 3 | -0/+316 | |