OpenBSD CVS

CVS log for src/usr.sbin/makefs/cd9660.c


[BACK] Up to [local] / src / usr.sbin / makefs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 11 05:34:32 2022 UTC (2 years, 4 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

spelling

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 12 15:09:21 2021 UTC (2 years, 10 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Change the error reporting pattern throughout the tree when unveil
fails to report the path that the failure occured on. Suggested by
deraadt@ after some tech discussion.

Work done and verified by Ashton Fagg <ashton@fagg.id.au>

ok deraadt@ semarie@ claudio@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 20 01:13:14 2018 UTC (5 years, 6 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.20: +8 -3 lines
Diff to previous 1.20 (colored)

unveil(2) boot images which are specified by -o option.  Also exit
with an error status when writing cd image fails.

ok deraadt

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 6 19:09:45 2017 UTC (7 years, 2 months ago) by natano
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.19: +14 -7 lines
Diff to previous 1.19 (colored)

Remove the CD9660MAXPATH define. It was used to construct the path for
opening the file, so PATH_MAX makes more sense here. While there change
the code to do two less allocations per file.

ok deraadt

Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 17 16:12:15 2016 UTC (7 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

While here nuke some more annoying whitespace nits.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Nov 26 18:57:25 2016 UTC (7 years, 6 months ago) by natano
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Avoid NULL pointer dereference in cd9660.
from christos@NetBSD via mestre

Original Log Message:
PR/51652: Sevan Janiyan: makefs dies due to segmentation fault
Don't dereference NULL when running out of nodes during rename.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 26 15:31:13 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

s/EXIT_FAILURE/1/

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 26 14:14:16 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.15: +0 -3 lines
Diff to previous 1.15 (colored)

Remove cd9660's chrp-boot option. deraadt confirmed we don't support any
CHRP hardware.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 26 14:06:46 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Use OPT_BOOL, not OPT_INT32 for boolean cd9660 options.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 26 07:53:47 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.13: +35 -67 lines
Diff to previous 1.13 (colored)

Remove FS-specific option descriptions from the source code. We have a
manual for that. While there document the isolevel option and remove
some dysfunctional cd9660 options.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 23 11:09:38 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.12: +3 -58 lines
Diff to previous 1.12 (colored)

No verbose flag for cd9660.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 23 10:32:42 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

Remove cd9660's keep-bad-images option.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 23 10:22:21 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.10: +86 -105 lines
Diff to previous 1.10 (colored)

Remove short option names for -o.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Oct 22 20:50:21 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

-#include <stdbool.h>

Revision 1.9 / (download) - annotate - [select for diffs], Sat Oct 22 19:17:47 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Clean up timestamp handling code to be less confusing.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 22 18:17:14 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.7: +1 -4 lines
Diff to previous 1.7 (colored)

Remove huge amounts of debug code, that make the code nearly unreadable.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 17 08:22:38 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.6: +1 -14 lines
Diff to previous 1.6 (colored)

Remove some more unused cd9660 options.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 17 08:13:24 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.5: +2 -20 lines
Diff to previous 1.5 (colored)

Remove cd9660's archimedes option, we won't need RISC OS metadata on our
ISO images.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 16 21:47:03 2016 UTC (7 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.4: +6 -25 lines
Diff to previous 1.4 (colored)

there's no need for a special typedef and function pointer for picking
between two functions.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 16 21:44:43 2016 UTC (7 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.3: +17 -15 lines
Diff to previous 1.3 (colored)

/* XXX bounds checking! */
very crudely fix a few strcpy and sprintf warnings.
leave the quality warnings.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 16 20:26:56 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

Add OpenBSD RCS tags; reminded by tb

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 16 19:53:11 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.1: +0 -3 lines
Diff to previous 1.1 (colored)

Unused includes, as reported by include-what-you-use from ports.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 16 17:08:53 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN

Import makefs - a tool to create filesystem images from a directory.

This is a rough port of the NetBSD tool with some features removed we
don't need. It compiles, but I don't promise anything more. Importing
now, so we can hack on it in tree.

The supported filesystem types are: cd9660, ffs and msdosfs.

ok deraadt

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.