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

From: David Miller
Date: Tue Nov 01 2016 - 12:16:19 EST


From: Isaac Boukris <iboukris@xxxxxxxxx>
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@xxxxxxxxx>

Applied, thank you.