Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1513347

Re: [PATCH v2] unix: escape all null bytes in abstract unix domain socket

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] unix: escape all null bytes in abstract unix domain socket
Date 2016-11-01 17:20 +0100
Message-ID <syJX4-2y5-31@gated-at.bofh.it> (permalink)
References <syvr3-1lH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Isaac Boukris <iboukris@gmail.com>
Date: Tue,  1 Nov 2016 02:41:35 +0200

> Abstract unix domain socket may embed null characters,
> these should be translated to '@' when printed out to
> proc the same way the null prefix is currently being
> translated.
> 
> This helps for tools such as netstat, lsof and the proc
> based implementation in ss to show all the significant
> bytes of the name (instead of getting cut at the first
> null occurrence).
> 
> Signed-off-by: Isaac Boukris <iboukris@gmail.com>

Applied, thank you.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2] unix: escape all null bytes in abstract unix domain socket Isaac Boukris <iboukris@gmail.com> - 2016-11-01 01:50 +0100
  Re: [PATCH v2] unix: escape all null bytes in abstract unix domain  socket David Miller <davem@davemloft.net> - 2016-11-01 17:20 +0100

csiph-web