Home | History | Annotate | Download | only in udf
History log of /src/sys/fs/udf/ecma167-udf.h
RevisionDateAuthorComments
 1.17  18-Mar-2022  reinoud Replace the variable field data[0] to data[1] to avoid undefined behaviour.
 1.16  09-Aug-2018  reinoud Sync with UDFclient
 1.15  25-Jul-2018  kamil Avoid undefined behavior in ecma167-udf.h

Define the UDF_EXT_* symbols as unsigned values.
This prevents undefined behavior of altering the signedness bit in a part
of them. Swap the remaining symbols to unsigned values to keep the
consistency.

Required by GCC when building with Undefined Behavior Sanitizer.
 1.14  07-Jul-2011  reinoud branches: 1.14.52; 1.14.54;
English checked and corrected, courtisy of
Igor Sobrado <sobrado@orion.ciencias.uniovi.es> as noted in OpenBSD that has a
copy of this file.
 1.13  23-Dec-2009  mbalmer Fix typo in comments, no code change.
 1.12  18-May-2009  reinoud Make ecma167 header file compilable by pcc
 1.11  25-Jul-2008  reinoud branches: 1.11.4; 1.11.8; 1.11.12;
Add metadata bitmap ICB file type
 1.10  24-Jun-2008  reinoud branches: 1.10.2;
Fix attribute length calculation and fix naming convention.
 1.9  21-Jun-2008  reinoud Elaborate file times extension times definition.
 1.8  14-May-2008  reinoud branches: 1.8.2;
Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.
 1.7  25-Dec-2007  perry branches: 1.7.6; 1.7.8; 1.7.10; 1.7.12;
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
 1.6  04-Jan-2007  reinoud branches: 1.6.20; 1.6.26; 1.6.28; 1.6.32;
Add UDF_ICB_FILETYPE_REALTIME type as found on UDF 2.50 discs. Also revert
a multiplication order to enforce 64 bit math.
 1.5  22-Oct-2006  reinoud branches: 1.5.2;
Add extended attribute numbers associated with the two defined structures
for times and device specification.
 1.4  31-Aug-2006  reinoud branches: 1.4.2; 1.4.4; 1.4.6;
Add shortcut for struct long_ad 's Unique ID hint that covers the lower 32
bits of the targeted files 64 bits Unique ID for recovery purposes.
 1.3  25-Aug-2006  reinoud Fix small though important errors in the Ecma-167 structure definitions.
 1.2  02-Feb-2006  reinoud branches: 1.2.4; 1.2.6; 1.2.16; 1.2.18;
Replace reinclude protection names with less generic versions.
 1.1  02-Feb-2006  reinoud Initial import of a UDF file system implementation for NetBSD.

The code supports read access to all media types that CD/DVD type drives
can recognize including DVD-RAM and BD- drives as well as harddisc partions
and vnd devices. UDF versions upto the latest 2.60 are to be supported
though due to lack of test media version 2.50 and 2.60 are not implemented
yet though easy to add. Both open and closed media are supported.

Write access is planned and in preparation. To facilitate this some hooks
are present in the code that are not strictly needed in a read-only
implementation but which allow writing to be added more easily.

Implemented and tested media types are CD-ROM, CD-R, CD-RW, CD-MRW,
DVD-ROM, DVD*R, DVD*RW, DVD+MRW but the same code can also read DVD-RAM,
HD-DVD and BluRay discs. Also vnd devices have been tested with several
sector sizes.

Discs created and written by UDFclient, Nero's InCD and Roxio's
DirectCD/Drag2Disc read fine.
 1.2.18.2  08-Sep-2006  rpaulo Pull up following revision(s) (requested by reinoud in ticket #125):
sys/fs/udf/udf_subr.c: revision 1.15
sys/fs/udf/udf_vfsops.c: revision 1.13
sys/fs/udf/ecma167-udf.h: revision 1.4
Add shortcut for struct long_ad 's Unique ID hint that covers the lower 32
bits of the targeted files 64 bits Unique ID for recovery purposes.
Fix locking scheme in udf_mount() to follow more the other filingsystems.
For yet unknown reasons passing the LOCKLEAF flag to namei() did return a
locked vnode as was meant but would panic when a raw device was passed.
Fix copying too much space from a small buffer. The chances of it actually
happening are small but corrupt media could trigger it.
 1.2.18.1  27-Aug-2006  riz Pull up following revision(s) (requested by reinoud in ticket #66):
sys/fs/udf/ecma167-udf.h: revision 1.3
Fix small though important errors in the Ecma-167 structure definitions.
 1.2.16.5  21-Jan-2008  yamt sync with head
 1.2.16.4  26-Feb-2007  yamt sync with head.
 1.2.16.3  30-Dec-2006  yamt sync with head.
 1.2.16.2  21-Jun-2006  yamt sync with head.
 1.2.16.1  02-Feb-2006  yamt file ecma167-udf.h was added on branch yamt-lazymbuf on 2006-06-21 15:09:36 +0000
 1.2.6.1  03-Sep-2006  yamt sync with head.
 1.2.4.2  18-Feb-2006  yamt sync with head.
 1.2.4.1  02-Feb-2006  yamt file ecma167-udf.h was added on branch yamt-uio_vmspace on 2006-02-18 15:39:18 +0000
 1.4.6.1  22-Oct-2006  yamt sync with head
 1.4.4.2  09-Sep-2006  rpaulo sync with head
 1.4.4.1  31-Aug-2006  rpaulo file ecma167-udf.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:57:06 +0000
 1.4.2.2  12-Jan-2007  ad Sync with head.
 1.4.2.1  18-Nov-2006  ad Sync with head.
 1.5.2.1  04-Jan-2007  bouyer Pull up following revision(s) (requested by reinoud in ticket #333):
sys/fs/udf/udf_subr.c: revision 1.27-1.29
sys/fs/udf/udf_vnops.c: revision 1.9
sys/fs/udf/ecma167-udf.h: revision 1.6
Fix compilation issue when specifying different flags or compiling with a
different compiler. Thanks to Jared for noting.
Add UDF_ICB_FILETYPE_REALTIME type as found on UDF 2.50 discs. Also revert
a multiplication order to enforce 64 bit math.
Forgot one place for UDF_ICB_FILETYPE_RANDOMACCESS.
 1.6.32.1  02-Jan-2008  bouyer Sync with HEAD
 1.6.28.1  26-Dec-2007  ad Sync with head.
 1.6.26.1  18-Feb-2008  mjf Sync with HEAD.
 1.6.20.1  09-Jan-2008  matt sync with HEAD
 1.7.12.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.7.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.10.4  11-Mar-2010  yamt sync with head
 1.7.10.3  20-Jun-2009  yamt sync with head
 1.7.10.2  04-May-2009  yamt sync with head.
 1.7.10.1  16-May-2008  yamt sync with head.
 1.7.8.1  18-May-2008  yamt sync with head.
 1.7.6.3  28-Sep-2008  mjf Sync with HEAD.
 1.7.6.2  29-Jun-2008  mjf Sync with HEAD.
 1.7.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.8.2.2  28-Jul-2008  simonb Sync with head.
 1.8.2.1  27-Jun-2008  simonb Sync with head.
 1.10.2.1  19-Oct-2008  haad Sync with HEAD.
 1.11.12.1  21-Apr-2010  matt sync to netbsd-5
 1.11.8.1  23-Jul-2009  jym Sync with HEAD.
 1.11.4.1  06-Jun-2009  bouyer Pull up following revision(s) (requested by reinoud in ticket #769):
sys/fs/udf/ecma167-udf.h: revision 1.12
Make ecma167 header file compilable by pcc
 1.14.54.1  10-Jun-2019  christos Sync with HEAD
 1.14.52.2  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.14.52.1  28-Jul-2018  pgoyette Sync with HEAD

RSS XML Feed