From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1236 Path: news.gmane.org!not-for-mail From: orc Newsgroups: gmane.linux.lib.musl.general Subject: openssh and sendmsg() problem Date: Tue, 26 Jun 2012 19:01:46 +0800 Message-ID: <20120626190146.1c086ed2@sibserver.ru> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340708626 25624 80.91.229.3 (26 Jun 2012 11:03:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 11:03:46 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1237-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jun 26 13:03:44 2012 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 1SjTYc-0001Pg-Mk for gllmg-musl@plane.gmane.org; Tue, 26 Jun 2012 13:03:42 +0200 Original-Received: (qmail 11470 invoked by uid 550); 26 Jun 2012 11:03:42 -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 11462 invoked from network); 26 Jun 2012 11:03:42 -0000 X-Mailer: claws-mail Xref: news.gmane.org gmane.linux.lib.musl.general:1236 Archived-At: Has anyone got openssh to work with privilege separation? I tried today, openssh refused with strange reason: error: mm_send_fd: sendmsg(4): Invalid argument strace shows that sendmsg system call returns EINVAL: sendmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_ type=SCM_RIGHTS, {4, 385875968}}, msg_flags=0}, 0) = -1 EINVAL (Invalid argument) If needed, I can send full strace log.