Re: Stuck CLOSED sockets / sshd / zombies...
--ezezolMAAIf/M2F2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Apr 11, 2014 at 01:23:00PM -0400, Daniel Eischen wrote:
> On Fri, 11 Apr 2014, Konstantin Belousov wrote:
> > The correct solution is to merge libthr into libc. Some neccessary
> > preparations were already done, but the main work did not started yet.
> > This is huge efforts, and it probably should be coordinated with some
> > other ABI changes planed for libthr to support process-shared locks.
>=20
> Eek, no, I don't think that is necessary. When we go to using real
> structs instead of pointers for synchronization types (mutex, CV)
> in libthr, then I don't think there will be a problem.
Could you, please, clarify what do you consider not neccessary ?
The merge, the (unrelated) ABI change, or coordination ?
BTW, below is the updated patch with the workaround for sshd issue.
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index 4f730a9..b3231a4 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -57,6 +57,12 @@ CFLAGS+=3D -DNONE_CIPHER_ENABLED
DPADD+=3D ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD+=3D -lcrypt -lcrypto -lz
=20
+# put the threading library last
+.if ${MK_KERBEROS_SUPPORT} !=3D "no"
+DPADD+=3D ${LIBPTHREAD}
+LDADD+=3D -lpthread
+.endif
+
.if defined(LOCALBASE)
CFLAGS+=3D -DXAUTH_PATH=3D\"${LOCALBASE}/bin/xauth\"
.endif
--ezezolMAAIf/M2F2
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
iQIcBAEBAgAGBQJTSDb0AAoJEJDCuSvBvK1BZDAQAIY++mRAuxzaJPxOimZVvaeG
RS7C0D59si8OsFh9PAISnM4bWPT53io0WSou9nb0u32QDL1hfCtFuTk6nlfFDdbm
aY5C/LvXW93GKZBlpBnVGEkxDSNuHzOHyAzMDbxAerk57ygc6fD0dWJKHK99GIXi
YL2XfooSjQ4InLDaSTmxrG9GVBZxH1bZl3w6IN4Ptsabdfl3dlfYsj0arbd36H8d
xfQGjT4SmltauO4ifEcD4gQbv+owmpmdEKYk+ft6Rhk3nAFDU30TJrDltBYT3AXu
xQWo7VnrLbRqAUGmjJQwPB7kHh6xHst0LNMQcN/pgYb/MVU9NDGWoUVKgmlT2b4s
p+t5NS/OPhdq8qx2RRNRLLy2kG6JCYRL+z1fyQt+6Kx73GmmLGKRGqvSvAg4k30n
fiTTheliXR58AFVwtGakDXORZPXGgjYP4QcWHjN7ydi1d86sjfEHmjPATp9mQz3e
KLtKByNTBrJZh+bWnrMIOhZnA3O3eJub3A6rU2m3zLHSnvhm6OrtYv7/hqMsvn/d
7jLHgFsEZRPLWvaikZMcfBMkOVyjAXbTSn6HvIZ51SBMTMi/jRtkdJo37YJ49RVA
OLVHQ8aFo8NgQhmStWech55c7Xj9UwpMi7fWIno5ZP0EtlQ1sI6qWKD3+/jHh15o
5RnwGk0Tttf3Lz1Wrwc0
=I1EY
-----END PGP SIGNATURE-----
--ezezolMAAIf/M2F2--
討論串 (同標題文章)
完整討論串 (本文為第 44 之 50 篇):