1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00
freebsd/usr.bin/mkuzip
Robert Wing 525a177c16 mkuzip: drop support for executable uzip images
A uzip image has a 128-byte header, historically, this header could be
executed as a shell script to mount the uzip image to a user provided
mountpoint.

The embedded shell commands only work for uzip images that were created
with zlib or zstd compression that contained an ISO-9660 file system.
Given the limited space available in the uzip header, it is not
practical to extend this feature to include other file systems or to
provide sensible error handling and error messages to the user.
For these reasons, abandon the embedded shell script in the uzip image
header.

To maintain backwards compatibility, the shebang and shell must reside
in the 128-byte header.

This change of behavior is documented in mkuzip(8) and an example
has been provided for creating/mounting uzip images.

PR: 276174
2024-10-20 22:45:09 -08:00
..
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend
mkuz_blk_chain.h
mkuz_blk.c
mkuz_blk.h
mkuz_blockcache.c
mkuz_blockcache.h
mkuz_cfg.h
mkuz_cloop.h
mkuz_conveyor.c
mkuz_conveyor.h
mkuz_format.h
mkuz_fqueue.c
mkuz_fqueue.h
mkuz_insize.c
mkuz_insize.h
mkuz_lzma.c
mkuz_lzma.h mkuzip: drop support for executable uzip images 2024-10-20 22:45:09 -08:00
mkuz_time.c
mkuz_time.h
mkuz_zlib.c
mkuz_zlib.h mkuzip: drop support for executable uzip images 2024-10-20 22:45:09 -08:00
mkuz_zstd.c
mkuz_zstd.h mkuzip: drop support for executable uzip images 2024-10-20 22:45:09 -08:00
mkuzip.8 mkuzip: drop support for executable uzip images 2024-10-20 22:45:09 -08:00
mkuzip.c mkuzip: drop support for executable uzip images 2024-10-20 22:45:09 -08:00
mkuzip.h