[Toybox] [PATCH] Add xxd -p and -r.

enh enh at google.com
Thu Feb 18 21:33:39 PST 2016


SELinux denials include hex-encoded paths in the log messages; xxd -r -p is
a convenient way to decode them.

The heuristics are a little weird to my mind, but match the documentation
and observed behavior.
---
 tests/xxd.test   | 19 ++++++++++++++
 toys/other/xxd.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 92 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-xxd-p-and-r.patch
Type: text/x-patch
Size: 5528 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160218/245f9991/attachment-0004.bin>


More information about the Toybox mailing list