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

2016-10-31 Thread Isaac Boukris
Hi David, thanks for looking at it. On Mon, Oct 31, 2016 at 9:31 PM, David Miller wrote: > From: Isaac Boukris > Date: Sat, 29 Oct 2016 22:20:20 +0300 > >> Abstract unix domain socket may embed null characters, >> these should be translated to '@' when printed

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

2016-10-31 Thread Isaac Boukris
tes of the name (instead of getting cut at the first null occurrence). Signed-off-by: Isaac Boukris --- net/unix/af_unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 145082e..5d1c14a 100644 --- a/net/unix/af_unix.c +++

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

2016-10-29 Thread Isaac Boukris
tes of the name (instead of getting cut at the first null occurrence). Signed-off-by: Isaac Boukris --- net/unix/af_unix.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 145082e..9250b03 100644 --- a/net/unix/af_un

[PATCH] iproute2: ss: escape all null bytes in abstract unix domain socket

2016-10-29 Thread Isaac Boukris
Abstract unix domain socket may embed null characters, these should be translated to '@' when printed by ss the same way the null prefix is currently being translated. Signed-off-by: Isaac Boukris --- misc/ss.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/m