From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4360 Path: news.gmane.org!not-for-mail From: Raphael Cohn Newsgroups: gmane.linux.lib.musl.general Subject: ruserok et al Date: Wed, 4 Dec 2013 14:12:31 +0000 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a9a7cfbb34d04ecb600c0 X-Trace: ger.gmane.org 1386166362 30986 80.91.229.3 (4 Dec 2013 14:12:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2013 14:12:42 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4364-gllmg-musl=m.gmane.org@lists.openwall.com Wed Dec 04 15:12:49 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VoDC1-0001ZY-R9 for gllmg-musl@plane.gmane.org; Wed, 04 Dec 2013 15:12:45 +0100 Original-Received: (qmail 17642 invoked by uid 550); 4 Dec 2013 14:12:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17634 invoked from network); 4 Dec 2013 14:12:43 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=wS38wOCUgOXpo0l6Cikoglpf8O0gJP8+rfsKiladtHo=; b=FiJZc+SR0mCrYTKEvtMUSqnHLBnjpLp0P1tBp5PFaLwBDszO2EH0rQtL200S+dQNkE GTuASan+Ru/c2sujk9XjgE/jZqJAciweCIHLiI6Hael4Uzrfb+F3YjuTHnMrYY1u0KW2 Hrpsi8iJ0soOhYqHpEIJdSY+8kv30gkInyQAphsAji4b5WVggNK6SG4SLxl3HP/YWU3N qSmKqCFvbPMixSVxQ9NWmskJU759u2DBcIqu6ouBRGEvQ9tOgapzwuE+Y7VjiS0ITRBI YPGENbGzsTwZ7lOHv262MEIz4k8C0rwQwSNQiBeZgyC6P5NVHFWvkgnL8b04Bwp45UZZ JIGg== X-Gm-Message-State: ALoCoQmzSTHgGo54oZjKquk1RCrZBkQdmkurbmWZszhtRT2IZ0CTMYScmRwJJNfYfS988mU+3e2E X-Received: by 10.60.117.225 with SMTP id kh1mr63694327oeb.15.1386166351535; Wed, 04 Dec 2013 06:12:31 -0800 (PST) X-Originating-IP: [2001:8b0:862:b944:5e8:bd81:6ce5:582e] Xref: news.gmane.org gmane.linux.lib.musl.general:4360 Archived-At: --047d7b3a9a7cfbb34d04ecb600c0 Content-Type: text/plain; charset=UTF-8 Dear List, Whilst compiling pam_rhosts in Linux PAM 1.1.8 (pam_rhosts.c), it tries to use the function 'ruserok'. I believe this, and its siblings, aren't in musl. Quite correctly, I suspect - I presume these relate to the legacy 'r' commands that no one in their right mind should be using. I'll be patching my installation to remove this module from the build (*sigh* Linux pam doesn't make choosing a subset of modules easy). Would it make sense, for completeness to add stubs to musl to do either:- - return the failure outcome; - or, return a nasty warning and a failure outcome? And a syslog on runtime use to really give users a kick? Alternatively, it might be a good idea to not do this, but have a wiki page somewhere listing deliberately unimplemented and stub functions. Raph Raphael Cohn Chief Architect, stormmq Co-Chair, OASIS MQTT Standard Secretary, OASIS AMQP Standard raphael.cohn@stormmq.com +44 7590 675 756 UK Office: Hamblethorpe Farm, Crag Lane, Bradley BD20 9DB, North Yorkshire, United Kingdom Telephone: +44 845 3712 567 Registered office: 16 Anchor Street, Chelmsford, Essex, CM2 0JY, United Kingdom StormMQ Limited is Registered in England and Wales under Company Number 07175657 StormMQ.com --047d7b3a9a7cfbb34d04ecb600c0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear List,

Whilst compili= ng pam_rhosts in Linux PAM 1.1.8 (pam_rhosts.c), it tries to use the functi= on 'ruserok'. I believe this, and its siblings, aren't in musl.= Quite correctly, I suspect - I presume these relate to the legacy 'r&#= 39; commands that no one in their right mind should be using. I'll be p= atching my installation to remove this module from the build (*sigh* Linux = pam doesn't make choosing a subset of modules easy).

Would it make sense, for completeness to add stubs to musl to do = either:-
- return the failure outcome;
- or, return a nas= ty warning and a failure outcome? And a syslog on runtime use to really giv= e users a kick?

Alternatively, it might be a good idea to not do this, but have a wiki = page somewhere listing deliberately unimplemented and stub functions.

Raph

Raphael Cohn
Chief Architect, stormmq
Co-Chair, OASIS MQTT= Standard
Secretary, OASIS AMQP Standard
raphael.cohn@stormmq.com
+44 7590 675 756

UK Office:
Hamblethorpe Farm, Crag Lane,= Bradley BD20 9DB, North Yorkshire, United Kingdom
Telephone: +44 845 37= 12 567

Registered office:
16 Anchor Street, Chelmsford, Essex, CM2 0JY, United= Kingdom
StormMQ Limited is Registered in England and Wales under Company Number 071= 75657
StormMQ.com
--047d7b3a9a7cfbb34d04ecb600c0--