opnsense-src/usr.sbin/makefs
Nathaniel Filardo d2c77ce6f3 makefs: Cast daddr_t to off_t before multiplication
Apparently some large-file systems out there, such as my powerpc64le
Linux box, define daddr_t as a 32-bit type, which is sad and stymies
cross-building disk images.  Cast daddr_t to off_t before doing
arithmetic that overflows.

Reviewed by:	arichardson, jrtc27, imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D27458

(cherry picked from commit 7ef082733b)
2021-09-07 13:06:44 +01:00
..
cd9660 Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs makefs: Cast daddr_t to off_t before multiplication 2021-09-07 13:06:44 +01:00
msdos msdosfs deget(): add locking flags argument 2021-09-03 04:08:35 +03:00
tests Revert r362390, those tests are fixed by r362418 2020-06-23 19:14:38 +00:00
cd9660.c
cd9660.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs.c Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-26 21:08:48 -04:00
ffs.h Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-26 21:08:48 -04:00
Makefile Fix makefs bootstrap on macOS after D25563 2020-08-25 13:30:24 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
makefs.8 Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-26 21:08:48 -04:00
makefs.c makefs: add msdosfs (FAT) support 2019-08-20 18:20:45 +00:00
makefs.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
msdos.c Fix contents= being ignored in msdosfs makefs mtree 2019-11-15 18:34:23 +00:00
msdos.h Properly update FSInfo block after generation. 2019-08-23 05:23:45 +00:00
mtree.c makefs: Ignore the "tags" keyword in mtree manifests 2021-04-06 09:07:24 -04:00
walk.c