OpenBSD CVS

CVS log for src/sbin/mount_tmpfs/mount_tmpfs.c


[BACK] Up to [local] / src / sbin / mount_tmpfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 4 23:50:47 2022 UTC (17 months, 3 weeks ago) by cheloha
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, HEAD
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

userspace: remove vestigial '?' cases from top-level getopt(3) loops

getopt(3) returns '?' when it encounters a flag not present in the in
the optstring or if a flag is missing its option argument.  We can
handle this case with the "default" failure case with no loss of
legibility.  Hence, remove all the redundant "case '?':" lines.

Prompted by dlg@.  With help from dlg@ and millert@.

Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2

ok naddy@ millert@ dlg@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jul 11 07:03:03 2018 UTC (5 years, 10 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, 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, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Using resolved after realpath(3) has failed is dangerous. Don't do it!

Minor tweak and OK jca@
OK beck@ deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 6 17:09:03 2016 UTC (7 years, 11 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

restore my ability to do full bulks.
okay deraadt@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 16 06:39:59 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.4: +6 -10 lines
Diff to previous 1.4 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 21 21:58:27 2014 UTC (10 years, 4 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

include util.h for scan_scaled()

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 3 10:37:02 2013 UTC (11 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

sprinkle $OpenBSD$, pointed out by pedro

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 2 14:38:11 2013 UTC (11 years ago) by jmc
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

various fixes; passed back to netbsd

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 1 14:37:32 2013 UTC (11 years ago) by espie
Branch: MAIN

import tmpfs code, originally from netbsd.
heavy lifting by Pedro Martelletto, timestamp fixes by me.

THIS IS NOT ENABLED YET, AND REQUIRES UVM CHANGES AND REVIEW.
Imported, so that working on it can be mostly done in tree with less painful
diff exchanges, and that we have history of further changes.

okay tedu@, 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.