Commit Graph

7146 Commits

Author SHA1 Message Date
mrg 90cb3f8f93 vax vs gcc: fsdb.c loses. also build this with -O0. 2021-04-15 01:56:00 +00:00
mrg 8b5e691ee5 build lfs_node.c with -O3 on ia64 to avoid assembler overflow issues. 2021-04-14 08:31:24 +00:00
mrg 97b36aa771 more GCC 10 fixes.
mDNSResponder: another wrong return local address

dhcp: ignore a seemingly impossible stringop overflow

hpacel: avoid maybe uninitialised error that is wrong.

rsh: avoid impossible malloc(0)

udf: cast pointers through (uintptr_t) to fool invalid boundary checks
2021-04-13 06:25:48 +00:00
mrg 5132a436cc properly terminate a buffer after strncpy(). 2021-04-12 09:18:14 +00:00
simonb c84bb8ac7c Update usage message to reflect reality. 2021-04-07 14:45:28 +00:00
riastradh 8603ff52c2 Clarify wording further based on private feedback. 2021-04-06 22:02:40 +00:00
riastradh cfdaa93ec8 Clarify security model of rndctl -S files. 2021-04-06 12:32:39 +00:00
nia 9ff36a0c40 rndctl(8): to -l, add a "samples" column separate to "bits"
rename the "bits" column to "estimated bits".

this provides a clear indication when a source is being used, but
not increasing the entropy counter.

this commit fixes an unrelated bug where verbose output functioned
incorrectly when a class of device was specified with -t.

while here, reduce code duplication.

"gofer it" riastradh@
2021-04-04 13:37:17 +00:00
nia 8a1f05e369 rndctl(8): remove no-longer-useful stats from -s
these are always 0 now.

"gofer it" riastradh@
2021-04-04 12:50:31 +00:00
nia 2843dad115 rndctl: make -l's "Flags" field reflect current reality
don't print "legacy options" RND_FLAG_ESTIMATE_TIME and
"RND_FLAG_ESTIMATE_VALUE"

only print "estimate" if we have actually counted any bits from
something, since it's no longer really possible to "enable estimation".

ideally, there should also be a "samples" field so it's clear
collected bits are not being counted.
2021-04-02 07:17:56 +00:00
nia a712f2f75f rndctl.8: reflect current reality 2021-04-02 07:04:05 +00:00
rin 623d9b5490 Fix typo: s/--r/-r/ 2021-03-14 02:56:51 +00:00
msaitoh 44f4353477 s/skiping/skipping/ 2021-03-11 01:13:11 +00:00
christos 1261169451 PR/50933: Uwe Toenjes: Document hardware limitations 2021-03-09 14:39:43 +00:00
martin d4bd079f4d Make IEEE802.11 support optional 2021-03-01 16:47:48 +00:00
jmcneill e60d6bc1d4 Use 32K as the default NFSv3 read and write data sizes on aarch64, matching
i386 and amd64.
2021-01-24 12:51:32 +00:00
mrg 1e8d1e7cf5 call it "kernel object linker module framework" not just
"module framework".  the latter is generic enough to
also mean the old ld(1) linked loadable kernel modules.
2021-01-17 00:17:40 +00:00
mlelstv 3b6e7d0308 Also replace calls to dirname. 2021-01-09 16:25:19 +00:00
mlelstv 1f9fa21d0b Remove need for awk/sed/readlink tools. 2021-01-09 14:00:05 +00:00
uwe 4c353c3815 route(8): group RTF_GATEWAY and ~RTF_GATEWAY (-iface).
While here, tweak RTF_GATEWAY description.  Passive voice elsewhere in
this table is used to talk about the routes themselves, while here
it's about packets.
2021-01-02 22:02:27 +00:00
uwe ba49a14327 route(8): be consistent about capitalization. 2021-01-02 20:36:02 +00:00
uwe ea20573539 route(8): don't split -blackhole and -noblackhole. 2021-01-02 19:50:42 +00:00
jmcneill 2c1310a89c Managment -> Management 2020-12-20 10:19:30 +00:00
jnemeth 464df8b50e PR/55875 - Valentin -- "gpt recover -r" does nothing
Delete do nothing undocumented option, that was there from initial
import.  No idea what it was intended to do and there is no longer
an "upstream".
2020-12-13 21:55:25 +00:00
riastradh 800615b324 Touch up cgdconfig(8) man page.
- Suggest adiantum first.
- Remove references to Blowfish.
- Clarify that ivmethod is relevant only for ancient compatibility.
2020-12-11 21:52:19 +00:00
ryoon 704d4179fb Describe after example like other examples 2020-12-11 18:49:37 +00:00
mrg a63aaf55a5 micron SMART 202 is percent lifetime used not remaining.
almost gave myself a heart attack when my server said 7% remaining!
2020-12-07 10:36:19 +00:00
kre b2fc8900ac PR bin/55834
count blocks written in unsigned 64 bit counter
rather than signed int which overflows after 2^31-1
blocks (2TiB) after which neither the 5 minute
status updates or SIGINFO (^T) reports are issued
until the negative numbers increase past 0 and
wildly inaccurate reports would be written.
2020-12-03 08:25:57 +00:00
pgoyette 1761fcfd85 Be consistent with mark-up of vop_reclaim 2020-12-01 02:43:18 +00:00
dholland 83e8764286 Add missing newlines to ACL prints in tunefs; from Jan Schaumann in PR 55824. 2020-11-26 02:06:01 +00:00
yamaguchi d29dd4c534 add -dd option for reference of the parameter about control protocols
reviewed by knakahara@n.o.
2020-11-25 10:32:54 +00:00
nia c7b55a6538 file systems that are used as what spools? 2020-10-24 10:51:34 +00:00
mlelstv 5c685f7b3c Make command line arguments -r and -w actually override defaults from fstab,
previously -w would only cancel a preceeding -r.

No longer strip -o rw.
2020-10-18 10:57:30 +00:00
roy 8b0aa988ec ifconfig: go back to using direct ioctls rather than data from getifaddrs
AF_LINK may not be the first address returned for the interface.
Technically, it *might* not even exist on the interface even though
other families do.
This is likely a driver bug if this really is the case though.

As such it's just easier to use direct ioctls rather than thump around
getifaddrs results. As it stands, the code makes a lot of getifaddrs
calls anyway, so an extra ioctl or two won't break the bank.
2020-10-14 13:37:14 +00:00
roy 2669b948a0 ifconfig: if SIOCGLIFADDR fails, continue to the next address 2020-10-11 21:32:37 +00:00
mlelstv 3ce6ce8d42 Use raw device for configuring units. This is necessary as
having a block device opened prevents autodiscovery of wedges.
2020-10-06 18:47:07 +00:00
roy ec2482217d Minor correction to prior 2020-10-05 17:29:22 +00:00
roy a6f0f00cfa ifconfig: Warn once more if media supported but no types
This reverts media.c -r1.7
2020-10-05 16:17:05 +00:00
christos 10f7eba97a - centralize number parsing code
- enable -g
- KNF
2020-10-03 18:42:20 +00:00
wiz 2858bf9ece New sentence, new line. 2020-10-03 18:29:02 +00:00
christos a9f74273b0 Add -A (noac) option to turn off the attribute cache. (Maciej W. Rozycki) 2020-10-03 18:06:37 +00:00
msaitoh b140fa3c95 Add [-]eee and [-]vlan-hwfilter. 2020-09-29 08:52:11 +00:00
msaitoh 57920690e6 s/occurence/occurrence/ 2020-09-29 02:58:51 +00:00
msaitoh 811d5a8b03 s/parition/partition/ 2020-09-29 02:49:55 +00:00
roy 4d511cd47d ifconfig: Just look at if_data->ifi_link_state for carrier
It should be the sole source of truth.
if_data is also carried in ifa_data from getifaddrs(3) which saves
more ioctl calls.
2020-09-28 13:50:22 +00:00
jdolecek 6eddb6bb08 add -s option for 'power' command, this instructs the controller to save
the value so it persists resets/whatnot; the NVMe specification lists
this as optional, so this only works if the controller supports it
2020-09-27 18:17:35 +00:00
jdolecek 895d4c1ad7 print current power state and workload as separate values for
'nvmectl power nvme0'
2020-09-27 17:27:07 +00:00
jdolecek 09685c0005 show APSTA support status in identify 2020-09-27 16:45:21 +00:00
roy c054c3f155 ifconfig: We already have struct if_data in ifa_data.
So let's not bother with an ioctl we don't need.
2020-09-26 23:43:26 +00:00
roy 4670a6a468 ifconfig: test cases want LINK_STATE_UNKNOWN to be treated as up. 2020-09-23 10:48:12 +00:00