diff options
author | Isaac Boukris <iboukris@gmail.com> | 2016-11-01 02:41:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-01 12:15:13 -0400 |
commit | e7947ea770d0de434d38a0f823e660d3fd4bebb5 (patch) | |
tree | b24576e64c6e19ca2679a9faad147da2aac967ea /drivers/hid/hid-input.c | |
parent | 7bb9f731d1026bd48b84cee7853cba7f5678193c (diff) |
unix: escape all null bytes in abstract unix domain socket
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid/hid-input.c')
0 files changed, 0 insertions, 0 deletions