From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#23068: 25.1.50; unix socket address in abstract namespace Date: Sun, 20 Mar 2016 13:02:12 -0400 Message-ID: <20160320170212.GA19097@holos.localdomain> References: <87h9g1g7lg.fsf@udel.edu> <83h9g16rfy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1458493402 15602 80.91.229.3 (20 Mar 2016 17:03:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2016 17:03:22 +0000 (UTC) Cc: 23068@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 20 18:03:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ahgkx-0003Rm-9x for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Mar 2016 18:03:11 +0100 Original-Received: from localhost ([::1]:53735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahgkw-000496-OW for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Mar 2016 13:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahgks-00048Z-U9 for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 13:03:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahgko-0002Il-Q4 for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 13:03:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahgko-0002Ih-Mb for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 13:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ahgko-0000Hm-Dc for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Mar 2016 17:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23068-submit@debbugs.gnu.org id=B23068.14584933431050 (code B ref 23068); Sun, 20 Mar 2016 17:03:02 +0000 Original-Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 17:02:23 +0000 Original-Received: from localhost ([127.0.0.1]:55760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahgkB-0000Gs-7q for submit@debbugs.gnu.org; Sun, 20 Mar 2016 13:02:23 -0400 Original-Received: from mail-qk0-f177.google.com ([209.85.220.177]:36847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahgk9-0000Gc-3L for 23068@debbugs.gnu.org; Sun, 20 Mar 2016 13:02:21 -0400 Original-Received: by mail-qk0-f177.google.com with SMTP id s68so68665712qkh.3 for <23068@debbugs.gnu.org>; Sun, 20 Mar 2016 10:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xu4BV68K6Punud3fjq1aPf28wOJHCSLsQvar6htX1YU=; b=frLBMa86fIjlzGvTqKxUXKYXubrL8BIYRo8adpsPMMYLJCjC+L1P/vLA/jnBWEsfXI VnD6HkAcIGcsBm0qMElUgUJICCPQcDMDbiDk0uMnTF5V6anCMA6keCLkscpAwUu6YtlQ g5pylqSGKbYRVFBgy+iC3R3Bvc7To25T6c+o26Kk6G6jNKHMiBinr5zmjdEGCs+uaHrG Lmu4edUq7vmXyz6R3L3tX7g4uBkWFhpWve2DO98rUEDTXRDjrbdpSajy5u7E0WJozwMo AbSf8Wnu6uTSVcC0PfYAx4p6MkVWdtlv7EEGruzaHmQOG+uDF+ClnSrn6jpkxCkpa9kf VfJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xu4BV68K6Punud3fjq1aPf28wOJHCSLsQvar6htX1YU=; b=UaAl1hPd+B6cgF4PV+erfYpnKxNTDOfIna3VdpLW5TzGuvKxPfe1c0GzqT1LwcyVjX g0qa22sPWRdqPGrP318Y65PaRTsNw4sEaUt4pkogW8gngIeRP8vAq/5xdfKjr72LWpIn HVjaoN36YLjgwsDuooKnISCtTCt4DW0VAVF+G2dRmoM8xPr3KO3JMi8VetNsl1L4KwSn R8mUMI6dVRGdHULA+IBf3g/2eu8zbiX0NJPg3Z20VfAzFAdLDqjt7bvGWGbgslqNwMcY p7m7HpDrs8hAVweXh0C8yBnpMuVU8mTsnqAM9i61qjNwtNyMCSg3s+9Mvdi8rcopwUfx KMng== X-Gm-Message-State: AD7BkJJBSQOfq54voq1KgFzfbPyFxDoTQdoqdZEV/lTMG0AwQ3+jgvbP+YtSLIOXYn/Cwr3M X-Received: by 10.55.72.130 with SMTP id v124mr35413117qka.13.1458493335550; Sun, 20 Mar 2016 10:02:15 -0700 (PDT) Original-Received: from holos.localdomain (c-73-172-248-173.hsd1.md.comcast.net. [73.172.248.173]) by smtp.gmail.com with ESMTPSA id z62sm10500500qka.26.2016.03.20.10.02.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Mar 2016 10:02:14 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id B4C6F68841; Sun, 20 Mar 2016 13:02:12 -0400 (EDT) Content-Disposition: inline In-Reply-To: <83h9g16rfy.fsf@gnu.org> User-Agent: Mutt/1.5.24+83 (36f855a4a2cc) (2015-08-30) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115153 Archived-At: On 20/03/16 at 06:32pm, Eli Zaretskii wrote: > > From: Mark Oteiza > > Date: Sat, 19 Mar 2016 23:18:35 -0400 > > > > For the wishlist: teach emacs how to handle unix domain sockets with > > an abstract address. For instance, connecting to an abstract address > > might look like: > > > > (make-network-process > > :name "dog" :buffer " *woof*" > > :service "\0sock" :family 'local) > > > > the salient part being that the first element of the address is a null > > byte. unix(7) has details. > > Which parts of this don't already work? For testing purposes, the socket is bound with socat -vd abstract-listen:sock,fork TCP:host:port and I'm able to connect to it otherwise. The above elisp does: socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 8 connect(8, {sa_family=AF_LOCAL, sun_path=@""}, 110) = -1 ECONNREFUSED (Connection refused) close(8)