From owner-freebsd-stable@freebsd.org Sun Feb 16 20:50:14 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A5BB3241F3F for ; Sun, 16 Feb 2020 20:50:14 +0000 (UTC) (envelope-from joe@truespeed.com) Received: from mail.truespeed.com (mail.truespeed.com [31.210.26.210]) by mx1.freebsd.org (Postfix) with ESMTP id 48LK4j30ZQz3PHF for ; Sun, 16 Feb 2020 20:50:13 +0000 (UTC) (envelope-from joe@truespeed.com) Received: from dspam.truespeed.com (localhost [127.0.0.1]) by mail.truespeed.com (Postfix) with SMTP id 94341528571 for ; Sun, 16 Feb 2020 20:50:05 +0000 (UTC) Received: from wormhole.home (host109-157-112-44.range109-157.btcentralplus.com [109.157.112.44]) (Authenticated sender: joe@truespeed.com) by mail.truespeed.com (Postfix) with ESMTPSA id 7AB6A528566; Sun, 16 Feb 2020 20:50:04 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: PAM modules; pthreads not reliably dispatching background threads :(. From: Dr Josef Karthauser In-Reply-To: <410daeeb-df13-fa7d-2c58-302222f9d87d@rlwinm.de> Date: Sun, 16 Feb 2020 20:50:03 +0000 Cc: freebsd-stable@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <9E850062-AA7F-4A0F-98B2-7FBE8B58AE76@truespeed.com> <1F45763E-08A1-4308-A77A-B5CA30CF3909@truespeed.com> <410daeeb-df13-fa7d-2c58-302222f9d87d@rlwinm.de> To: Jan Bramkamp X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 48LK4j30ZQz3PHF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of joe@truespeed.com designates 31.210.26.210 as permitted sender) smtp.mailfrom=joe@truespeed.com X-Spamd-Result: default: False [-0.44 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.913,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:31.210.26.210/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[truespeed.com]; NEURAL_HAM_LONG(-0.81)[-0.815,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_NAME_HAS_TITLE(1.00)[dr]; IP_SCORE(-0.01)[country: GB(-0.07)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:51048, ipnet:31.210.24.0/21, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[44.112.157.109.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2020 20:50:14 -0000 > On 16 Feb 2020, at 19:14, Jan Bramkamp wrote: >=20 > On 09.02.20 12:25, Dr Josef Karthauser wrote: >> Hi Folks, >>=20 >> Has anyone got any experience with PAM and pthreads? >>=20 > Is the "host" process multithreaded or at least built with Pthread = support? The pam library (libyubikey) links to libcurl, which uses pthreads. = I=E2=80=99ve added debug statements and compiled, and it=E2=80=99s = definitely not running code in the pthread that was dispatched. Cheers, Joe