#
012e9fe6 |
| 01-Mar-2018 |
millert <millert@openbsd.org> |
Check for a negative value and overflow in getuint64() when performing multiplication and division. Based on a diff from otto@. OK otto@ krw@
|
#
e15dcdb4 |
| 01-Mar-2018 |
krw <krw@openbsd.org> |
Don't overflow or underflow value when [+-] operators applied during getuint64()'s input parsing.
ok otto@
|
#
7a687b60 |
| 01-Mar-2018 |
krw <krw@openbsd.org> |
Avoid underflow under SUN_CYLCHECK when rounding partition size to multiple of cylinder size.
Eliminate various compiler warnings by shuffling unused variables under !SUN_CYLCHECK.
Consolidate two
Avoid underflow under SUN_CYLCHECK when rounding partition size to multiple of cylinder size.
Eliminate various compiler warnings by shuffling unused variables under !SUN_CYLCHECK.
Consolidate two SUN_CYLCHECK blocks into one.
Add D_VENDOR check inside SUN_CYLCHECK block.
Tweak & ok otto@
show more ...
|
#
9f0bdc2a |
| 01-Mar-2018 |
krw <krw@openbsd.org> |
Check return value of getuint64() for ULLONG_MAX, and ULLONG_MAX - 1, not <= 0. This fixes the detection of ^D and invalid values during the 'R'esize command.
ok otto@
|
#
a3ad4147 |
| 27-Feb-2018 |
krw <krw@openbsd.org> |
Move fsize initialization into get_fsize() to eliminate duplication.
Ensure get_fsize() is always called before get_bsize(). And during (R)esize only call the pair a second time when a partition is
Move fsize initialization into get_fsize() to eliminate duplication.
Ensure get_fsize() is always called before get_bsize(). And during (R)esize only call the pair a second time when a partition is actually shrunk.
ok otto@
show more ...
|
#
c5229dce |
| 25-Feb-2018 |
krw <krw@openbsd.org> |
Bunch of whitespace fixes.
ok otto@
|
#
a6262855 |
| 24-Feb-2018 |
krw <krw@openbsd.org> |
If you can modify p_cpg in when 'm'odifying a partition, you should be able to do the same when 'a'dding a partition. Only in 'X'pert mode of course.
ok otto@
|
#
c7e00dc5 |
| 23-Feb-2018 |
krw <krw@openbsd.org> |
'partions' -> 'partitions', nuke some erroneous whitespace.
ok otto@
|
#
ecf06799 |
| 18-Dec-2017 |
ajacoutot <ajacoutot@openbsd.org> |
Tighten /usr/local and /usr/X11R6 so that 8G disks still fit in our default partitioning scheme.
ok florian@ benno@
|
#
aa4db624 |
| 28-Nov-2017 |
benno <benno@openbsd.org> |
in auto-allocation, increase size of /usr/src to 1.3G. Our tree is now 1.1G big. ok florian@, sure deraadt@
|
#
185664b4 |
| 29-Sep-2017 |
otto <otto@openbsd.org> |
don't be silent on auto-allocation failure in write mode. ok millert@ krw@
|
#
d190517a |
| 19-May-2017 |
otto <otto@openbsd.org> |
tweak partition sizes for auto-alloction to better suit 8G disks ok kr@ aja@
|
#
3aefc4c6 |
| 19-Apr-2017 |
otto <otto@openbsd.org> |
enlarge obj to satisfy new world order that has *big* compilers and remove condition for static linking; ok tb@
|
#
4bf1fc9d |
| 04-Mar-2017 |
otto <otto@openbsd.org> |
Allow R (resize auto-partition) after A as well as when started with -A. This ability was lost in editor.c 1.264; noted by ajacoutot@; ok krw@
|
#
ee18520d |
| 06-Oct-2016 |
otto <otto@openbsd.org> |
init auto-partition table to zeroes; ok tb@
|
#
a95dd767 |
| 02-Sep-2016 |
otto <otto@openbsd.org> |
Allow editing cpg in expert mode and align the cpg field properly ok krw@
|
#
c604b665 |
| 01-Sep-2016 |
tedu <tedu@openbsd.org> |
remove references to sparc
|
#
2701b421 |
| 19-Aug-2016 |
otto <otto@openbsd.org> |
Start with a default fragsize of 2048, double it for large disks and then cap based on sector size. This avoid too large fragments on 4k disks. Problem noted by David Vasek; ok krw@
|
#
5ce950de |
| 10-Dec-2015 |
mmcc <mmcc@openbsd.org> |
Remove NULL-checks before free(). ok tb@
|
#
e384f6ef |
| 23-Nov-2015 |
deraadt <deraadt@openbsd.org> |
Use pledge "disklabel" as needed. The theory here is these tools become more resistant against memory correctup, if a corrupt filesystem is given to them. ok krw
|
#
40bba581 |
| 17-Oct-2015 |
krw <krw@openbsd.org> |
NUMBOOT is dead! Nuke the variables and abstractions that were used to build boot blocks.
ok miod@
|
#
ad383930 |
| 15-Oct-2015 |
miod <miod@openbsd.org> |
Remove disklabel -B (NUMBOOT) support. All the platforms which used to need it are now using MI installboot for that purpose.
ok krw@ deraadt@
|
#
104c1c3c |
| 08-Sep-2015 |
millert <millert@openbsd.org> |
Avoid a SIGSEGV with FGJ malloc.conf flags when a template is used. Found by jsg@. OK jsg@ deraadt@
|
#
f55524ea |
| 08-May-2015 |
sthen <sthen@openbsd.org> |
Separately track the number of items in alloc_table in a variable. With the changes for handling template files in r1.293, alloc_table became a pointer to an array of structs (rather than the array i
Separately track the number of items in alloc_table in a variable. With the changes for handling template files in r1.293, alloc_table became a pointer to an array of structs (rather than the array itself), so nitems(alloc_table) no longer returns the number of elements. As found by sebastia@, autosize would only try the first allocation scheme, so installation would fail on small disks. ok henning@
show more ...
|
#
0b857d83 |
| 29-Apr-2015 |
henning <henning@openbsd.org> |
g/c unneeded second char * var, ok benno
|