freebsd-skq/usr.sbin/makefs
Ed Maste 286258a9a0 makefs: Fix "time" mtree attribute handling
When processing mtree(5) MANIFEST files, makefs(8) previously threw an
error if it encountered an entry whose "time" attribute contained a
non-zero subsecond component (e.g. time=1551620152.987220000).

Update the handling logic to properly assign the subsecond component if
built with nanosecond support, or silently discard it otherwise.

Also, re-enable the time attribute for the kyua tests.

PR:		194703
Submitted by:	Mitchell Horne <mhorne063@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D19627
2019-03-18 19:26:36 +00:00
..
cd9660 makefs: ANSIfy 2018-05-16 02:58:05 +00:00
ffs makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
msdos makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
tests makefs: Fix "time" mtree attribute handling 2019-03-18 19:26:36 +00:00
cd9660.c Synchronise with NetBSD's version of EFI handling for El Torito images. 2018-03-31 15:04:41 +00:00
cd9660.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ffs.c Improve error handling: bail out if one of the files scheduled 2019-02-25 23:45:36 +00:00
ffs.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile makefs: tidy up reach-over source 2018-04-20 22:23:38 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
makefs.8 Synchronise with NetBSD's version of EFI handling for El Torito images. 2018-03-31 15:04:41 +00:00
makefs.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
makefs.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
msdos.c makefs: whitespace cleanup in msdos files 2018-07-25 13:27:20 +00:00
msdos.h makefs: add copies of NetBSD makefs msdos source files 2017-06-23 18:58:28 +00:00
mtree.c makefs: Fix "time" mtree attribute handling 2019-03-18 19:26:36 +00:00
walk.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00