Commit Graph

12709 Commits

Author SHA1 Message Date
martin
6903ba0384 Explicitly cast offset calculation, size_t may be smaller than off_t. 2021-01-10 13:44:57 +00:00
tkusumi
f8ac354381 fstyp: Sync HAMMER1/2 with DragonFly BSD
taken-from: DragonFly BSD
2021-01-10 12:38:40 +00:00
wiz
93cc9aa740 Add magic incantation to configure an image for mount_udf(8). 2021-01-09 23:54:26 +00:00
ryo
ea9fe086ae sync cpuids[] of sys/arch/aarch64/aarch64/cpu.c r1.43 2021-01-04 05:35:14 +00:00
taca
8202121906 Change second gc.interval_min to gc.interval_max.
Obviously, second gc.interval_min should be gc.interval_max.

Should be pulled up to netbnsd-9.
2020-12-17 05:33:06 +00:00
jmcneill
798fdf3f82 MAsk -> Mask, spotted by rillig@ 2020-12-14 10:18:28 +00:00
jmcneill
0eb6f089ee Add support for decoding Platform Communications Channel Tables ("PCCT"). 2020-12-12 16:08:39 +00:00
jmcneill
962d94c5c4 acpidump: Do not print FACS if HW_REDUCED flag is set.
According to ACPI 6.3 spec, FACS is optional when HW_REDUCED is set. ACPICA
ignores the FACS completely when HW_REDUCED is set, so we need to follow
suit since it is not available through /dev/acpi as the table is not
installed.
2020-12-06 18:38:58 +00:00
jmcneill
161b30af53 acpi: add character device for accessing ACPI tables
The /dev/acpi character device gives an aperture into physical memory
that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and
the root tables. Adapt acpidump(8) to use this interface by default,
falling back to the old /dev/mem method if it is not available or if
ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit
of this change is that "options INSECURE" is no longer required to
dump ACPI tables.
2020-12-06 02:57:29 +00:00
wiz
0fff63c9f6 comparision -> comparison 2020-12-02 14:20:19 +00:00
rin
530d774931 Explicitly link liblber and libssl when ldap support is enabled.
Fix sun2, i.e., MKPIC=no build.
2020-12-02 02:21:43 +00:00
bouyer
cfd5acca1c Enable ldap support in racoon(8). Proposed on tech-userlevel,
"Go for it" from christos@
2020-12-01 10:10:57 +00:00
jmcneill
5bdad892bd Make sure the kernel set is selected, even if extracting parts of it
manually.
2020-11-28 13:05:58 +00:00
msaitoh
1e34099b98 - Print CPUID 0x8000008 %ebx on Intel, too. Intel now supports WBNOINVD.
- Print CPUID leaf 7 subleaf 1.
2020-11-24 00:48:39 +00:00
rin
2b36317ff7 Support aarch64eb; just works fine. 2020-11-17 10:47:17 +00:00
jmcneill
8ab169f5c2 Add "efi" as a supported boot image type and derive the platform ID for
the validation entry from the default boot image instead of hard-coding
X86.
2020-11-15 00:18:48 +00:00
wiz
af09e09a6e New sentence, new line.
Other whitespace fixes, and some Xr fixes.
2020-11-14 20:07:13 +00:00
mlelstv
cc6482f1d2 Add option -n to print only the value of a sensor.
If statistics are selected with -T, then also display max, min and average.
The empty line between each display is skipped when one or more sensors are
selected with -s.
2020-11-14 16:32:53 +00:00
mlelstv
48032c2032 Allow to select raw output for a single device or a list of sensors. 2020-11-14 12:36:49 +00:00
mlelstv
799a3dc99b For raw output (-x) allow to extract individual properties like drvctl -p.
E.g.

# envstat -x /vcmbox0/0/cur-value
328150000
2020-11-14 09:11:55 +00:00
martin
fe44212f38 Disable all entropy checks for now untill consensus has been found how
to properly deal with it.
2020-11-13 17:39:06 +00:00
nia
a42fc114cd Revert addition of pthread dependency on sqlite.
It is less trivial than expected and introduced some surprising breakage.
2020-11-12 17:53:43 +00:00
reinoud
551fa9b117 rock_ridge_move_count is only incremented and can never be negative so change
%08i to %08u.
This removes a warning when compiling with tools outside ./build.sh
2020-11-10 20:48:29 +00:00
gson
d56a0f0357 Fix typos in comment 2020-11-10 09:14:01 +00:00
martin
312a1f515d Fix copy&pasto in previous 2020-11-09 10:19:41 +00:00
nia
70f54ff57b sqlite: do not build without multithreading support
at least a few pkgsrc packages avoid base sqlite because it fails
this check, and it's probably a surprising performance penalty for
unsuspecting users
2020-11-08 21:56:47 +00:00
dholland
5f378fab42 syslogd: in die(), don't call die() again recursively.
Particularly not for something as immaterial as close failing.

PR 55795
2020-11-08 01:12:46 +00:00
christos
cab1687af0 make the buffer fit any 32 bit number. 2020-11-07 17:46:56 +00:00
christos
8cb1641ff6 PR/55794: Jan Schaumann: Eliminate unchecked malloc 2020-11-07 16:16:33 +00:00
martin
35097c7d0a Minimize the installer for crunched install media 2020-11-06 19:47:31 +00:00
martin
6948e0f3e4 Fix copy & pasted copyright comments. 2020-11-06 12:23:10 +00:00
christos
a71fcfa7e4 Print the program name in error messages. 2020-11-05 19:13:21 +00:00
martin
aeba785f6e Remove an unused message (accidently placed inconsistently in
previous)
2020-11-05 11:10:11 +00:00
martin
78ab2ae046 Avoid warnings 2020-11-04 16:26:35 +00:00
martin
043e812b52 Add (experimental) entropy input support:
Early during new installs or after upgrades we check if entropy is
available. If not (no hardware random number generator available)
we inform the user and ask them to fix it.
2020-11-04 14:29:40 +00:00
martin
bfb6e5613b PR 55769: avoid the module set if we do not build any 2020-10-30 18:47:38 +00:00
abs
c30a39f078 Fix tcpdump example from "‐i npflog0.pcap" to "‐i npflog0" 2020-10-30 09:23:36 +00:00
martin
827c798e7b Fix obvious copy&pasto 2020-10-29 08:50:42 +00:00
abs
f6c2394005 Update mopd for 4k VAX page size and support 1k page a.out binaries
From dreamlayers
2020-10-27 17:16:24 +00:00
abs
c185136d00 Fix Linux pfInit() parameter order for mopd
From dreamlayers
2020-10-27 17:07:14 +00:00
martin
da165701f6 When we did not magically find any CD medium with sets, offer a manual
override (so ISO images on USB sticks or Xen's xbd(4) work).
2020-10-27 15:28:01 +00:00
martin
a466822889 PR 55752: relax an assertion, the first getvfsstat() call may overestimate
the file systems visible to us.
2020-10-26 20:18:33 +00:00
martin
6c05a6401d Mark a variable only used in an assert as __diagused. 2020-10-25 08:50:32 +00:00
martin
04645caa29 When looking for available CD media, skip those that are already mounted.
When no medium with sets is found, show a new error message and return
to the source selection menu.
Rearrange all source option menus to have the proper set suffix
available (either .tgz or .tar.xz).
2020-10-24 16:13:15 +00:00
martin
57bc5d61da Do not force bootselector MBR code for installs with only a single named
partition.
2020-10-23 19:03:42 +00:00
martin
ea4944af8e Do not force alignment of the first partition by default (which is
treated special to skip the first track), unless an existing partition
table hints at it.
2020-10-23 19:02:58 +00:00
martin
7714ed32ca Properly convert partition default sizes in MB to number of sectors 2020-10-14 15:09:10 +00:00
martin
bb6bc013a3 Move MBR writing (if any) post disklabel writing, otherwise strange
interactions happen.
2020-10-14 14:37:59 +00:00
martin
7a17fd0552 Remove dead code 2020-10-14 13:20:27 +00:00
martin
0d9613fa7b Fix copy & pasto (missing "again" label) 2020-10-14 08:49:04 +00:00