History log of /openbsd-current/regress/sys/kern/unfdpass/unfdpass.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.24 08-Mar-2023 guenther

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


# 1.23 08-Mar-2023 guenther

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.22 13-Dec-2021 deraadt

remove a couple hundred sys/param.h includes in userland code, and
also whack some sys/cdefs.h early includes which is such a brutally
bad pattern
ok bluhm mbuhl


# 1.21 24-Oct-2021 deraadt

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.
ok millert


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.20 28-Nov-2018 claudio

Test for EMSGSIZE return when sending more fds in a message then the receiver
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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.19 26-Jan-2017 benno

enable compiler warnings and fix them.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.18 19-Jan-2015 guenther

The kernel doesn't actually care what a sockaddr's sa_len is on input,
so don't waste code setting it


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.17 06-Jul-2011 matthew

Add a regression test for file descriptor passing with UNIX sockets.

ok claudio@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.16 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

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@


# 1.15 24-Mar-2008 deraadt

msg_controllen has to be CMSG_SPACE so that the kernel can account for
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


# 1.14 15-Mar-2008 hshoexer

Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fds
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).


# 1.13 13-Mar-2008 deraadt

Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to
an extensive discussion with otto, kettenis, millert, and hshoexer


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.12 30-Aug-2004 millert

Use CMSG_SPACE when allocating space for the control message.
Fixes a bogus regression on sparc64. OK henning@


# 1.11 28-Jul-2004 millert

Remove statement with no effect.


# 1.10 27-Apr-2004 millert

fd passing works over a socketpair too of course so document this.
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@,


Revision tags: OPENBSD_3_5_BASE
# 1.9 28-Feb-2004 deraadt

avoid bad functions; tedu ok


Revision tags: OPENBSD_3_4_BASE
# 1.8 31-Jul-2003 deraadt

various cleanups; david says results are same


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.7 16-Feb-2002 millert

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.


# 1.6 11-Feb-2002 art

OpenBSD doesn't implement the cred part yet. comment out.


# 1.5 11-Feb-2002 art

Make this 64-bit safe.


# 1.4 09-Feb-2002 art

Let this test build.


# 1.3 11-Nov-2001 deraadt

signal race fixes


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.2 29-Jan-2001 niklas

$OpenBSD$


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.1 28-Jun-1998 deraadt

copy from netbsd...


# 1.22 13-Dec-2021 deraadt

remove a couple hundred sys/param.h includes in userland code, and
also whack some sys/cdefs.h early includes which is such a brutally
bad pattern
ok bluhm mbuhl


# 1.21 24-Oct-2021 deraadt

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.
ok millert


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.20 28-Nov-2018 claudio

Test for EMSGSIZE return when sending more fds in a message then the receiver
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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.19 26-Jan-2017 benno

enable compiler warnings and fix them.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.18 19-Jan-2015 guenther

The kernel doesn't actually care what a sockaddr's sa_len is on input,
so don't waste code setting it


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.17 06-Jul-2011 matthew

Add a regression test for file descriptor passing with UNIX sockets.

ok claudio@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.16 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

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@


# 1.15 24-Mar-2008 deraadt

msg_controllen has to be CMSG_SPACE so that the kernel can account for
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


# 1.14 15-Mar-2008 hshoexer

Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fds
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).


# 1.13 13-Mar-2008 deraadt

Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to
an extensive discussion with otto, kettenis, millert, and hshoexer


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.12 30-Aug-2004 millert

Use CMSG_SPACE when allocating space for the control message.
Fixes a bogus regression on sparc64. OK henning@


# 1.11 28-Jul-2004 millert

Remove statement with no effect.


# 1.10 27-Apr-2004 millert

fd passing works over a socketpair too of course so document this.
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@,


Revision tags: OPENBSD_3_5_BASE
# 1.9 28-Feb-2004 deraadt

avoid bad functions; tedu ok


Revision tags: OPENBSD_3_4_BASE
# 1.8 31-Jul-2003 deraadt

various cleanups; david says results are same


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.7 16-Feb-2002 millert

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.


# 1.6 11-Feb-2002 art

OpenBSD doesn't implement the cred part yet. comment out.


# 1.5 11-Feb-2002 art

Make this 64-bit safe.


# 1.4 09-Feb-2002 art

Let this test build.


# 1.3 11-Nov-2001 deraadt

signal race fixes


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.2 29-Jan-2001 niklas

$OpenBSD$


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.1 28-Jun-1998 deraadt

copy from netbsd...


# 1.21 24-Oct-2021 deraadt

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.
ok millert


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.20 28-Nov-2018 claudio

Test for EMSGSIZE return when sending more fds in a message then the receiver
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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.19 26-Jan-2017 benno

enable compiler warnings and fix them.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.18 19-Jan-2015 guenther

The kernel doesn't actually care what a sockaddr's sa_len is on input,
so don't waste code setting it


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.17 06-Jul-2011 matthew

Add a regression test for file descriptor passing with UNIX sockets.

ok claudio@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.16 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

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@


# 1.15 24-Mar-2008 deraadt

msg_controllen has to be CMSG_SPACE so that the kernel can account for
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


# 1.14 15-Mar-2008 hshoexer

Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fds
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).


# 1.13 13-Mar-2008 deraadt

Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to
an extensive discussion with otto, kettenis, millert, and hshoexer


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.12 30-Aug-2004 millert

Use CMSG_SPACE when allocating space for the control message.
Fixes a bogus regression on sparc64. OK henning@


# 1.11 28-Jul-2004 millert

Remove statement with no effect.


# 1.10 27-Apr-2004 millert

fd passing works over a socketpair too of course so document this.
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@,


Revision tags: OPENBSD_3_5_BASE
# 1.9 28-Feb-2004 deraadt

avoid bad functions; tedu ok


Revision tags: OPENBSD_3_4_BASE
# 1.8 31-Jul-2003 deraadt

various cleanups; david says results are same


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.7 16-Feb-2002 millert

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.


# 1.6 11-Feb-2002 art

OpenBSD doesn't implement the cred part yet. comment out.


# 1.5 11-Feb-2002 art

Make this 64-bit safe.


# 1.4 09-Feb-2002 art

Let this test build.


# 1.3 11-Nov-2001 deraadt

signal race fixes


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.2 29-Jan-2001 niklas

$OpenBSD$


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.1 28-Jun-1998 deraadt

copy from netbsd...


# 1.20 28-Nov-2018 claudio

Test for EMSGSIZE return when sending more fds in a message then the receiver
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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.19 26-Jan-2017 benno

enable compiler warnings and fix them.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.18 19-Jan-2015 guenther

The kernel doesn't actually care what a sockaddr's sa_len is on input,
so don't waste code setting it


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.17 06-Jul-2011 matthew

Add a regression test for file descriptor passing with UNIX sockets.

ok claudio@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.16 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

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@


# 1.15 24-Mar-2008 deraadt

msg_controllen has to be CMSG_SPACE so that the kernel can account for
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


# 1.14 15-Mar-2008 hshoexer

Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fds
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).


# 1.13 13-Mar-2008 deraadt

Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to
an extensive discussion with otto, kettenis, millert, and hshoexer


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.12 30-Aug-2004 millert

Use CMSG_SPACE when allocating space for the control message.
Fixes a bogus regression on sparc64. OK henning@


# 1.11 28-Jul-2004 millert

Remove statement with no effect.


# 1.10 27-Apr-2004 millert

fd passing works over a socketpair too of course so document this.
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@,


Revision tags: OPENBSD_3_5_BASE
# 1.9 28-Feb-2004 deraadt

avoid bad functions; tedu ok


Revision tags: OPENBSD_3_4_BASE
# 1.8 31-Jul-2003 deraadt

various cleanups; david says results are same


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.7 16-Feb-2002 millert

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.


# 1.6 11-Feb-2002 art

OpenBSD doesn't implement the cred part yet. comment out.


# 1.5 11-Feb-2002 art

Make this 64-bit safe.


# 1.4 09-Feb-2002 art

Let this test build.


# 1.3 11-Nov-2001 deraadt

signal race fixes


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.2 29-Jan-2001 niklas

$OpenBSD$


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.1 28-Jun-1998 deraadt

copy from netbsd...


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.19 26-Jan-2017 benno

enable compiler warnings and fix them.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.18 19-Jan-2015 guenther

The kernel doesn't actually care what a sockaddr's sa_len is on input,
so don't waste code setting it


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.17 06-Jul-2011 matthew

Add a regression test for file descriptor passing with UNIX sockets.

ok claudio@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.16 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

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@


# 1.15 24-Mar-2008 deraadt

msg_controllen has to be CMSG_SPACE so that the kernel can account for
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


# 1.14 15-Mar-2008 hshoexer

Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fds
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).


# 1.13 13-Mar-2008 deraadt

Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to
an extensive discussion with otto, kettenis, millert, and hshoexer


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.12 30-Aug-2004 millert

Use CMSG_SPACE when allocating space for the control message.
Fixes a bogus regression on sparc64. OK henning@


# 1.11 28-Jul-2004 millert

Remove statement with no effect.


# 1.10 27-Apr-2004 millert

fd passing works over a socketpair too of course so document this.
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@,


Revision tags: OPENBSD_3_5_BASE
# 1.9 28-Feb-2004 deraadt

avoid bad functions; tedu ok


Revision tags: OPENBSD_3_4_BASE
# 1.8 31-Jul-2003 deraadt

various cleanups; david says results are same


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.7 16-Feb-2002 millert

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.


# 1.6 11-Feb-2002 art

OpenBSD doesn't implement the cred part yet. comment out.


# 1.5 11-Feb-2002 art

Make this 64-bit safe.


# 1.4 09-Feb-2002 art

Let this test build.


# 1.3 11-Nov-2001 deraadt

signal race fixes


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.2 29-Jan-2001 niklas

$OpenBSD$


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.1 28-Jun-1998 deraadt

copy from netbsd...