Commit Graph

6829 Commits

Author SHA1 Message Date
alnsn
265610788f use explicit_memset(3) 2018-05-09 19:38:46 +00:00
alnsn
98def45107 Missed one change when doing a manual merge of my patch with kre's commit. 2018-05-09 18:18:11 +00:00
alnsn
bf3984213d Add '-e' option (echo the passphrase) and wipe the passphrase after use.
XXX Using memset for wiping isn't a good idea because memset is likely
optimised away by gcc. This should be revisited.
2018-05-09 18:11:56 +00:00
wiz
9f41709322 Add commas in enumeration. 2018-05-09 17:35:03 +00:00
kre
2d50dc8f17 Fix missing -p in usage message (noted by Christoph Badura, thanks),
and update -l usage as well.

While here fix man page synopses and a few other odds and ends.
2018-05-09 14:27:41 +00:00
kre
99316b228e Check arg count in configure() at entry, rather than later.
This avoids the stupid null deref I added a couple of commits
ago (on bad usage) and also simplifies the rest of the routine
which no longer needs to check the arg count nearly as much.

Thanks to Alexander Nasonov for finding the null deref bug.
2018-05-09 13:19:33 +00:00
kre
ed050bc6ea Fix usage for rump. Fixes test breakage caused by previous commit. 2018-05-06 20:55:42 +00:00
kre
8880a43f55 Check whether the cgd device selected is available to be
configured,that is, not already in use, before requesting
passwords from the user (or elsewhere).
2018-05-05 11:28:44 +00:00
kre
1c825c2c91 Spello. (it is "existence").
ispell also says that we should s/parseable/parsable/ but I'm
not sure about that one, so I left it.

I also left a correct spelling that no-one has bothered to mangle!
2018-05-01 21:16:02 +00:00
wiz
64f2452046 Bump date for new EXIT STATUS section. 2018-05-01 21:04:01 +00:00
wiz
32e2530e6d Sort sections. 2018-05-01 21:03:37 +00:00
martin
72be6dafa1 Make the "gpt header" command return EXIT_FAILURE when no GPT is present.
This helps sysinst to tell a GPT labeled disk from others.
Very lazy version of a change proposed by kre.
2018-05-01 08:17:13 +00:00
maxv
b5d4b113f7 Add code 3 of paramprob, part of RFC7112: "IPv6 First Fragment has
incomplete IPv6 Header Chain". Handle this code in ping6.
2018-04-24 07:22:32 +00:00
maxv
519a11ad08 Remove annoying (void) casts. 2018-04-24 07:12:04 +00:00
maxv
f025b20b34 Remove double include and unused macros. 2018-04-23 18:48:30 +00:00
maxv
f4598fe58b Remove the "-R" option. It uses IPV6_REACHCONF, but we've never had
this.
2018-04-23 18:44:39 +00:00
maxv
fa0be10b46 Fix usage(), A/E don't exist. 2018-04-23 18:37:19 +00:00
maxv
ed8f79525d Simplify: remove #ifdefs for constants that are always defined, and
remove their #else's (some of which can't compile, since they use values
that since got removed).
2018-04-23 18:32:18 +00:00
maxv
a845eccede Remove dead/broken code, we want to favor RFC3542 over RFC2292. No
functional change. traceroute6 and rtadvd did the same.
2018-04-23 10:35:20 +00:00
wiz
da9f189127 Sort options. Sort option descriptions. Remove Tn.
Sync usage (more) with man page.
2018-04-23 07:25:36 +00:00
maxv
9948652569 Remove the "hops" parameter, it uses RH0, which is deprecated by RFC5095,
and doesn't work on modern networks anymore.
2018-04-23 06:51:25 +00:00
nonaka
ca639f32c5 nvmectl(8): Remove some wdc subcommands from man page.
- wdc drive-log
- wdc get-crash-dump
- wdc purge
- wdc purge-monitor
2018-04-18 10:17:54 +00:00
nonaka
d2ae75c29e nvmectl(8): fix subcommand usage. 2018-04-18 10:16:22 +00:00
nonaka
6ac76f5b92 nvmectl(8): Add big-endian support.
from FreeBSD nvmecontolr(8) r329824.
2018-04-18 10:11:44 +00:00
nonaka
605c860b16 nvmectl(8): fix wdc command usage. 2018-04-17 15:31:00 +00:00
nonaka
1f5086ec4f nvmectl(8): Sync with FreeBSD nvmecontrol(8) r328763. 2018-04-17 08:54:35 +00:00
maxv
bc7ed98e99 typo in comment 2018-04-15 08:27:21 +00:00
kre
329132e2a8 Make timestamp reading code adapt to whatever precision (up to
nanoseconds, 9 digits) the kernel happens to send in the timestamps
in log messages.

Output (numeric) timestamps (when produced) are unchanged and always
in microseconds (for now).
2018-04-14 01:37:34 +00:00
kre
2b71f00cba Minor wording change (no date bump needed.) 2018-04-14 01:34:47 +00:00
mrg
28731ff616 if a new map entry doesn't fit, be more verbose about the sizes. 2018-04-11 07:14:23 +00:00
mrg
d144e17dce add information about how to boot from gpt. mostly taken from the wiki. 2018-04-11 07:13:18 +00:00
wiz
ba701a99f9 Update usage. 2018-04-11 06:41:23 +00:00
wiz
a10e00a15c Sort flags in SYNOPSIS. 2018-04-11 06:40:53 +00:00
christos
2fef76cb66 match the linux dmesg flags. 2018-04-10 22:21:52 +00:00
christos
6d9827c89d eat NUL's first so that the state machine is not altered by them. 2018-04-02 01:15:31 +00:00
christos
eb23b853bb handle log being before timestamp... 2018-04-01 19:36:13 +00:00
christos
db02d1fb9e Handle new timestamp sequences. 2018-04-01 19:31:16 +00:00
ryo
fe33aa2786 Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
2018-04-01 04:35:01 +00:00
mlelstv
20bad51beb Handle sector sizes != 512, check partition overlaps, improve guessing
of filesystem parameters.
2018-03-30 13:14:25 +00:00
christos
373dcdfac1 PR/51418: Jose Luis Rodriguez Garcia: Fix incore src/sbin/fsck_lfs/bufcache.c
XXX: pullup-8, pullup-7
2018-03-30 12:56:46 +00:00
nakayama
6ebbd813f6 Follow the ioctl arg changes of RAIDFRAME_GET_COMPONENT_LABEL and
RAIDFRAME_CHECK_*_STATUS_EXT.

This should fix strange raidctl -s outputs reported in
current-users ML.
2018-03-24 19:41:35 +00:00
roy
68900ca448 Handle the routing socket overflowing gracefully. 2018-03-23 11:57:33 +00:00
mlelstv
a23ee50408 Check device parameter to avoid segfaults. Agument synopsis for -l option. 2018-03-19 09:06:20 +00:00
jdolecek
f24079bab1 use setprogname()/getprogname(), do not hardcode the prognam name in fixed
strings
2018-03-17 11:07:26 +00:00
jakllsch
fbdc91920d Revert functional changes in previous, at expense of strict KNF conformance. 2018-02-14 17:43:09 +00:00
hannken
6e4615fb0f Treat an inode with "mode == 0" and "blocks != 0" as partially allocated
and clear it as ffs_newvnode() tests for "blocks == 0".
2018-02-13 11:20:08 +00:00
sevan
9b1213ca1f Spelling 2018-02-13 00:34:11 +00:00
dholland
32cded6cc9 Typos. 2018-02-08 09:05:16 +00:00
mrg
1b8d2f5ad2 update for GCC 6:
- read_rt() has a missing {} issue.
2018-02-06 09:33:07 +00:00
mrg
845c916a36 updates for GCC 6.4:
identd has aliasing violations, use -fno-strict-aliasing.

newfs_msdos's getbpbinfo() has missing {} issues.

sysctl's kern_cp_id() has missing {} issues.
2018-02-04 09:03:23 +00:00