Age | Commit message (Collapse) | Author |
|
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
|
|
wildcard path ("ftp-proxy/*"), but make sure to call it after we're
done with the ruleset for the current anchor. On one hand this
repairs printing content of such anchors and on the other it allows
to use a wildcard on the command line for anchors that were not
initially specified with a wildcard. Makes pfctl regress happy
again. OK henning, deraadt
|
|
this is a start. With input from many.
|
|
|
|
OK by many
|
|
otherwise the policy list might get corrupted; from haesbaert
|
|
|
|
permits before release, and is pointless without other following diffs
to justify it that will not make release.
Should fix segfault's during install reported by Rod Whitworth on tech@
|
|
|
|
ok guenther
|
|
|
|
has been configured as the value.
i.e. 'send dhcp-client-identifier "";' in dhclient.conf will result in
no dhcp-client-identifier (option 61) being sent.
Useful for testing dhcp server behaviour.
|
|
randomly choose the address for CFG_REQUEST. this address will be used
to replace 0.0.0.0/32 in the specified flow. e.g.
> ikev2 passive esp from 192.168.1.0/24 to 0.0.0.0 \
> config address 192.168.10.200/24
will assign an address between 192.168.10.200 and 192.168.10.254
and replace 0.0.0.0 with this address.
ok mikeb@ on older version of this diff.
|
|
ok mikeb@
|
|
%zu for size_t.
From Andre de Oliveira
With input and OK from blambert@ markus@
|
|
commits.
ok henning@
|
|
memory to NULL.
|
|
when calling mpfree() with the array.
|
|
mountpoints array.
|
|
fields that are ignored when reading an ascii disklabel. Actually
remove the parsing of 'total sectors', which was just above the line
trying to skip said parsing.
Spotted when halex@ forced me to read this code again.
|
|
ok krw, florian, henning
|
|
still experimental and rekeying needs some work; ok mikeb@
|
|
|