Commit Graph

281694 Commits

Author SHA1 Message Date
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
jmcneill
b5871b26b4 Add ISO9660 support. 2020-10-11 14:03:33 +00:00
nia
adf31424df slightly lower workspace manager size
this works nicely on a 12.5" FHD screen
2020-10-11 10:12:53 +00:00
nia
d201bbfa3c allow xsetroot to be used in default xinitrc 2020-10-11 10:08:26 +00:00
nia
0a5b11edd2 allow the root window to be freely painted with e.g. xsetroot
it came up during initial review that it may be confusing that xsetroot
doesn't work by default
2020-10-11 10:02:51 +00:00
nia
d8abfc1173 mute binding is annoying when there's hardware mute 2020-10-11 07:08:29 +00:00
rin
428b4e25bc Fix build; clean manpages only if they are generated automatically. 2020-10-11 07:07:31 +00:00
thorpej
c7f773292a Add some bus_dma instrumentation. 2020-10-11 00:33:30 +00:00
thorpej
d447adf945 G/C alpha_XXX_dmamap() / alpha_XXX_dmamap_or. They haven't been needed
for a long time.
2020-10-10 21:59:03 +00:00
jmcneill
348742fbbe For absolute pointers, report min/max X and Y values using
WSMOUSEIO_[SG]CALIBCOORDS ioctl.
2020-10-10 21:47:42 +00:00
thorpej
9b9c28142b Rename:
- EM_ALPHA (41) -> EM_OLD_ALPHA
- EM_ALPHA_EXP (36902) -> EM_ALPHA

36902 has been the value in common usage for a long time, and this naming
aligns with binutils, etc.

PR port-alpha/51926
2020-10-10 21:25:51 +00:00
thorpej
6b90ba5d47 In siisata_intr_port(), skip reading the error condition if
ata_queue_get_active_xfer() returns NULL.

PR kern/55682.  Fix suggested by mlelstv@.
2020-10-10 20:27:54 +00:00
christos
3c56a67128 - remove bitypes.h fossil
- define u_{char,short,int,long} if we don't have _NETBSD_SOURCE defined
  so that this compiles (and resolv.h since it includes this). This is
  the simplest solution. Others:
  - always define them (bad, pollutes namespace)
  - create <sys/utypes.h> (bad, overkill)
  - change them to unsigned {char, short, int long} (bad, too disruptive)
2020-10-10 19:51:48 +00:00
martin
6ddad1490c Remove more pm->ptstart abuse - calculate values localy where needed
instead.
2020-10-10 19:42:19 +00:00
sjg
876682479f Limit output of export tests to POSIX compatible env vars 2020-10-10 19:25:19 +00:00