#
a2c1f847 |
| 29-Apr-2015 |
henning <henning@openbsd.org> |
support passing a template file for the auto-allocation to disklabel. template gives mountpoints, min-max size ranges and percentage of disk foremost intended for autoinstalls, installer bits to foll
support passing a template file for the auto-allocation to disklabel. template gives mountpoints, min-max size ranges and percentage of disk foremost intended for autoinstalls, installer bits to follow soon. with input from many, ok theo
show more ...
|
#
7c5666a0 |
| 17-Mar-2015 |
otto <otto@openbsd.org> |
for small mem machines, make sure max does not get smaller than min, otherwise the constraint cannot be satisfied; ok deraadt@ okan@
|
#
78eb0b7e |
| 20-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Adjust <sys/param.h> comments regarding use of use of MAXFRAG, or delete <sys/param.h> if now possible ok guenther
|
#
b228e876 |
| 16-Jan-2015 |
miod <miod@openbsd.org> |
Constify the driver name to disk type table, and remove rz and ccd from that list. ok krw@ millert@
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
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_N
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)
show more ...
|
#
ab30cb2f |
| 11-Oct-2014 |
doug <doug@openbsd.org> |
Userland reallocarray() audit.
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication.
ok deraadt@
|
#
5118a4ec |
| 10-Jul-2014 |
florian <florian@openbsd.org> |
Forward declarations for mpcopy & mpfree. OK miod@, deraadt@
|
#
100ca56f |
| 02-May-2014 |
chl <chl@openbsd.org> |
remove unused variable
ok otto@ krw@
|
#
75691760 |
| 02-May-2014 |
krw <krw@openbsd.org> |
'for (part == 0; ...)' is not the same as 'for(part = 0; ...)'.
Should fix mysterious crashes when twiddling mount points. Too much Marrakesh sun.
Pointed out by Owain G. Ainsworth. Thanks!
|
#
408ab9bc |
| 21-Apr-2014 |
krw <krw@openbsd.org> |
Don't leak mountpoint info. Now with replacement for silly realloc() dance that appears to fix mysterious crashes seen with previous version that tried to sneak in to 5.5.
ok otto@
|
#
0cf7e76d |
| 03-Apr-2014 |
otto <otto@openbsd.org> |
Proper validation and computation of bsize in expert mode; ok krw@ millert@
|
#
534cf447 |
| 22-Feb-2014 |
krw <krw@openbsd.org> |
Revert mountpoints tweaking. Needs much more serious surgery than time permits before release, and is pointless without other following diffs to justify it that will not make release.
Should fix seg
Revert mountpoints tweaking. Needs much more serious surgery than time permits before release, and is pointless without other following diffs to justify it that will not make release.
Should fix segfault's during install reported by Rod Whitworth on tech@
show more ...
|
#
5dbcc055 |
| 16-Feb-2014 |
krw <krw@openbsd.org> |
Further tweak to mpfree(). Don't bother setting about-to-be-freed memory to NULL.
|
#
4c17d029 |
| 15-Feb-2014 |
krw <krw@openbsd.org> |
Don't risk dereferencing NULL pointer to mountpoints array when calling mpfree() with the array.
|
#
c2f297c5 |
| 15-Feb-2014 |
krw <krw@openbsd.org> |
Stop leaking mount point strings in temporary copies of the mountpoints array.
|
#
025f5691 |
| 22-Nov-2013 |
deraadt <deraadt@openbsd.org> |
Whole bunch of (unsigned char) casts carefully added for ctype calls. Careful second audit by millert
|
#
e07939eb |
| 12-Nov-2013 |
deraadt <deraadt@openbsd.org> |
add a variety of missing prototypes
|
#
559340af |
| 21-Oct-2013 |
otto <otto@openbsd.org> |
improve on last commit: take 10% for swap, with a max of physmem plus a bit
|
#
8e420ef4 |
| 18-Oct-2013 |
otto <otto@openbsd.org> |
allow more space for swap with big disks, useful for hibernation; requested by deraadt@
|
#
479754bb |
| 15-Oct-2013 |
bluhm <bluhm@openbsd.org> |
The disklabel variables aflag and dflag are boolean, use logical instead of binary operators for comparison. OK krw@
|
#
605eea5f |
| 03-Oct-2013 |
krw <krw@openbsd.org> |
Print u_int64_t variables with %llu.
|
#
eafadddf |
| 10-Sep-2013 |
krw <krw@openbsd.org> |
The rule is: daddr_t variables hold counts of 512-byte blocks, a.k.a. DEV_BSIZE blocks. Counts of possibly other-sized blocks (e.g. disk sector addresses) are u_int64_t. The values stored in disklabe
The rule is: daddr_t variables hold counts of 512-byte blocks, a.k.a. DEV_BSIZE blocks. Counts of possibly other-sized blocks (e.g. disk sector addresses) are u_int64_t. The values stored in disklabels are counts of possibly other-sized blocks and hence should be handled with u_int64_t variables.
Start enforcing this rule. No intended functional change.
Rule strongly suggested by deraadt@
show more ...
|
#
1abdbfde |
| 11-Jun-2013 |
deraadt <deraadt@openbsd.org> |
final removal of daddr64_t. daddr_t has been 64 bit for a long enough test period; i think 3 years ago the last bugs fell out. ok otto beck others
|
#
9b84e584 |
| 19-Apr-2013 |
otto <otto@openbsd.org> |
make sure the fs blocksize doesn't get too big; ok krw@
|
#
930241e9 |
| 13-Jul-2012 |
krw <krw@openbsd.org> |
Replace a '512' with DEV_BSIZE. Calculate physmem size in blocks and not sectors, since the values being tested/manipulated in the auto_alloc tables are blocks at that point. Use MEG(256) instead of
Replace a '512' with DEV_BSIZE. Calculate physmem size in blocks and not sectors, since the values being tested/manipulated in the auto_alloc tables are blocks at that point. Use MEG(256) instead of hand expanding it when testing physmem.
show more ...
|