Updated dependencies
Merge head@256284
Sweep man pages replacing ad -> ada.Approved by: re (blackend)MFC after: 1 weekX-MFC note: stable/9 only
sync from head
GC unused variables. Prefer NULL over 0 for pointers.
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Requested by: Simon Gerraty <sjg@juniper.net>
Change checkpath() to not exit on error. This is a prerequisite forfixing the mount(8) "failok" option.PR: 163668Reviewed by: Garrett Cooper, delphij (previous version)
mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to thebottom of the manpages and order them consistently.GNU groff doesn't care about the ordering, and doesn't even mentionCAVEATS a
mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to thebottom of the manpages and order them consistently.GNU groff doesn't care about the ordering, and doesn't even mentionCAVEATS and SECURITY CONSIDERATIONS as common sections and where to putthem.Found by: mdocml lint runReviewed by: ru
show more ...
Remove reference to the bug in FreeBSD 2.0.Submitted by: Valentin Nechayev <netch segfault kiev ua>MFC after: 3 days
ANSIfy almost all applications that use WARNS=6.I was considering committing all these patches one by one, but asdiscussed with brooks@, there is no need to do this. If we everneed/want to merge
ANSIfy almost all applications that use WARNS=6.I was considering committing all these patches one by one, but asdiscussed with brooks@, there is no need to do this. If we everneed/want to merge these changes back, it is still possible to do thisper application.
Switch the default WARNS level for sbin/ to 6.Submitted by: Ulrich Spörlein
Add missing qualifier which was missed in the previous commit.Noticed by: brooks
Document the "-o large" option.PR: 129792
Noticed the following error message:mount_msdosfs: /dev/cf0s1: : Operation not supported by deviceand thought I'd fix it to be:mount_msdosfs: /dev/cf0s1: Operation not supported by deviceNot
Noticed the following error message:mount_msdosfs: /dev/cf0s1: : Operation not supported by deviceand thought I'd fix it to be:mount_msdosfs: /dev/cf0s1: Operation not supported by deviceNot sure why errmsg isn't getting filled in, or why this error is evenhappening at all... (fsck_msdosfs is clean, and I can mount this sameCF elsewhere).
Pass "errmsg" to nmount(), so that if nmount() fails, we can getstrings provided by vfs_mount_error().
mount_msdosfs.c: - remove call to getmntopts(), and just pass -o options to nmount(). This removes some confusion as to what options msdosfs can parse, by pushing the responsibility of opt
mount_msdosfs.c: - remove call to getmntopts(), and just pass -o options to nmount(). This removes some confusion as to what options msdosfs can parse, by pushing the responsibility of option parsing to the VFS and FS specific code in the kernel.msdosfs_vfsops.c: - add "force" and "sync" to msdosfs_opts. They used to be specified in mount_msdosfs.c, so move them here. It's not clear whethere these options should be placed into global_opts in vfs_mount.c or not.Motivated by: marcus
Fixing yet another regression introduced in rev1.37 by preserving cs_localpointer such that local to DOS code page conversion with combined option'-L,-D' works again.Reviewed by: rodrigc
It turns out that set_charset() invokes build_iovec_argf() which modifiesiov address internally through realloc(3). However, since the functionparameter wasn't designed to allow the modified iov b
It turns out that set_charset() invokes build_iovec_argf() which modifiesiov address internally through realloc(3). However, since the functionparameter wasn't designed to allow the modified iov being passed back tothe caller, we ended up feeding iov with several corrupted entries(thisdepends on how many arguments were pushed into iovec before set_charset())to nmount(2).This commit fixes this regression introduced in rev1.37 such thatmount_msdosfs(8) with code page conversion option(-W,-D) enabled works again.Reviewed by: rodrigc
- Adding the missing 'W' option back which was accidentally removed in rev1.37.- Fixing a core dump inside build_iovec_argf by providing a !NULL format string to vsnprintf(3).Reviewed by: rodr
- Adding the missing 'W' option back which was accidentally removed in rev1.37.- Fixing a core dump inside build_iovec_argf by providing a !NULL format string to vsnprintf(3).Reviewed by: rodrigc
o Style: restore tab indentation mangled in the previous delta.
Increase WARNS level to 6.
Convert mount_msdosfs to use nmount().
Xref msdosfs(5)Approved by: brueffer (mentor)
12345