Age | Commit message (Collapse) | Author |
|
rework the wording for both IPv4 and IPv6.
OK from sthen@, henning@ and claudio@
|
|
(i was convinced i committed that yesterday already, hrm)
|
|
-maxdynroutes
-maxifprefixes
-maxifdefrouters
-neighborgcthresh
OK from sthen@, claudio@ and henning@
|
|
ok beck reyk
|
|
from there). OK sthen@ mpi@ jca@
|
|
DHCPDECLINE.
noted by sthen@
|
|
pointless repetition of well-known info in log messages. Pass
around smaller bits of info. Make 'inaddr_any' a const struct
initialized with { INADDR_ANY }.
Tweaks and ok guenther@
|
|
than possibly emitting a couple of random memory allocation error
messages first.
ok guenther@
|
|
function 'option_as_string()'.
|
|
|
|
arc4random_buf(seed, sizeof(seed));
RAND_seed(seed, sizeof(seed));
+ explicit_bzero(seed, sizeof(seed));
ok reyk@
|
|
from -Tascii to -Tlocale, even though not quite yet because
there are more important things to do first.
But let's already make -Tascii explicit in the build system
right now, it is safer anyway.
|
|
ok henning@ mikeb@
|
|
header structure is checked for sanity before copying the header.
Always pass down the number of remaining bytes in the payload or
substructure so we can always ensure to not go beyond actual data.
Also remove the quick parsing step as it does not provide a real
benefit anymore.
From Hans-Joerg Hoexer
ok mikeb@ markus@
|
|
include <sys/vmmeter.h> where it is needed instead of relying on
it being included by <uvm/uvm_extern.h>.
miod@ likes it, ok guenther@
|
|
necessarily built; that makes it consistent with wsconsctl(8).
Prodded by deraadt.
|
|
that this little binary is worth building everywhere with an MI manpage although
there are still a few arches where it won't serve any useful purpose;
spotted by Donovan Watteau.
|
|
|
|
of an intermediate variable. No intended functional change.
|
|
|
|
htole[16|32]. This is made possible by a) copying unaligned data
(struct dos_partition's) into properly aligned structs and accessing
the fields of the same; and b) realizing that gcc is smart enough to
access fields in packed struct's *if* it knows it is accessing a
packed struct. Even sparc64 finally gave a thumbs up.
After several attempts and feedback from deraadt@ and dlg@, it looks
good to deraadt@.
|
|
Replace it with SGI serial keyboard support (zskbd@zs@hpc).
|
|
data. Since all the fields but 2 that are specially handled are
u_int8_t's there should be no danger from alignment issues.
ok dlg@
|
|
never heard about it, it was to bypass the routing tables, not available
for IPv6 and we're going to always use the routing tables soon.
ok florian@, man pages ok jmc@
|
|
struct xucred becomes the structure for syscalls (mount(2) and nfssvc(2)).
ok deraadt@ beck@
|
|
'u_int16_t' to be consistant with disklabel.h's struct dos_mbr.
|
|
|
|
are not used uninitialized. As a bonus, make variables the same
type as the data they are trying to preserve.
|
|
eliminate multiple 'implicit' declarations introduced by the previous
over-zealous #include cleanup.
Thanks to to tedu@ for pointing out how -Wall reveals all.
|
|
sparc64 at least.
Found when deraadt@ complained about loongson miniroot blowing up.
|
|
this was missed when unifying text in the other parse.y parsers (see e.g.
pf.conf.5 r1.495). Noticed in a misc@ post by zeloff at zeloff/org.
|
|
this hardware alive is becoming increasingly difficult, and I should heed the
message sent by the three disks which have died on me over the last few days.
Noone sane will mourn these ports anyway. So long, and thanks for the fish.
|
|
/usr/mdec/mbr. Only one instruction changes, a 'cli' becomes 'sti'.
ok deraadt@ tedu@
|
|
#include in *.h files in favour of listing them as required in the *.c
files. Fix error message to correctly state that 64 is the minimum
value for -l. Use errx() where errno is not relevant. Use 'continue'
rather than a label to go back to start of a loop.
No intentional functional change.
|
|
for any missing geometry.
|
|
|
|
Inspired by guenther@.
|
|
need to record two sets of metric/geometry data. Use 'geometry'
instead of 'metrics' in names and comments. Eliminate
DISK_getmetrics().
While here, make 64 the minimal valid value for '-l' instead of 1. This
avoids the possibility of having 0 cylinders.
No intentional functional change.
Feedback & tweak from chris@
|
|
|
|
|
|
|
|
then self-sign it rather than using the "openssl req" shortcut. This allows
us to specify -extfile and thus set the correct certificate extensions so
that stricter SSL implementations will trust this as a CA cert, and matches
how things are done in ssl(8). This is basically a partial revert of r1.77.
Researched by chrisz@, tweak/ok jmc@ ok beck@
|
|
implementing that command, a pointer to the command arguments is the
only thing needed. No need to have a pointer to the command table in
every command, since there is only one table. No need for shiney new
stack space for every command name and arguments parsed, since we
don't recurse we can just use static memory.
No intentional functional change.
|
|
'struct dos_mbr' variables, since that is what the buffers were used
for. Removes need to know about DEV_BSIZE and thus include param.h
from all files but one so move the param.h #include to that file
(mbr.c).
Nuke a bunch of local MBR #defines in favour of the disklabel.h ones.
Remove a bunch of unneeded #includes, replace the odd malloc/bzero
with calloc, replace equally odd bcopy's with memcpy, remove a stray
duplicate MBR parsing in MBR_pcopy().
No intentional functional change.
|
|
ok deraadt@ with gritted teeth on keeping <sys/param.h> for now.
|
|
abstraction. Call a 'struct' a 'struct' and not a pony.
No functional change.
idea ok deraadt@
|
|
ok millert@
|
|
|
|
and then modernize some other function pointer calls.
|
|
wrapping rows of echo's via fdisk was silly.
ok kettenis krw
|