Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-28 | spelling fixes; from paul tagliamonte | Jason McIntyre | |
any parts of his diff not taken are noted on tech | |||
2022-12-04 | userspace: remove vestigial '?' cases from top-level getopt(3) loops | Scott Soule Cheloha | |
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@ | |||
2022-02-28 | #include <disktab.h> not needed for successful compile. | Kenneth R Westerback | |
Last #include of disktab.h in the tree. | |||
2022-01-11 | spelling | Jonathan Gray | |
2021-12-23 | make array bounds in unix2dosfn() prototype match function | Jonathan Gray | |
missed when unix2dosfn() was changed in the kernel with msdosfs_conv.c rev 1.15 in 2012 | |||
2021-10-24 | For open/openat, if the flags parameter does not contain O_CREAT, the | Theo de Raadt | |
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert | |||
2021-10-06 | annotate all required sys/param.h uses with what they bring into scope, | Theo de Raadt | |
and delete all others. use PATH_MAX and other standardized symbols instead of prehistoric kernel-only names, create local MINIMUM/MAXIMUM macros where required, and directly include standard userland .h files as required. | |||
2021-09-01 | remove sys/param.h use (few small repairs) | Theo de Raadt | |
2021-07-12 | Change the error reporting pattern throughout the tree when unveil | Bob Beck | |
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@ | |||
2020-04-09 | No need to check for NULL before free(). | Kenneth R Westerback | |
From Geoff Hill. | |||
2019-09-04 | msdosfs: remove timezone support | cheloha | |
This support is undocumented, only works if you're using the kernel timezone, and breaks during a DST shift. It also preferences file systems managed by a Windows installation: many implementations, like ours, use UTC by default (think: phones, digital cameras). No complaints on tech@. "good riddance" tedu@, "Yep." deraadt@ | |||
2018-11-20 | unveil(2) boot images which are specified by -o option. Also exit | YASUOKA Masahiko | |
with an error status when writing cd image fails. ok deraadt | |||
2018-09-24 | unveil(2) is easy since this only uses one directory tree | Theo de Raadt | |
(containing no exterior pointing symlinks), and a file. In snaps for about 2 months. | |||
2018-04-26 | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | Philip Guenther | |
Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | |||
2017-11-07 | Tweak the man page and warning message, revert the comma. | YASUOKA Masahiko | |
2017-11-02 | Use emalloc, like in the rest of makefs | Jeremie Courreges-Anglas | |
From Michael W. Bombardieri | |||
2017-10-31 | Add platform-id for EFI. | YASUOKA Masahiko | |
seem fine deraadt | |||
2017-10-31 | Fix a bug which made the boot entries' order reverse, introduced at 1.8 on | YASUOKA Masahiko | |
NetBSD. seem fine deraadt | |||
2017-10-31 | Initialize boot_catalog_entry's entry_type properly. This had been | YASUOKA Masahiko | |
missing but the type was used in cd9660_setup_boot(). seem fine deraadt | |||
2017-08-31 | assorted warning fixes; ok millert@ | Otto Moerbeek | |
2017-04-09 | Remove unused #define's and struct. | Martin Natano | |
2017-04-06 | Remove the CD9660MAXPATH define. It was used to construct the path for | Martin Natano | |
opening the file, so PATH_MAX makes more sense here. While there change the code to do two less allocations per file. ok deraadt | |||
2017-03-28 | add missing braces around a multi line if statement | Jonathan Gray | |
ok patrick@ deraadt@ | |||
2017-03-23 | Set the maximum value of the msdos options to the value of LLONG_MAX | Patrick Wildt | |
instead of ULLONG_MAX since the type of the comparison is using long long, which has a positive maximum of LLONG_MAX. The affected opts are of type off_t, which should have a maximum of LLONG_MAX anyway. Fixes makefs(8) on msdos with options "create_size" or "offset". ok natano@ | |||
2017-01-21 | Use MD disklabel position. | Martin Natano | |
2016-12-17 | While here nuke some more annoying whitespace nits. | Kenneth R Westerback | |
2016-12-17 | While here nuke some more annoying whitespace nits. | Kenneth R Westerback | |
2016-12-17 | While here nuke some more annoying whitespace nits. | Kenneth R Westerback | |
2016-12-17 | While here nuke some more annoying whitespace nits. | Kenneth R Westerback | |
2016-12-17 | While here nuke some more annoying whitespace nits. | Kenneth R Westerback | |
2016-12-17 | Nuke unused variable and some extra whitespace. | Kenneth R Westerback | |
ok natano@ | |||
2016-11-26 | Avoid NULL pointer dereference in cd9660. | Martin Natano | |
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. | |||
2016-11-14 | disklabel -w doesn't set bstart/bend, so makefs shouldn't do that either. | Martin Natano | |
2016-11-13 | Pick up the FS image size, the sector size and the bsize and fsize | Martin Natano | |
parameters from the disklabel. discussed with deraadt | |||
2016-11-11 | Clean up FFS option handling somewhat; no functional change. | Martin Natano | |
2016-11-11 | Optimize for space by default. | Martin Natano | |
ok deraadt | |||
2016-11-10 | Sync bsize and fsize defaults with newfs. | Martin Natano | |
2016-11-10 | Remove the unused cpg field from ffs_opt_t. | Martin Natano | |
2016-11-08 | Respect -Ooffset for the disklabel location. | Martin Natano | |
2016-11-08 | Describe -o disklabel=name. | Martin Natano | |
2016-11-08 | Add a disklabel option that creates a disklabel with the info provided | Martin Natano | |
by disktab. This is one piece of the puzzle that will allow use to build install media without vnd. ok deraadt | |||
2016-11-08 | pledge for "stdio rpath wpath cpath" promises since it only needs to | Ricardo Mestre | |
read/write/create files OK natano@ and tb@, thank you both for noticing the bad indentation | |||
2016-11-06 | Remove unused fields from ffs_opt_t. | Martin Natano | |
2016-10-26 | s/EXIT_FAILURE/1/ | Martin Natano | |
2016-10-26 | mac68k is discontinued | Martin Natano | |
2016-10-26 | Add the omit-trailing-period cd9660 option to the manual. | Martin Natano | |
2016-10-26 | Remove cd9660's chrp-boot option. deraadt confirmed we don't support any | Martin Natano | |
CHRP hardware. | |||
2016-10-26 | Use OPT_BOOL, not OPT_INT32 for boolean cd9660 options. | Martin Natano | |
2016-10-26 | Remove FS-specific option descriptions from the source code. We have a | Martin Natano | |
manual for that. While there document the isolevel option and remove some dysfunctional cd9660 options. | |||
2016-10-25 | convert usage() to just spit out the normal options list, | Jason McIntyre | |
instead of trying to list all the fs-specific stuff; help/ok natano |