GNU logs - #23068, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Mark Oteiza <mvoteiza@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 03:19:01 +0000
Resent-Message-ID: <handler.23068.B.145844393316542 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 23068 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.145844393316542
          (code B ref -1); Sun, 20 Mar 2016 03:19:01 +0000
Received: (at submit) by debbugs.gnu.org; 20 Mar 2016 03:18:53 +0000
Received: from localhost ([127.0.0.1]:54083 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahTtE-0004Ik-OY
	for submit <at> debbugs.gnu.org; Sat, 19 Mar 2016 23:18:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37055)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mvoteiza@HIDDEN>) id 1ahTtD-0004IW-N7
 for submit <at> debbugs.gnu.org; Sat, 19 Mar 2016 23:18:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mvoteiza@HIDDEN>) id 1ahTt7-0004cN-B8
 for submit <at> debbugs.gnu.org; Sat, 19 Mar 2016 23:18:46 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45511)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mvoteiza@HIDDEN>) id 1ahTt7-0004cJ-83
 for submit <at> debbugs.gnu.org; Sat, 19 Mar 2016 23:18:45 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56253)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mvoteiza@HIDDEN>) id 1ahTt6-0003RD-94
 for bug-gnu-emacs@HIDDEN; Sat, 19 Mar 2016 23:18:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mvoteiza@HIDDEN>) id 1ahTt3-0004b0-0w
 for bug-gnu-emacs@HIDDEN; Sat, 19 Mar 2016 23:18:44 -0400
Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:33190)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mvoteiza@HIDDEN>) id 1ahTt2-0004aq-Pg
 for bug-gnu-emacs@HIDDEN; Sat, 19 Mar 2016 23:18:40 -0400
Received: by mail-qg0-x22e.google.com with SMTP id a36so99920100qge.0
 for <bug-gnu-emacs@HIDDEN>; Sat, 19 Mar 2016 20:18:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=udel-edu.20150623.gappssmtp.com; s=20150623;
 h=from:to:subject:date:message-id:mime-version;
 bh=IoIHfk9xrQO92dGhuSZhlUbQjH6SB9vlcRuFXKhYuxk=;
 b=TBLNmlXnFy3VRHMj8OKHLlhGVNkKh1u47pCjTLM6ZhCfUOX38Af5f6ExoSXr0nXI5T
 ldmigCwtWr9qvhgYEjMtEvbnP6MGs1FHhucaDs/qXX1g8Z1WRcKYpa1JUlWkyQCxlTX8
 Ex/Py1Tp32j5tmAEwTsunnkcKg1t4Zv09hP5Zx107cd4R/2mj7zw2w3IQ92KAdz2PnBw
 qmgVECAQVcdEv+pYhLLeyqVVsPN0R6oEo8W4a6/4A4OGOpNJy6l5p9RKgwYWvPAmEwTE
 jVWTd72ZnRao5xSvLx0qKIRpU6tBpbVdkAzd5u8tWZ1HNspnALTiIlbGRJRPYEPTjgS8
 vO4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=IoIHfk9xrQO92dGhuSZhlUbQjH6SB9vlcRuFXKhYuxk=;
 b=XAsxVpVJxoC2yNehSxAH9jyiXKc4jrF7A6zampZ19G45VL5nMd5sy4oEUROLj5Y5L+
 VIgxpt3sLOfF7Jd56ChL09LrG/1Ok0t426EE3+SNCjpVDY8+WZNhVxJGFx287wWKmZqm
 6l+Q4KYtD0LyHk2foX/nPJbw9PRMN+/GYtwOurFRO7QbiDYtgBNZq+fGPaLE2wBc6bbg
 eTy+C71uGrK+L6SpRFZvpy6ZdOVgL+K+DD6NZfVDU9q4bUgykVkGXs3fkhlDJ69475hl
 p+ApnLK56kGBlh0bt1EsWkJMPj2UVkcgNhSA6/IJhmfpQdV+DlBjrvdIi65YfQK+D9jA
 pXvw==
X-Gm-Message-State: AD7BkJJOaguyM8BUE8X567DUn51TC+cnjNJ2YyyN9ueI1Rzm6/8WV0QPh/8q/zzEcFXo0nh8
X-Received: by 10.140.99.72 with SMTP id p66mr32173186qge.16.1458443918647;
 Sat, 19 Mar 2016 20:18:38 -0700 (PDT)
Received: from holos.localdomain (c-73-172-248-173.hsd1.md.comcast.net.
 [73.172.248.173])
 by smtp.gmail.com with ESMTPSA id a9sm9502199qka.4.2016.03.19.20.18.37
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 19 Mar 2016 20:18:37 -0700 (PDT)
Received: by holos.localdomain (Postfix, from userid 1000)
 id 9FF3168841; Sat, 19 Mar 2016 23:18:35 -0400 (EDT)
From: Mark Oteiza <mvoteiza@HIDDEN>
Date: Sat, 19 Mar 2016 23:18:35 -0400
Message-ID: <87h9g1g7lg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.4 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.4 (----)


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.

In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2016-03-19 built on duoteque
Repository revision: 326fff41fa9f674d80be00b5c97c44f8043bbace
Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --without-gconf --with-modules
 --with-x-toolkit=lucid 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe
 -fstack-protector-strong --param=ssp-buffer-size=4 -g
 -fvar-tracking-assignments -g -fvar-tracking-assignments'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
LUCID X11 MODULES





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Mark Oteiza <mvoteiza@HIDDEN>
Subject: bug#23068: Acknowledgement (25.1.50; unix socket address in
 abstract namespace)
Message-ID: <handler.23068.B.145844393316542.ack <at> debbugs.gnu.org>
References: <87h9g1g7lg.fsf@HIDDEN>
X-Gnu-PR-Message: ack 23068
X-Gnu-PR-Package: emacs
Reply-To: 23068 <at> debbugs.gnu.org
Date: Sun, 20 Mar 2016 03:19:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 23068 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
23068: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23068
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 16:33:02 +0000
Resent-Message-ID: <handler.23068.B23068.145849157230704 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Mark Oteiza <mvoteiza@HIDDEN>
Cc: 23068 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 23068-submit <at> debbugs.gnu.org id=B23068.145849157230704
          (code B ref 23068); Sun, 20 Mar 2016 16:33:02 +0000
Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 16:32:52 +0000
Received: from localhost ([127.0.0.1]:55747 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahgHc-0007z9-Eh
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2016 12:32:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46111)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ahgHb-0007yx-Ad
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 12:32:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1ahgHS-0002mJ-VP
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 12:32:46 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59883)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1ahgHS-0002mF-Sh; Sun, 20 Mar 2016 12:32:42 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1297
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ahgHS-0008Nd-8X; Sun, 20 Mar 2016 12:32:42 -0400
Date: Sun, 20 Mar 2016 18:32:17 +0200
Message-Id: <83h9g16rfy.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87h9g1g7lg.fsf@HIDDEN> (message from Mark Oteiza on Sat, 19
 Mar 2016 23:18:35 -0400)
References: <87h9g1g7lg.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Mark Oteiza <mvoteiza@HIDDEN>
> 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?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Mark Oteiza <mvoteiza@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 17:03:02 +0000
Resent-Message-ID: <handler.23068.B23068.14584933431050 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 23068 <at> debbugs.gnu.org
Received: via spool by 23068-submit <at> debbugs.gnu.org id=B23068.14584933431050
          (code B ref 23068); Sun, 20 Mar 2016 17:03:02 +0000
Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 17:02:23 +0000
Received: from localhost ([127.0.0.1]:55760 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahgkB-0000Gs-7q
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:02:23 -0400
Received: from mail-qk0-f177.google.com ([209.85.220.177]:36847)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mvoteiza@HIDDEN>) id 1ahgk9-0000Gc-3L
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:02:21 -0400
Received: by mail-qk0-f177.google.com with SMTP id s68so68665712qkh.3
 for <23068 <at> 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)
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)
Received: by holos.localdomain (Postfix, from userid 1000)
 id B4C6F68841; Sun, 20 Mar 2016 13:02:12 -0400 (EDT)
Date: Sun, 20 Mar 2016 13:02:12 -0400
From: Mark Oteiza <mvoteiza@HIDDEN>
Message-ID: <20160320170212.GA19097@HIDDEN>
References: <87h9g1g7lg.fsf@HIDDEN>
 <83h9g16rfy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <83h9g16rfy.fsf@HIDDEN>
User-Agent: Mutt/1.5.24+83 (36f855a4a2cc) (2015-08-30)
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On 20/03/16 at 06:32pm, Eli Zaretskii wrote:
> > From: Mark Oteiza <mvoteiza@HIDDEN>
> > 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) 






Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 17:12:01 +0000
Resent-Message-ID: <handler.23068.B23068.14584938751848 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Mark Oteiza <mvoteiza@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 23068 <at> debbugs.gnu.org
Received: via spool by 23068-submit <at> debbugs.gnu.org id=B23068.14584938751848
          (code B ref 23068); Sun, 20 Mar 2016 17:12:01 +0000
Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 17:11:15 +0000
Received: from localhost ([127.0.0.1]:55773 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahgsl-0000Tk-D9
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:11:15 -0400
Received: from hermes.netfonds.no ([80.91.224.195]:58090)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1ahgsj-0000TY-33
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:11:14 -0400
Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories)
 by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
 (Exim 4.84_2) (envelope-from <larsi@HIDDEN>)
 id 1ahgsf-0003m0-Ii; Sun, 20 Mar 2016 18:11:11 +0100
From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
References: <87h9g1g7lg.fsf@HIDDEN> <83h9g16rfy.fsf@HIDDEN>
 <20160320170212.GA19097@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEXYz811VFX29PSqnJzr
 5uT6UAdPAAACZUlEQVQ4jU2UgZHrMAhEkaUCxCcFeDgVIIILcIj6r+kvSm7m7EtmTs/AsuCQi7jX
 Se6XjjGWFmZ+qBJAEp8soRFxc14AZr6vWXyGrnhvEEqVq1kVn9NljjV+cGz8VJqfAPOOT/sATsD9
 C8TJ+mrvX2B9TinIZj4rU7t/azCyd9sAIZPIcN4T1EqXAxQocyaoQaZYZLXWy0v5gucRLtfSIC8J
 zN41GzVBj3QEGuy+QU0gXvlC82sBPNwLfQAUzwzRe41Bs8+aoE4GcOeWhiEfPWa9M2Jy3Z1CaiyA
 el0OUO5pGzia07UGlXn5+w8Qa6GjBRW/vIoVShMzwB4ovRJMf3crsH0DiF5D78hBSYVZs5fMhamk
 rraIv6BvMEnEriMGJWAHkF5SbwIUOYnEBJ0ByAaZCkXQXzdGPXyxfWqkYIgier+eOMUC8LdDjLKt
 QrpqlBfjL2XksdWOAdOIdugpezvQhJXU36qQjlNDsZ5s8L1zgY2G7aNcWJijgelBBrAAyKR66L7G
 YOdUAY2V/aKJw5VA7UppAAbQaOzH8TlK4yK5bbljbUco9v+4a0DoBm4Te4U9zecxtPVa3TJGMF9y
 OjMXNgZvxzjePRVsMC+NoWcccC7ohtFIJnjVmGG/woCx7lh3K2W/a5Tf7dR139iZzHmfWeUJINQW
 0ucpbhSzF/d/GNTevbF7CW0Ar5P7sVOlohgbjpQdIkFpQy7yvuPAri3cKF77IH8id9qc+RCzVlFK
 KZ+yA7u8/cT1E/Bq24gSuo+3ODxEdcZ3IDtok/wPb+n18Ret5CB/CWGG2/mRvzDrM7RE/wFQuaEy
 HrozfAAAAABJRU5ErkJggg==
Date: Sun, 20 Mar 2016 18:11:09 +0100
In-Reply-To: <20160320170212.GA19097@HIDDEN> (Mark Oteiza's message
 of "Sun, 20 Mar 2016 13:02:12 -0400")
Message-ID: <m3d1qpulaq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Mark Oteiza <mvoteiza@HIDDEN> writes:

> 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) 

Yeah, this code in conv_lisp_to_sockaddr doesn't look very correct:

  else if (STRINGP (address))
    {
#ifdef HAVE_LOCAL_SOCKETS
      if (family == AF_LOCAL)
	{
	  struct sockaddr_un *sockun = (struct sockaddr_un *) sa;
	  cp = SDATA (address);
	  for (i = 0; i < sizeof (sockun->sun_path) && *cp; i++)
	    sockun->sun_path[i] = *cp++;
	  sa->sa_family = family;
	}
#endif
      return;
    }


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 17:26:02 +0000
Resent-Message-ID: <handler.23068.B23068.14584947493110 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Cc: mvoteiza@HIDDEN, 23068 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 23068-submit <at> debbugs.gnu.org id=B23068.14584947493110
          (code B ref 23068); Sun, 20 Mar 2016 17:26:02 +0000
Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 17:25:49 +0000
Received: from localhost ([127.0.0.1]:55779 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahh6q-0000o6-Nn
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:25:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60820)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ahh6p-0000nu-G4
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:25:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1ahh6g-0007Ji-EU
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:25:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32888)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1ahh6g-0007Jc-9X; Sun, 20 Mar 2016 13:25:38 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1386
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ahh6f-0000Jc-Hm; Sun, 20 Mar 2016 13:25:38 -0400
Date: Sun, 20 Mar 2016 19:25:13 +0200
Message-Id: <83egb56ozq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <m3d1qpulaq.fsf@HIDDEN> (message from Lars Magne Ingebrigtsen
 on Sun, 20 Mar 2016 18:11:09 +0100)
References: <87h9g1g7lg.fsf@HIDDEN> <83h9g16rfy.fsf@HIDDEN>
 <20160320170212.GA19097@HIDDEN> <m3d1qpulaq.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  23068 <at> debbugs.gnu.org
> Date: Sun, 20 Mar 2016 18:11:09 +0100
> 
> Mark Oteiza <mvoteiza@HIDDEN> writes:
> 
> > 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) 
> 
> Yeah, this code in conv_lisp_to_sockaddr doesn't look very correct:
> 
>   else if (STRINGP (address))
>     {
> #ifdef HAVE_LOCAL_SOCKETS
>       if (family == AF_LOCAL)
> 	{
> 	  struct sockaddr_un *sockun = (struct sockaddr_un *) sa;
> 	  cp = SDATA (address);
> 	  for (i = 0; i < sizeof (sockun->sun_path) && *cp; i++)
> 	    sockun->sun_path[i] = *cp++;
> 	  sa->sa_family = family;
> 	}
> #endif
>       return;
>     }

That should be trivial to fix.  Elsewhere, we specifically attempt to
support this feature:

  #ifdef HAVE_LOCAL_SOCKETS
      case AF_LOCAL:
	{
	  struct sockaddr_un *sockun = (struct sockaddr_un *) sa;
	  ptrdiff_t name_length = len - offsetof (struct sockaddr_un, sun_path);
	  /* If the first byte is NUL, the name is a Linux abstract
	     socket name, and the name can contain embedded NULs.  If
	     it's not, we have a NUL-terminated string.  Be careful not
	     to walk past the end of the object looking for the name
	     terminator, however.  */
	  if (name_length > 0 && sockun->sun_path[0] != '\0')
	    {
	      const char *terminator
		= memchr (sockun->sun_path, '\0', name_length);

	      if (terminator)
		name_length = terminator - (const char *) sockun->sun_path;
	    }

	  return make_unibyte_string (sockun->sun_path, name_length);
	}

IOW, this is not a wishlist feature request, but a routine bug report ;-)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 17:40:01 +0000
Resent-Message-ID: <handler.23068.B23068.14584955554343 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Cc: Mark Oteiza <mvoteiza@HIDDEN>, 23068 <at> debbugs.gnu.org
Received: via spool by 23068-submit <at> debbugs.gnu.org id=B23068.14584955554343
          (code B ref 23068); Sun, 20 Mar 2016 17:40:01 +0000
Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 17:39:15 +0000
Received: from localhost ([127.0.0.1]:55787 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahhJq-00017y-7L
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:39:15 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:53023)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1ahhJk-00017n-UQ
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 13:39:12 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3qSmRH67Vjz3hjVj;
 Sun, 20 Mar 2016 18:39:07 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3qSmRH06JyzvhRS;
 Sun, 20 Mar 2016 18:39:06 +0100 (CET)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id M9PIfSPc5iIC; Sun, 20 Mar 2016 18:39:02 +0100 (CET)
X-Auth-Info: iJdTmShJD0evXFtbrImQbq4eZX/bh+puJrfI+a9aOYPGtBqiPeuiy8LnKaPRVfcB
Received: from igel.home (ppp-88-217-10-131.dynamic.mnet-online.de
 [88.217.10.131]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Sun, 20 Mar 2016 18:39:02 +0100 (CET)
Received: by igel.home (Postfix, from userid 1000)
 id 703602C480C; Sun, 20 Mar 2016 18:39:02 +0100 (CET)
From: Andreas Schwab <schwab@HIDDEN>
References: <87h9g1g7lg.fsf@HIDDEN> <83h9g16rfy.fsf@HIDDEN>
 <20160320170212.GA19097@HIDDEN> <m3d1qpulaq.fsf@HIDDEN>
X-Yow: The appreciation of the average visual graphisticator alone is worth
 the whole suaveness and decadence which abounds!!
Date: Sun, 20 Mar 2016 18:39:02 +0100
In-Reply-To: <m3d1qpulaq.fsf@HIDDEN> (Lars Magne Ingebrigtsen's message of
 "Sun, 20 Mar 2016 18:11:09 +0100")
Message-ID: <87fuvluk09.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Lars Magne Ingebrigtsen <larsi@HIDDEN> writes:

> Mark Oteiza <mvoteiza@HIDDEN> writes:
>
>> 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) 
>
> Yeah, this code in conv_lisp_to_sockaddr doesn't look very correct:
>
>   else if (STRINGP (address))
>     {
> #ifdef HAVE_LOCAL_SOCKETS
>       if (family == AF_LOCAL)
> 	{
> 	  struct sockaddr_un *sockun = (struct sockaddr_un *) sa;
> 	  cp = SDATA (address);
> 	  for (i = 0; i < sizeof (sockun->sun_path) && *cp; i++)
> 	    sockun->sun_path[i] = *cp++;

This also needs to encode the string in one way.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 18:03:02 +0000
Resent-Message-ID: <handler.23068.B23068.14584969736413 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Andreas Schwab <schwab@HIDDEN>
Cc: mvoteiza@HIDDEN, larsi@HIDDEN, 23068 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 23068-submit <at> debbugs.gnu.org id=B23068.14584969736413
          (code B ref 23068); Sun, 20 Mar 2016 18:03:02 +0000
Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 18:02:53 +0000
Received: from localhost ([127.0.0.1]:55793 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahhgj-0001fM-12
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2016 14:02:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40729)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ahhgh-0001f9-6t
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 14:02:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1ahhgY-0007LB-HS
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 14:02:45 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33646)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1ahhgY-0007L3-EQ; Sun, 20 Mar 2016 14:02:42 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1450
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ahhgX-0001ix-Ed; Sun, 20 Mar 2016 14:02:41 -0400
Date: Sun, 20 Mar 2016 20:02:16 +0200
Message-Id: <838u1d6n9z.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87fuvluk09.fsf@HIDDEN> (message from Andreas Schwab on
 Sun, 20 Mar 2016 18:39:02 +0100)
References: <87h9g1g7lg.fsf@HIDDEN> <83h9g16rfy.fsf@HIDDEN>
 <20160320170212.GA19097@HIDDEN> <m3d1qpulaq.fsf@HIDDEN>
 <87fuvluk09.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Andreas Schwab <schwab@HIDDEN>
> Date: Sun, 20 Mar 2016 18:39:02 +0100
> Cc: Mark Oteiza <mvoteiza@HIDDEN>, 23068 <at> debbugs.gnu.org
> 
> This also needs to encode the string in one way.

The network-related functions in process.c generally don't bother
encoding the strings at all.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 19:50:02 +0000
Resent-Message-ID: <handler.23068.B23068.145850337716972 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: mvoteiza@HIDDEN, larsi@HIDDEN, 23068 <at> debbugs.gnu.org
Received: via spool by 23068-submit <at> debbugs.gnu.org id=B23068.145850337716972
          (code B ref 23068); Sun, 20 Mar 2016 19:50:02 +0000
Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 19:49:37 +0000
Received: from localhost ([127.0.0.1]:55866 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahjM1-0004Pf-7C
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2016 15:49:37 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:35094)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1ahjLz-0004PW-9R
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 15:49:35 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3qSqKn5TkVz3hjQq;
 Sun, 20 Mar 2016 20:49:33 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3qSqKn4DFWzvh1m;
 Sun, 20 Mar 2016 20:49:33 +0100 (CET)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id nD479oIJyoFG; Sun, 20 Mar 2016 20:49:32 +0100 (CET)
X-Auth-Info: ZSROoDgFJ4AWi1z6RMbVi4BfxajBTsPfuJfFrMZN823zQvM6PfF26y3A1ClJtZB7
Received: from igel.home (ppp-88-217-10-131.dynamic.mnet-online.de
 [88.217.10.131]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Sun, 20 Mar 2016 20:49:32 +0100 (CET)
Received: by igel.home (Postfix, from userid 1000)
 id 06B002C4F2E; Sun, 20 Mar 2016 20:49:32 +0100 (CET)
From: Andreas Schwab <schwab@HIDDEN>
References: <87h9g1g7lg.fsf@HIDDEN> <83h9g16rfy.fsf@HIDDEN>
 <20160320170212.GA19097@HIDDEN> <m3d1qpulaq.fsf@HIDDEN>
 <87fuvluk09.fsf@HIDDEN> <838u1d6n9z.fsf@HIDDEN>
X-Yow: It's today's SPECIAL!
Date: Sun, 20 Mar 2016 20:49:31 +0100
In-Reply-To: <838u1d6n9z.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 20 Mar
 2016 20:02:16 +0200")
Message-ID: <87bn69udys.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Andreas Schwab <schwab@HIDDEN>
>> Date: Sun, 20 Mar 2016 18:39:02 +0100
>> Cc: Mark Oteiza <mvoteiza@HIDDEN>, 23068 <at> debbugs.gnu.org
>> 
>> This also needs to encode the string in one way.
>
> The network-related functions in process.c generally don't bother
> encoding the strings at all.

That doesn't mean it is correct.  A file name needs to be encoded.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Mar 2016 19:53:02 +0000
Resent-Message-ID: <handler.23068.B23068.145850355117237 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23068
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Andreas Schwab <schwab@HIDDEN>
Cc: mvoteiza@HIDDEN, larsi@HIDDEN, 23068 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 23068-submit <at> debbugs.gnu.org id=B23068.145850355117237
          (code B ref 23068); Sun, 20 Mar 2016 19:53:02 +0000
Received: (at 23068) by debbugs.gnu.org; 20 Mar 2016 19:52:31 +0000
Received: from localhost ([127.0.0.1]:55871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahjOo-0004Tx-M9
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2016 15:52:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35028)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ahjOk-0004Tg-US
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 15:52:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1ahjOc-0006u5-3n
 for 23068 <at> debbugs.gnu.org; Sun, 20 Mar 2016 15:52:21 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35733)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1ahjOc-0006u1-0A; Sun, 20 Mar 2016 15:52:18 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1661
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ahjOb-0003KH-3m; Sun, 20 Mar 2016 15:52:17 -0400
Date: Sun, 20 Mar 2016 21:51:52 +0200
Message-Id: <834mc16i7b.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87bn69udys.fsf@HIDDEN> (message from Andreas Schwab on
 Sun, 20 Mar 2016 20:49:31 +0100)
References: <87h9g1g7lg.fsf@HIDDEN> <83h9g16rfy.fsf@HIDDEN>
 <20160320170212.GA19097@HIDDEN> <m3d1qpulaq.fsf@HIDDEN>
 <87fuvluk09.fsf@HIDDEN> <838u1d6n9z.fsf@HIDDEN>
 <87bn69udys.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: mvoteiza@HIDDEN,  larsi@HIDDEN,  23068 <at> debbugs.gnu.org
> Date: Sun, 20 Mar 2016 20:49:31 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Andreas Schwab <schwab@HIDDEN>
> >> Date: Sun, 20 Mar 2016 18:39:02 +0100
> >> Cc: Mark Oteiza <mvoteiza@HIDDEN>, 23068 <at> debbugs.gnu.org
> >> 
> >> This also needs to encode the string in one way.
> >
> > The network-related functions in process.c generally don't bother
> > encoding the strings at all.
> 
> That doesn't mean it is correct.

No, of course not.  What it means is that many more places need to be
fixed in this regard.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 31 Oct 2021 03:12:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 30 23:12:08 2021
Received: from localhost ([127.0.0.1]:58793 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mh1GS-0001Bk-Io
	for submit <at> debbugs.gnu.org; Sat, 30 Oct 2021 23:12:08 -0400
Received: from mail-pf1-f180.google.com ([209.85.210.180]:36775)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1mh1GR-0001BX-MR
 for control <at> debbugs.gnu.org; Sat, 30 Oct 2021 23:12:08 -0400
Received: by mail-pf1-f180.google.com with SMTP id m26so13102029pff.3
 for <control <at> debbugs.gnu.org>; Sat, 30 Oct 2021 20:12:07 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:mime-version:date:message-id:subject:to;
 bh=q89U/09sgbEaNBTDm9PxvIUKyMktA0EFlHert29l9ys=;
 b=m1DzSY9wXutpAi1UA+dhVTbE+6rqxvBbD3vqM8AgsaNjKJQMVcBZWGrdPbNka7Cku6
 c20olwY7hGBeOqbX0DtAoAUwOFQGkq6VMH07XTM1uoRydCoug4W1nlplQA1Il6Ch++LA
 WF+GAmhTh1BjURDlU7T2JiXkecDuLuZuYWDZmIxRrcWGkqGrvo8Gv5JZpqEzY6aIQ0eS
 PLTzjmU0Z6IoYGGvQm1tS0LB1eWvHa5Mpg/x/MeJV33ta3dPt2nJA3VI/HdA8+yHkIdX
 nsW9Kmwzai5bwK5ZVeCjlBtVB9A8f0NWChstqiPZ4g2Yz3fvQtgyZMJTEb3LhUnxs2j8
 f6PA==
X-Gm-Message-State: AOAM531E/BuFgGgHt882dgZBGjBGHbP7F6tE7xDpdDlcEOS2VphDh56I
 dBdSKwPuPzi6bkIaF8BunQSKY0p0hAtUOvHMeJMqku9D
X-Google-Smtp-Source: ABdhPJxgd45qcdq2neJ8YWLP833KPCSUW8nSZkwrmkb4wP2jVS3CvYn0sukKQTz+X8aYuVOF0Z7M9os1poN+cnPJ7tg=
X-Received: by 2002:a05:6a00:244d:b0:44d:c279:5155 with SMTP id
 d13-20020a056a00244d00b0044dc2795155mr20227483pfj.0.1635649921988; Sat, 30
 Oct 2021 20:12:01 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 30 Oct 2021 20:12:01 -0700
From: Stefan Kangas <stefan@HIDDEN>
MIME-Version: 1.0
Date: Sat, 30 Oct 2021 20:12:01 -0700
Message-ID: <CADwFkmn26cf1va7-A_jyB48=uDcz_PcsxjonTEz+TbjNV_9V5w@HIDDEN>
Subject: control message for bug #23068
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

severity 23068 wishlist
quit





Last modified: Sun, 31 Oct 2021 03:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.