Up to [local] / src / sbin / mount_vnd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.22 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:45 2019 UTC (4 years, 11 months ago) by deraadt
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,
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,
HEAD
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 25 22:39:46 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.20: +29 -162 lines
Diff to previous 1.20 (colored)
Remove vnconfig functionality, and try to adapt the manual page. I'm considering simply deleting mount_vnd -- are there any users of this bizzare feature?
Revision 1.20 / (download) - annotate - [select for diffs], Sun Jan 24 06:32:33 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
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,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)
fix 1.18 by removing extra argument from explicit_bzero calls from kili@
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 24 01:20:44 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
Changes since 1.18: +5 -7 lines
Diff to previous 1.18 (colored)
Immediately zero the stack-allocated buffers for the passphrase and salt rather than doing so conditionally later on. These were false positives during an explicit_bzero audit. ok gsoares@
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 24 01:02:24 2016 UTC (8 years, 4 months ago) by gsoares
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)
use explicit_bzero(3) for clearing sensitive data OK millert@ mmcc@
Revision 1.17 / (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_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Wed Oct 29 21:30:10 2014 UTC (9 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)
dial down the direness of the warning; vnd isn't going anywhere yet
Revision 1.15 / (download) - annotate - [select for diffs], Fri May 30 16:14:19 2014 UTC (10 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.14: +5 -1 lines
Diff to previous 1.14 (colored)
WARNING: Encrypted vnd is insecure. Migrate your data to softraid before 5.7.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 11 23:08:02 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)
unused variable
Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 23 19:57:02 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)
simple repair for large ino_t
Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 6 19:41:59 2012 UTC (11 years, 8 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)
move pkcs5_pbkdf5 function to libutil so everybody can play with it ok deraadt jsing matthew
Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 18 16:52:11 2011 UTC (13 years, 1 month ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)
Deprecate vnds in favour of svnds. In effect, this removes the "old" vndX nodes, and renames the svndX nodes to vndX. Old svndX nodes will still continue to work though, for now. Cleanup accordingly. ok deraadt@, todd@ comments and ok on the man page bits from jmc@
Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 29 03:43:13 2011 UTC (13 years, 4 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.9: +7 -10 lines
Diff to previous 1.9 (colored)
no need for fopen, when opendev gives us a perfectly good fd. from "maurice"
Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 12 01:44:08 2010 UTC (14 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.8: +23 -15 lines
Diff to previous 1.8 (colored)
remove pkcs5 implementation here and use the one from bioctl. no libcrypto dependency. and some other tweaks. from mikeb. ok djm
Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 3 23:24:25 2008 UTC (15 years, 9 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.7: +19 -14 lines
Diff to previous 1.7 (colored)
Replace -s (sector size) option with more general -t (disktype) option which makes the vnd device emulate the geometry of the specified disktab(5) entry. No change in behaviour or geometry unless -t is used. API for vnd configuration ioctl (VNDIOCSET) changes, so mount_vnd must be in sync with kernel. Tested & ok jsing@ 'Lovely' deraadt@
Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 15 14:41:21 2008 UTC (15 years, 9 months ago) by jsing
Branch: MAIN
Changes since 1.6: +5 -4 lines
Diff to previous 1.6 (colored)
Add -s option to usage(). Prompted by jmc@ ok jmc@
Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 14 17:10:29 2008 UTC (15 years, 9 months ago) by jsing
Branch: MAIN
Changes since 1.5: +15 -6 lines
Diff to previous 1.5 (colored)
Allow the sector size to be specified by the user when configuring a vnd(4) device, via a new -s option to vnconfig/mount_vnd. This allows us to create disklabels and file systems that are suitable for use on devices that have a non-512 byte sector size (eg. CDROMs). With help from krw@ and feedback from pedro@. ok krw@, pedro@
Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 14 01:47:27 2008 UTC (15 years, 11 months ago) by grunk
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)
finish djm@'s job of making mount_vnd -Wall clean, and mark this in the Makefile. ok djm@, "get the M's out of my tree" deraadt@
Revision 1.4 / (download) - annotate - [select for diffs], Sat Sep 29 07:10:09 2007 UTC (16 years, 8 months ago) by fkr
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
default to svnds now to accomodate change in the vnd driver. from Piotr Durlej with man-page nits from me tested henning@, krw@, thib@ and myself. ok thib@, grunk@, krw@
Revision 1.3 / (download) - annotate - [select for diffs], Sun May 27 04:13:40 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
sync usage(); ok grunk
Revision 1.2 / (download) - annotate - [select for diffs], Sun May 27 03:19:15 2007 UTC (17 years ago) by ray
Branch: MAIN
Changes since 1.1: +5 -10 lines
Diff to previous 1.1 (colored)
Prevent buf[-1] access if strlen(buf) == 0. Simplify some if-else statements while here. OK grunk@ and tedu@.
Revision 1.1 / (download) - annotate - [select for diffs], Sat May 26 03:37:45 2007 UTC (17 years ago) by grunk
Branch: MAIN
make mount_vnd a C program by pulling in the vnconfig(8) source and adding a mount_vnd(8) interface to it. merge manpages as well. next goal is to have this here completely replace the usr.sbin/vnconfig directory. prodded by many, manpage discussion and help jmc@, "go ahead" deraadt@