summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/clientloop.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2009-05-24 21:58:06 +0000
committerschwarze <schwarze@openbsd.org>2009-05-24 21:58:06 +0000
commit2a0180a94268c89ec87cca5cc4652ca35ced3b21 (patch)
tree92ad272e3dfe69758316c3a4a5ac07581c66c522 /usr.bin/ssh/clientloop.c
parentrework, also size ram. (diff)
downloadwireguard-openbsd-2a0180a94268c89ec87cca5cc4652ca35ced3b21.tar.xz
wireguard-openbsd-2a0180a94268c89ec87cca5cc4652ca35ced3b21.zip
Before dd'ing raw partitions around, do stricter sanity checking:
Do not attempt to copy a larger partition onto a smaller one. Backup of non-ffs root partitions was never supported, so don't even try. (Both of the above suggested by guenther@). Also add error messages in case ROOTBACKUP is switched on but severely misconfigured - those were silently ignored in the past: /altroot not defined or wrong type or on the same device as root. otto@ agrees that checking the sizes makes sense
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
0 files changed, 0 insertions, 0 deletions