Page MenuHomeFreeBSD

makefs: correct iso9660 Rock Ridge TF timestamps
ClosedPublic

Authored by emaste on Mar 22 2023, 11:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 18 2024, 7:43 AM
Unknown Object (File)
Feb 22 2024, 7:16 PM
Unknown Object (File)
Feb 19 2024, 10:11 PM
Unknown Object (File)
Feb 10 2024, 9:39 PM
Unknown Object (File)
Feb 6 2024, 7:34 PM
Unknown Object (File)
Feb 5 2024, 10:45 PM
Unknown Object (File)
Dec 20 2023, 7:39 AM
Unknown Object (File)
Nov 21 2023, 8:53 AM
Subscribers

Details

Summary
The bit definitions for the TF_* timestamp bits (TF_MODIFY, etc.) were
incorrect, and timestamps were written in the wrong order.

See RRIP 4.1.6 Description of the "TF" System Use Entry for details.

PR:             203531

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
jrtc27 added a subscriber: jrtc27.

This matches my reading of the spec

This revision is now accepted and ready to land.Mar 23 2023, 12:47 AM
usr.sbin/makefs/cd9660/iso9660_rrip.h
63–65

these don't make sense - the first two are not used, the third is p->attr.rr_entry.NM.flags[0] = (unsigned char) NM_PARENT; (i.e., 0x200 cast to a byte)

to be dealt with later