Age | Commit message (Collapse) | Author |
|
based on a diff originally from bsd openbsd rutgers edu
|
|
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because
of alignment; ok kettenis hshoexer
|
|
use CMSG_SPACE for all except the last one, which should be CMSG_LEN. This
makes calculate .msg_controllen tricky. Also make sure that we can receive
multiple CMSG's again.
ok deraadt@, hshoexer@
|
|
written with invaluable advice from jmc@
ok jmc@
|
|
no arguments, like the man page promises.
ok deraadt@, blambert@
From tcuji@pwns.ms
|
|
an extensive discussion with otto, kettenis, millert, and hshoexer
|
|
deraadt@ OK
|
|
ok deraadt
|
|
when the line discipline has really been attached. And a few manual tweaks.
|
|
Gurumurthy, tweaks and commit-ready diff by Mitja Muzenic! Thanks
guys!
ok todd@
|
|
on modern disk geometries; while here, better alignment of column labels
ok jmc@, jsing@, krw@, and otto@
|
|
<mitja at muzenic dot net>, diff provided already quite some time ago,
many many thanks. This should have gone in months ago but I was slacking,
sorry for that.
|
|
ok henning@
|
|
text from ipsecadm(8), hshoexer, and myself
|
|
of a typo in rcs.c;
|
|
|
|
machines with more than 4GB of memory. Make sysctl(8) print values obtained
using these sysctls for hw.physmem and hw.usermem.
ok krw@, miod@
|
|
|
|
From Igor Zinovik <zinovik@cs.karelia.ru>
ok hshoexer@
|
|
Instead of using the same IP on multiple interfaces, carp has to be
configured with the new "carpnodes" and "balancing" options.
# ifconfig carp0 carpnodes 1:0,2:100,3:100 balancing ip carpdev sis0 192.168.5.50
Please note, that this is a flag day for anyone using carp balancing.
You'll need to adjust your configuration accordingly.
Addititionally this diff adds IPv6 NDP balancing support.
Tested and OK mcbride@, reyk@.
Manpage help by jmc@.
|
|
by the parser but not passed to the kernel. This allows filtering based on
uid, gid, icmp options, tcp flags, os fingerprint, tos, tags, and probability;
It also allows the label to be set. State options and tagging are not
permitted.
ok henning mpf
|
|
-1.
ok henning@ beck@ ray@
|
|
|
|
|
|
functional change. Noticed by lint.
|
|
in the inline anchor. Fixes optimizer bug where automatic table creation in
inline anchors fails because rules are now loaded after optimization
and no transaction has been opened for the anchor.
bug reported by Henrik Johansen
ok henning dhartmei
|
|
Problem found by ckuethe@, slightly different fix than the one
proposed by otto@ applied.
|
|
|
|
|
|
does an unsigned comparison and read() can return -1. Use '!=' instead
of '<' since read() can't return more than 'sizeof Y'. Not perfect
(that would require a separate test for -1) but a very common usage.
Do the same for a write(), and a couple of read() calls which are
probably ok but why be inconsistant?
This, as the last couple of commits, found by ian@ as a result of
poking around in fsck_msdos() when his new iPod had problems vs
OpenBSD.
Concept reviewed by miod@, beck@, otto@ and ian@.
|
|
ok thib@ millert@
|
|
in find_bounds() when processing a DOS MBR.
|
|
offsets and sizes of free chunks. 32 bits just won't hack new big
partitions. Simplify and clarify code while here.
|
|
returning the number of elements. Check for terminating empty entry
(i.e. NULL) instead. Code a bit clearer and shorter with fewer
variables. No functional change.
|
|
calloc() the memory.
|
|
static array that we zero before each use. heapsort(3) shouldn't
care.
"should be fine" beck@
|
|
- align usages and their descriptions (text enclosed in brackets);
- blank[], used for padding prior to r1.86, can improve readability
of usage on 80-column displays if NUMBOOT == 2
ok jsing@, krw@
|
|
Much prodding todd
|
|
ok krw@
|
|
'please fix' jmc
|
|
tweaked by jmc, ok henning
|
|
from tobias@
ok miod@ tobias@
|
|
reduce meat of editor_add() && editor_modify() to single if statements
checking for != 0 from all get_* functions. No functional change.
|
|
called during -E initialization. Thus it no longer needs the
'resolve' parameter.
|
|
new offset being in a free area.
|
|
in a semi-global. Call it whenever the count is needed rather than
trying to make sure it is called anytime the value might change.
Eliminates a bunch of now unnecessary *freep parameters and calls to
editor_countfree().
|
|
|
|
a partition can be without causing overlap. Use it to eliminate the
need to check overlap in get_size() and to make the (c)hange command
message more meaningful, i.e. mention max size allowed not the amount
of total free space.
|
|
with and ok jmc@
|
|
get_offset() when the user enters an invalid value. Just abort the
partition operation and return to the main prompt. Prevents users
getting trapped because they don't know about ^D. Requested by
deraadt@.
Tweak an error message to remove ambiguity about what 'between x and
y' means.
|