From: Mark Oteiza <mvoteiza@udel.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 23068@debbugs.gnu.org
Subject: bug#23068: 25.1.50; unix socket address in abstract namespace
Date: Sun, 20 Mar 2016 13:02:12 -0400 [thread overview]
Message-ID: <20160320170212.GA19097@holos.localdomain> (raw)
In-Reply-To: <83h9g16rfy.fsf@gnu.org>
On 20/03/16 at 06:32pm, Eli Zaretskii wrote:
> > From: Mark Oteiza <mvoteiza@udel.edu>
> > 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)
next prev parent reply other threads:[~2016-03-20 17:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-20 3:18 bug#23068: 25.1.50; unix socket address in abstract namespace Mark Oteiza
2016-03-20 16:32 ` Eli Zaretskii
2016-03-20 17:02 ` Mark Oteiza [this message]
2016-03-20 17:11 ` Lars Magne Ingebrigtsen
2016-03-20 17:25 ` Eli Zaretskii
2016-03-20 17:39 ` Andreas Schwab
2016-03-20 18:02 ` Eli Zaretskii
2016-03-20 19:49 ` Andreas Schwab
2016-03-20 19:51 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160320170212.GA19097@holos.localdomain \
--to=mvoteiza@udel.edu \
--cc=23068@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).