Age | Commit message (Collapse) | Author |
|
|
|
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@
|
|
|
|
when EAGAIN is encountered while trying to flush messages.
|
|
|
|
on EAGAIN, sets quit to INTERNALSIG on errors (unless quit is already
set to something else), and prints a consistant error message when
errors other than EPIPE and end of file are encountered.
Fixes failure to write resolv.conf when -L is used, and makes
add_address() and add_route() also wait until imsg is in pipe.
|
|
|
|
'sendhup' a while ago.
|
|
not cause privileged process to exit.
|
|
rather than 0000 and 0664 respectively.
ok kettenis@ tedu@
|
|
leases.IF files.
Inconsistency pointed out by Jiri B.
|
|
priv_write_file().
|
|
|
|
|
|
disk. This means skipping the '(U)pdate' command after editing
the MBR will still produce something disklabel(8) will respect in
the morning.
Problem noted by David Vasek.
ok jsing@ toby@. Moral support halex@.
|
|
'next-server'. Modify new lease being cloned with their values
rather than overwriting original lease being cloned.
|