Commit Graph

281708 Commits

Author SHA1 Message Date
rin
f46f81bd9a Now, profiling works for GCC9 on aarch64{,eb}.
Note that it seems to work even for GCC8, according to log data of
official test runs, e.g.,

	https://releng.netbsd.org/b5reports/evbarm-aarch64/2020/2020.09.01.15.45.20/test.log
2020-10-13 06:49:27 +00:00
kamil
948dbe8f00 Decorate the aarch64 signal trampoline with CFI attributes easing unwinding
Now, the unwinders (in backtrace(3) and similar) can unwind properly
the stack from a signal handler.
2020-10-13 01:59:55 +00:00
thorpej
ee912053c1 Document CPUFLAGS here (it's already documented in share/mk/bsd.README).
This will address the initial concern in PR port-alpha/55545.
2020-10-13 01:59:32 +00:00
kamil
8c991e5f3d Fix typo 2020-10-12 23:58:14 +00:00
kamil
0d692821e5 Decorate the i386 signal trampoline with CFI attributes easing unwinding
Now, the unwinders (in backtrace(3) and similar) can unwind properly
the stack from a signal handler.
2020-10-12 23:56:08 +00:00
kamil
5b3d48337b Add CVS Id 2020-10-12 21:33:46 +00:00
uwe
02b4a321b1 Mention HOST_CFLAGS and HOST_CXXFLAGS. 2020-10-12 21:14:36 +00:00
uwe
9a7d963937 If this file is processed with real roff (doc.tmac) tweak things to
make ascii output as close to the mandoc output as possible.
There are only two diffs:
- groff renders em-dash as -- in the NAME section
- mandoc misses "NetBSD" in the "NetBSD System Manager's Manual"
  section header
2020-10-12 21:12:34 +00:00
uwe
c6ee822b87 Bump date and regen for BUILDING.mdoc revision 1.127
that introduced build.sh -c <compiler> option.
2020-10-12 21:05:54 +00:00
kamil
749e6dfcc2 Decorate the x86_64 signal trampoline with CFI attributes easing unwinding
Combine the approach provided by Nikhil Benesch and Andrew Cagney.

Now, the unwinders (in gccgo, backtrace(3), etc) can unwind properly
the stack from a signal handler.

Fixes lib/55719 by Nikhil Benesch
2020-10-12 17:55:53 +00:00
roy
d3b0ce63f8 powerd: Stop crashing if entries are not found in the dictionary
If the first three are not found, log a diagnostic and do nothing.
If the latter two are not found, set them to NULL rather than garbage.
2020-10-12 16:54:43 +00:00
martin
df588a63f3 Minor fix to previous: fix condition when we offer the partition type
switch - it makes sense even if the disk is partitioned but has no valid
partitions.
2020-10-12 16:27:23 +00:00
martin
957b5cd6f4 PR 55536: when we find existing partition tables and have alternative
formats available, offer to delete partitions and create new ones from
scratch (in some other or the same on-disk format).
2020-10-12 16:14:32 +00:00
nia
f476d77f98 xclock also gets AlwaysOnTop 2020-10-12 15:24:16 +00:00
roy
30ba5d0082 carp: link state is DOWN until it becomes a MASTER
This is consitent with other BSD's handling of CARP and means
we don't have to carry a custom flag for it.
2020-10-12 15:18:48 +00:00
martin
f184b4ad4d Remove very strange code that special-cased MSDOS file systems and refused
to newfs the partition (despite explicit request to do so) if it was
mountable.
Accidently carried over from a dim and distant past, before we had
fsck_newfs.
2020-10-12 14:29:41 +00:00
roy
e52974ecc6 Note update to dhcpcd-9.3.1 2020-10-12 14:10:37 +00:00
roy
0a9e4e74f0 Sync withn dhcpcd-9.3.1 2020-10-12 14:09:03 +00:00
roy
597ffba2d5 Update to dhcpcd-9.3.1 with the following changes:
* dhcpcd: carrier handling issue fixed from 9.3.0
 * dhcpcd: log if interface type is unsupported in debug
 * duid: memory leak fixed if UUID wanted but none available
 * privsep: fix receiving inet and no BPF running
 * privsep: allow gettimeofday for SECCOMP
 * privsep: fix stderr redirection again
2020-10-12 14:07:55 +00:00
christos
5d858a7a6b - remove duplicate comment
- flush after printing the number
(from kre@)
2020-10-12 13:54:51 +00:00
christos
c6669ee4d0 more clarifications. 2020-10-12 13:53:43 +00:00
martin
a615c4ceeb Previously we abused pm->ptstart / pm->ptsize to pass the bounds of the
NetBSD outer partition to the inner partition editor - but now this is
not a valid assumption any more, so explicitly fix the bounds if an
outer partition exists.
2020-10-12 12:17:29 +00:00
ryoon
b51a026d21 Fix typo in comment 2020-10-12 12:11:03 +00:00
nia
92a6612581 define xsetroot in the right place 2020-10-12 11:43:11 +00:00
martin
a4ca382971 Fix editing start and size of not yet existing outer partitions. 2020-10-12 11:23:45 +00:00
roy
37008ba264 carp: Set ethernet address just before interface registation
Otherwise ifconfig reports SIOCGLIFADDR errors.
2020-10-12 11:07:27 +00:00
nia
ad94c89804 Automatic font scaling based on screen size in the default ctwm config.
Based on a shell script which gets the DPI from the X server, and if this
fails, attempts to guess based on resolution. Taking advantage of M4 macros
in the ctwmrc, we can also scale the workspace manager and window list.

The following sizes are supported: 6x12 (<800x600) 8x16 12x24 (4k and higher)
16x32 32x64

Also makes Spleen the default font in ctwm
2020-10-12 11:07:23 +00:00
hannken
ce6d7dcd35 Stub groupmember() has to test both group list and current group id.
Fixes kern/55675: ZFS mounts do not work with setuid programs
2020-10-12 08:21:21 +00:00
kim
9de06003f8 Bump date 2020-10-11 22:46:24 +00:00
kim
2f25d90010 Make "rtsol" functional again. 2020-10-11 22:38:48 +00:00
jnemeth
dcf9d0d48c Also edns-udp-size. 2020-10-11 22:14:55 +00:00
jnemeth
db7cb834a5 Set max-udp-size as per DNS flag day 2020, see
https://www.isc.org/blogs/dns-flag-day-2020-2/ .
2020-10-11 22:11:36 +00:00
jdc
b211248d17 Handle EDID:N entries, where N is the port number, so that we can set up
the display on port1 when port0 has no EDID information.
Try harder not to return NULL from radeonfb_modelookup() because we use
the result without checking later.
While here, adjust RADEONFB_DEBUG output:
  don't print RADEON_PIXCLKS_CNTL (fixes a crash on sparc64 because it's
  not aligned)
  don't ignore the bottom 200 lines of the display (for no apparent reason))
2020-10-11 21:41:57 +00:00
roy
2669b948a0 ifconfig: if SIOCGLIFADDR fails, continue to the next address 2020-10-11 21:32:37 +00:00
jdc
ce376e9f2c Add a static EDID entry for the Mesostation-999.
Use the same logic as macppc for adding the entry.
2020-10-11 19:39:22 +00:00
christos
df7f34cf57 mention hex numbers 2020-10-11 18:48:20 +00:00
christos
662c0e244b Remove is_hex_str() (trying to guess if a number was hex or not). It is not
documented and can lead to unexpected behavior.
2020-10-11 18:46:21 +00:00
christos
d32a26f01d simplify: use two arguments again, suggested by kre@ 2020-10-11 18:43:50 +00:00
thorpej
bca2ab8d4c initclocks() now fixes up tick and tickadj if hz changes, so we no
longer need to do it.
2020-10-11 18:39:48 +00:00
thorpej
b737778666 Call cpu_initclocks() before registering the default timecounter,
in case it updates hz.  If hz changes, recalculate tick and tickadj.
2020-10-11 18:39:09 +00:00
nia
369baf1326 Generate oldschool Latin-1 variants of Spleen fonts.
Needed so ctwm can load them. ctwm uses XCreateFontSet which for some
reason seems adverse to returning UTF-8 fonts...
2020-10-11 17:49:07 +00:00
christos
f1aebb0c36 From gson@
- don't assume -h is always on for large factors
- fix saved large factors printing when -h
2020-10-11 17:18:34 +00:00
christos
d4a34e5d29 Add tests for h and x flags 2020-10-11 17:17:39 +00:00
skrll
058bd28709 Define _ARM_ARCH_8 when __ARM_ARCH_8A (no trailing double underscore) as
it is defined by gcc.

__ARM_ARCH_8A__ (with trailing double underscore) seems to be a typo (or
maybe historical)
2020-10-11 16:22:02 +00:00
tnn
636014f4f9 rk3399_pci: support for PCI express switches / bridges / multiple buses
There were two isses that prevented this from working:

1. We must use type 1 configuration cycles when accessing bus 2 and
beyond, but type 0 configuration cycles for bus 0 and 1.

2. The hardware address decoder cannot be used to decode the bus portion
of the ECAM address. Due to the physical SoC address of the remote device
region not having sufficient alignment the wrong bus address would go out
on the wire. Also the mapped region is too small to address busses
beyond bus31.

Fix: Reduce the number of ECAM translated bits to dev+func only.
For each configuration space access, acquire an exclusive lock
and reprogram the translator with the correct bus number and access type.
Config space is accessed sufficiently infrequent for this to not cause
any performance problems.
2020-10-11 15:33:18 +00:00
jmcneill
2daa1c2c88 Exclude live images from install media 2020-10-11 14:54:08 +00:00
jmcneill
25ebdff55f Create a bootable El Torito installation ISO. 2020-10-11 14:24:50 +00:00
jmcneill
3794e8818c Sync with amd64 2020-10-11 14:24:31 +00:00
jmcneill
fe29b3ea10 Include newfs_msdos 2020-10-11 14:10:34 +00:00
jmcneill
e64bf27803 Copy release to /${RELEASEMACHINEDIR} instead of /${MACHINE} to match
sysinst expectations.
2020-10-11 14:10:04 +00:00