freebsd-skq/usr.sbin/makefs
benno 2ed87b40c3 Replace makefs' hand-rolled unescaping with strunvis
mtree path names and link attributes are encoded, generally using strvis. Newer
versions of mtree will use C-style escapes but previously the accepted form was
octal escapes. makefs' mtree code spots the C-style escapes but fails to deal
with octal escapes correctly.

Remove mtree's escape-decoding code (except for a few instances where it's
needed) and instead pass pathnames and link targets through strunvis prior to
use.

Reviewed by:	marcel
MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D12104
2017-08-25 16:10:16 +00:00
..
cd9660 makefs: use size_t as appropriate to clean up warnings 2017-05-08 13:09:27 +00:00
ffs makefs: rename variable for NetBSD diff reduction 2017-06-03 14:28:19 +00:00
msdos makefs: add copies of NetBSD makefs msdos source files 2017-06-23 18:58:28 +00:00
tests MFhead@r321960 2017-08-02 22:28:12 +00:00
cd9660.c makefs: clean up warnings 2017-05-03 14:57:04 +00:00
cd9660.h makefs: sync with NetBSD 2017-03-29 20:49:41 +00:00
ffs.c makefs: free buf in case of error 2017-05-31 16:28:29 +00:00
ffs.h makefs: Add soft-updates option 2017-05-18 14:19:06 +00:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend
makefs.8 makefs: add -O (offset) option 2017-05-26 15:49:20 +00:00
makefs.c makefs: add -O (offset) option 2017-05-26 15:49:20 +00:00
makefs.h makefs: add -O (offset) option 2017-05-26 15:49:20 +00:00
msdos.c makefs: add copies of NetBSD makefs msdos source files 2017-06-23 18:58:28 +00:00
msdos.h makefs: add copies of NetBSD makefs msdos source files 2017-06-23 18:58:28 +00:00
mtree.c Replace makefs' hand-rolled unescaping with strunvis 2017-08-25 16:10:16 +00:00
walk.c makefs: further size_t warning cleanup (missing from r317944) 2017-05-08 16:57:33 +00:00