Age | Commit message (Collapse) | Author |
|
ok mpi@
|
|
the nd6 code for managing expiries is never asked to handle intervals
greater than what timeouts can handle, so we dont need to overcompensate.
the code was also incorrect by using a long, which isnt that long
on ILP32 machines.
ok mpi@ millert@ benno@
|
|
priority. This is translated into an 802.1p priority tag when
sent over a vlan interface, reducing the risk of them being
crowded out by data packets on a busy link.
Some users have problems with ISPs that place specific
requirements on vlan priority (typically the packet header
value must be '0', relating to priority 1). This diff
doesn't fix that yet, but gives a single place to patch
to change tags on control packets without affecting
normal vlan priority operation on other interfaces.
ok mikeb.
|
|
ok beck@ jsing@
|
|
ok millert@ deraadt@
|
|
flag set by ld -zwxneeded. Such binaries are allowed to run only on wxallowed
mountpoints. They do not report mmap/mprotect problems.
Rate limit mmap/mprotect reports from other binaries.
These semantics are chosen to encourage progress in the ports ecosystem,
without overwhelming the developers who work in the area.
ok sthen kettenis
|
|
|
|
|
|
OK jsg
|
|
The function update_progress_meter() calls refresh_progress_meter()
which calls snmprintf() which calls malloc(); but update_progress_meter()
acts as the SIGALRM signal handler.
"malloc(): error: recursive call" reported by sobrado@.
|
|
of word mismatch as reported by jsg@.
Discussed with otto@ and others early on, earlier version tested in ports build
by aja@
OK millert@
Few readability tweaks and OK schwarze@
|
|
ok jmc
|
|
but rdtsc may provide a few bits. ok deraadt
|
|
|
|
driver-specific memory blocks. This lets the cnmac(4) RX path run
without an mbuf ext_free callback.
ok uebayasi@
|
|
14 years ago these were changed in OpenSSL to be the same
as the _ex functions. We use the _ex functions only internally
to ensure it is obvious the ctx must be cleared.
ok bcook@
|
|
grow, or it would be overrun; issue found by tb@ with malloc.conf(5) 'C'.
While here, reserve an additional byte for the terminating NUL
up front such that we don't have to realloc() later just for that.
OK tb@
|
|
the packet has been feed to the pseudo-interfaces input handlers.
To fix that without introducing a layer violation we should be able to
disable HW-vlan on parent when in use with different pseudo-interfaces.
In the case of bridge(4) for example it makes no sense to let the interface
remove the VLAN header if the kernel has to add it back for every packet.
Fix issues reported by sebastia@ and markus@
From dlg@, ok claudio@
|
|
From miod@, ok bru@
|
|
There's no need to have a separate case for non-CIDR addresses using
inet_pton(3) as inet_net_pton(3) handles them as well.
This simplification is valid for all our daemons parsing addresses,
it is a common patern.
ok gilles@, millert@
|
|
|
|
1. If vasprintf() returns < 0, do not access a NULL pointer in snmprintf(),
and do not free() the pointer returned from vasprintf() because on some
systems other than OpenBSD, it might be a bogus pointer.
2. If vasprintf() returns == 0, return 0 and "" rather than -1 and NULL.
Besides, free(dst) is pointless after failure (not a bug).
One half OK martijn@, the other half OK deraadt@;
committing quickly before people get hurt.
|
|
unless they have changed.
|
|
last character if it won't be used. This (and last few commits) prompted
by a report from Hubert depesz Lubaczewski.
|
|
is normally better because using cub1 will be ^H^H (so two bytes) but
cub would be ^[[2D (four).
|
|
long long alignment instead.
|
|
ok deraadt@
|
|
ok tedu@
|
|
a rant Theo wrote 24 years ago. Mark __ypexclude_{add,is,free}() as hidden
"get off my lawn!" deraadt@
|
|
the cookies are used in setjmp/_setjmp/sigsetjmp so that mixing
calls (e.g., longjmp on a _setjmp buffer) will scramble all three
registers and jump you to a random location on a random stack!
ok deraadt@
|
|
endian testing and ok deraadt@
ok visa@
|
|
The omap boot rom that loads the first u-boot stage requires this.
|
|
exported, so declare them as hidden to avoid pointless GOT relocations
ok millert@ deraadt@
|
|
sigprocmask syscall
ok kettenis@
|
|
alpha and mips64
ok millert@
|
|
ok natano@ millert@ deraadt@
|
|
ok deraadt@ kettenis@
|
|
|
|
fallout related to pledge disklabel (e.g. 'disklabel /dev/tty').
- Allow 'disklabel sdN' again for non-root users.
- Make sure at least one DIO* ioctl comes before pledge "disklabel"
- Fix the op == WRITE logic that broke 'make release' in -r2.217
Based on -r2.17 from beck.
ok beck
|
|
|
|
- run commands in subshell only if mktemp is successful
- on error just leave the for-loop but set _error=true
- cleanup tmpdirs afterwards
- set _error=true if the ro remount fails
- print appropriate final message depending on $_error
positive feedback from deraadt
OK krw
|
|
attaching mainbus not the string we print based on the board id when
attaching the soc platform abstraction.
Overhaul md_installboot() to make it much more readable based on
suggestions from rpe@
|
|
connect(2) does no longer fail immediately. It reports EINPROGRESS
first, an ECONNREFUSED or EPIPE error follows later. Allow this
changed behavior in syslogd(8) regression tests.
|
|
by sthen.
ok semarie
|
|
a different form when u-boot supports efi networking interfaces.
|
|
ok mpi@
|
|
ok kettenis@
|
|
hw.sensors fan values seen on macppc models with a new smu-firmware.
Help and ok kettenis
|
|
Remove unnecessary abstraction.
ok mpi@
|
|
|