]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
unix/dgram tests: match the kernel behavior
authorGleb Smirnoff <glebius@FreeBSD.org>
Thu, 23 Feb 2023 04:44:46 +0000 (20:44 -0800)
committerGleb Smirnoff <glebius@FreeBSD.org>
Thu, 23 Feb 2023 04:44:46 +0000 (20:44 -0800)
commita170657108623cd48e3d695ca74c428a564912ee
treeb0927eed046ec1b88a8bd32ff9a4b877bfe33dbc
parent3ff497061b3323021ae5f8cceed075fc2bc25e40
unix/dgram tests: match the kernel behavior

In CURRENT for some time an overflowed unix/dgram socket would
return EAGAIN if it has O_NONBLOCK set.  This proved to be
undesired.  See 71e70c25c00 for details.  Update tests to match
the "new" behavior, which actually is the historical behavior.
tests/sys/kern/unix_dgram.c
tests/sys/kern/unix_passfd_test.c