Age | Commit message (Collapse) | Author |
|
1.245 of sys/netinet/ip_carp.c), carpdev is a required argument now.
ok florian
|
|
enough.
OK deraadt@
|
|
|
|
instead of usec so its easier to translate to/from timespecs instead
of timevals.
ok deraadt@ florian@
|
|
> use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure the
> interval between sending a ping and getting a reply for it.
>
> this makes it resistant against local wall clock changes, which can
> skew the intervals reported or make them go negative.
requested by deraadt@ florian@
|
|
interval between sending a ping and getting a reply for it.
this makes it resistant against local wall clock changes, which can
skew the intervals reported or make them go negative.
ok deraadt@ florian@
makes sense to lots of others
|
|
Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.
No output changes, except for two instances where the incorrect escape
was used in the first place.
tweaks + ok schwarze@
|
|
|
|
Aq is not the same as <> in non-ASCII situations, so this caused
incorrect output in some places. And it provided no semantics besides.
ok schwarze@
|
|
ok doug millert miod
|
|
good cmp functions written for qsort, but then different versions were written
which (ab)use the fact that bsearch doesn't strictly require the key type to
be the same as the element type. Nevertheless, I think it's clearer and
cleaner to create a complete key struct and search with that. As a bonus, we
don't need two different compare functions just to compare with two different
encoding values.
ok millert
|
|
mean "prio is 0". This avoids the need for code changes in programs which add
pf rules (as was done in pfctl but not other programs) to handle the new
"check prio" functionality. Specifically this unbreaks ftp-proxy.
Use of #define rather than magic 0xff suggested by benno.
ok benno "if henning doesnt like it he can change it when he recovers from jet-lag"
|
|
problem noted by dcoppa@
ok claudio@
|
|
i. e. on vlan interfaces, it is useful to be able to match on it -
effectively matching on classification done elsewhere.
i thought i had long implemented that, but chrisz@ asking for it made
me notice that wasn't the case.
tests by chrisz, ok phessler pelikan
|
|
using RTM_IFA to bind routes to an interface. Keep the subnet route
conflict avoidance code for the time being.
diff from claudio@ as part of larger routing magic diff.
ok claudio@ mpi@
|
|
written does not contain an EFI partition, zap any GPT signature
found on the 2nd (LBA 1) and last sectors on the disk. The install
script uses this sequence.
This is a temporary workaround until more GPT support is imported
post-5.7.
Should fix at least some machines who insist on using the GPT even
after we have overritten the 'protective' MBR.
ok deraadt@ tedu@ beck@ millert@
|
|
with the ip6intrq.
ok claudio@
|
|
'User_modify' to 'USER_edit' for the same reason.
|
|
OK henning@
|
|
are clearly properly initialized in the same area. Prompted by the
recent shrinkage of most imsg structs.
|
|
ok mikeb
|
|
Original request+diff from matthew@
ok dlg@
|
|
ok tedu miod
|
|
constructing imsgs.
ok reyk@
|
|
|
|
|
|
|
|
theoretically allowed the unprivileged child process to write to
arbitrary files. Restrict it by replacing it with two specific
write_resolv_conf() and write_option_db() privsep interfaces where all
the critical decision has been moved to the parent.
OK krw@
|
|
network-facing process to properly fill out the interface name and
rdomain on which operations are to be performed.
Instead, always use the interface name and rdomain discovered before
forking and dropping privs. Lets all the imsg structs to drop a
couple of members.
ok matthew@ henning@
|
|
|
|
OK deraadt@
|
|
History indicates this is slightly less error prone.
Inconsistant usage pointed out by Benjamin Baier.
|
|
for symmetry with -inet6 mostly. ok phessler theo
|
|
mode: the wireless pages already carry the scan example, and this one
seems a fair substitute;
the diff is from bradain foley, tweaked according to some suggestions
from stsp;
|
|
or non-NULLness before calling free().
This batch from Benjamin Baier.
|
|
or non-NULLness before calling free().
|
|
calloc(N, 0). Avoid the whole controversy by skipping zero length
options while cloning a lease.
Leak reported by Remco van den Berg via bugs@. Additional testing
and diagnostic help from Benjamin Baier. Thanks!
|
|
might leak. *Should* not be possible but better safe than sorry.
|
|
|
|
but better safe than sorry.
Noted and diff from Benjamin Baier. Thanks!
|
|
not 'malloc'.
|
|
ports is ready, <net/pfvar.h> will stop including a pile of balony.
|
|
the conditional operator. Adapted from NetBSD. ok miod@
|
|
and compatibility with other BSDs. Adapted from FreeBSD.
Still permit the combination "-hp" as requested by many.
ok sthen@
|
|
delete <sys/param.h> if now possible
ok guenther
|
|
ok mikeb
|
|
|
|
ok millert
|
|
|
|
|