rpe
f3eefc05dc
Align comments of stripcom() function in netstart and install.sub.
7 years ago
otto
7c0adfa87b
Consistentcy between nmembers and size order. From Christopher Hettrick;
ok deraadt@
7 years ago
otto
253b92f197
first print size in meta-data then supplied arg size when an inconsistency is
detected wrt recallocarray()
7 years ago
deraadt
83d1f2b267
cp -p the bootblocks to RELEASEDIR; ok tb
7 years ago
deraadt
54678561dc
MDT...
7 years ago
robert
189fde81ad
add signify public keys for syspatch for the current and next release
7 years ago
naddy
da665d0eb0
sync the version of the example package; ok deraadt@
7 years ago
otto
f73e526d1b
rephrase more enumerations of functions
7 years ago
otto
c1fcb739fc
small cleanup & optimization; ok deraadt@ millert@
7 years ago
otto
cf1d70783e
Stop enumeration all allocation functions, just say "allocation functions"
ok jmc@ deraadt@
7 years ago
reyk
502204d7eb
Boot using BIOS from /etc/firmware/vmm-bios by default.
Instead of using the internal "vmboot", VMs will now be booted using
the external BIOS firmware in /etc/firmware/vmm-bios (which is subject
to a LGPLv3 license). Direct booting of OpenBSD kernels or
non-default BIOS images is still supported for now using the -b/boot
option that is replacing the -k/kernel option.
As requested by Theo, vmd(8) fails if neither the default BIOS is
found nor a kernel has been specified in the VM configuration. The
"vmm" BIOS has to be installed using fw_update(1), which will be done
automatically in most cases where the OpenBSD can fetch it after
install/upgrade.
OK mlarkin@
7 years ago
otto
c662774838
add a helper function to print all pools #ifdef MALLOC_STATS
from David CARLIER
7 years ago
otto
a937a37bc9
document new recallocarray diagnostic; zap a few diagnostics that should
never occur
7 years ago
otto
5b40b56851
move recallocarray to malloc.c and
- use internal meta-data to do more consistency checking (especially with
option C)
- use cheap free if possible
ok deraadt@
7 years ago
nicm
df542bfce2
Use C99 types (uint32_t) instead of BSD (u_int32_t) - the former are
more portable. Add stdint.h to the headers in imsg_init(3).
No objections from millert@.
7 years ago
ajacoutot
c556da6ebd
Don't check for spamd_black twice in rc_pre and rc_start; just do everything
in rc_pre.
prodded by and ok jmc@, ok halex@
7 years ago
benno
a2343dee78
Improve manpage and config file to show the more common use case.
from Nick Holland (nick AT holland-consulting DOT net)
ok jmc@ florian@
7 years ago
bluhm
21256fb318
From a syslog perspective it does not make sense to log fatal and
warn with the same severity. Switch log_warn() to LOG_ERR and keep
fatal() at LOG_CRIT.
OK reyk@ florian@
7 years ago
florian
7a21625622
add user for slaacd(8)
7 years ago
jmc
d6f7c19958
remove unneccessary macro;
7 years ago
rzalamena
40d619cc67
Enable dhcrelay6(8).
ok deraadt@
7 years ago
deraadt
826b373fa7
Strengthen description of recallocarray(3) behaviour, hoping that readers
make the behaviour -> use case connection.
help from jmc and jsing
7 years ago
deraadt
a6614e5870
Grow buffers using recallocarray, to avoid the potential dribble that
the standard realloc*() functions can leave behind. imsg buffers are
sometimes used in protocol stacks which require some secrecy, and layering
violations would be needed to resolve this issue otherwise.
Discussed with many.
7 years ago
dtucker
b249d7ea63
Fix overly-conservative overflow checks on mulitplications and add checks
on additions. This allows scan_scaled to work up to +/-LLONG_MAX (LLONG_MIN
will still be flagged as a range error). ok millert@
7 years ago
dtucker
73af3c1b7e
Collapse underflow and overflow checks into a single block.
ok djm@ millert@
7 years ago
dtucker
4cba5ce8e2
Catch integer underflow in scan_scaled reported by Nicolas Iooss.
ok deraadt@ djm@
7 years ago
guenther
ce21f11296
<struct.h> is unused and should not be used. Delete it.
ok millert@ deraadt@ kettenis@
7 years ago
djm
29fbe34e31
fix signed integer overflow in scan_scaled. Found by Nicolas Iooss
using AFL against ssh_config. ok deraadt@ millert@
7 years ago
fcambus
3dde567fdc
As per style.9, prototypes should not have variable names associated
with the types.
OK jca@
7 years ago
otto
dddd0ad99b
Some tweaks from jmc@ and describe better what recallocarray does;
help and ok from tom@ and deraadt@
7 years ago
otto
ff9e45d4d3
Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)
with the added feature that released memory is cleared. Much input from various
developers. ok deraadt@ tom@
7 years ago
otto
6cec33e265
Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)
with the added feature that released memory is cleared. Much input from various
developers. ok deraadt@ tom@
7 years ago
naddy
115cd31624
6.2 key for future packages
7 years ago
tb
8dc481c311
bump one more 2016
7 years ago
deraadt
916d6de7c7
fix date and mention installurl way of pkg_add
7 years ago
sthen
e7456bd14f
6.2 key for future firmware
7 years ago
deraadt
ce3ecff9b9
crank to 6.1-beta
7 years ago
deraadt
b4af706e38
6.2 key for the future
7 years ago
natano
cb1595eef5
Add a new sysctl machdep.lidaction. The sysctl works as follows:
machdep.lidaction=0 # do nothing
machdep.lidaction=1 # suspend
machdep.lidaction=2 # hibernate
lidsuspend is just an alias for lidaction, so if you change one, the
other one will have the same value. The plan is to remove
machdep.lidsuspend eventually when people have upgraded their
/ets/sysctl.conf.
discussed with deraadt, who came up with the new MIB name
no objections mlarkin
ok stsp halex jcs
7 years ago
gsoares
ef079a5b2e
*nargv[] holds an array of pointers, so it should be
terminated by a null pointer.
ok rzalamena@ reyk@
7 years ago
rpe
f930dc7a4d
Remove support for pkg.conf in light of the consolidation towards
a single configuration file for the OpenBSD repository location.
The pkg_* tools now use installurl(5) to find the package repository.
NOTE:
/etc/installurl only contains a single URL pointing to a mirror.
Use the PKG_PATH environment variable to specify more than one
package repository.
prodded by and OK deraadt@ aja@
7 years ago
matthieu
0d0442ff01
Switch to xenodm(1).
Do it now deraadt@
7 years ago
daniel
214feb8400
SHA-1 collisions have now been found so update some man pages. As noted by
minek van on misc@. Thanks.
ok tb@, tj@
(and jmc@ is ok with the diff but can't ok the technical content).
7 years ago
daniel
c4e494f6fa
Replace use of mathematical minus with an em-dash (from tb@) and break up
a long sentence (from tj@).
7 years ago
sthen
36b751fe40
sync
7 years ago
sthen
51d8a9c6f7
sync
7 years ago
sthen
13d0b15395
sync
7 years ago
ajacoutot
5a04355915
Stop supporting the historical way of starting ypbind(8); that is setting
'ypbind_flags=""' when domainname is set and /var/yp/binding exists.
This can lead to inconsistent behavior at startup since /var may not be
mounted yet and /etc/rc's start_daemon() will not start ypbind.
A.K.A. make ypbind startup consistent with all other OpenBSD daemons.
ok deraadt@
7 years ago
jsg
d08f908fca
Add a NULL test to wrterror() to avoid a NULL deref when called from a
free() error path.
ok otto@
7 years ago
otto
07baa34ee0
malloc does not *need* to return page-aligned objects for size >=
a page. This is not required by any standard and other malloc
implementation do not document (or implement) this. ok deraadt@
7 years ago