summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-06Fix a logic error when configuring the driver to use msi.Kevin Lo
2019-05-06double macro snuck in;Jason McIntyre
2019-05-06Whitespace removalMike Larkin
Pointed out by Jerome Pinot
2019-05-06Whitespace removalMike Larkin
Pointed out by Jerome Pinot
2019-05-06Whitespace removalMike Larkin
Pointed out by Jerome Pinot
2019-05-06Whitespace removalMike Larkin
Pointed out by Jerome Pinot
2019-05-06Whitespace removalMike Larkin
Pointed out by Jerome Pinot
2019-05-06Whitespace and extra semicolon removal.Mike Larkin
Pointed out by Jerome Pinot
2019-05-06vmctl.8 : man page cleanupMike Larkin
input from jmc@
2019-05-06Remove vmm(4) from i386 MAKEDEV.8Mike Larkin
pointed out by jmc@
2019-05-06Cleanup things that missed removal during vmm(4) i386 purge a few monthsMike Larkin
ago. ok kn, deraadt
2019-05-05The perldoc(1) program wants to support the MANWIDTH environmentIngo Schwarze
variable and fall back to what stty(1) reports, and it does so with nroff(1), but it didn't with mandoc(1) because it didn't know how to pass the desired width to mandoc. Teach it to use "-O width=". OK afresh1@. I noticed the unimplemented feature when Andrew Daugherity asked on tech@ what the point of a certain patch in FreeBSD is (which it turns out we don't need).
2019-05-05Like we already do for pod2man(1), always let perldoc(1) produce man(7)Ingo Schwarze
output in UTF-8 encoding on OpenBSD. The consumer is always mandoc(1) on OpenBSD, which can always handle UTF-8 input (no matter what LC_CTYPE is) and which always produces useful output: UTF-8 for LC_CTYPE=*.UTF-8 or ASCII otherwise, in particular for LC_CTYPE=C. Patch written after afresh1@ reported that "perldoc -oman" output looked bad in both output modes. OK afresh1@.
2019-05-05switchd(8) will sometimes not save a copy of a packet needing forwardingakoshibe
even when a switch(4) instance requires it to supply it. Cases where this can happen are: if the copy of the packet recieved from the switch is too short (source/destination pairs can't be recovered), is non-unicast, or when switchd has to fall back to flooding traffic. Factor out the check for short packets, stopping before forwarding decisions are made if the full packet is needed by the switch. Set the packet buffer early for cases where it is needed otherwise. Also replace a few bzero's with memset's. Diff based on one by guenther@ OK phessler@
2019-05-05Getting too tight. Surrender a littleTheo de Raadt
2019-05-05Add support for the EFI Random Number Generator Protocol and use it to XORMark Kettenis
random data into the buffer that we feed the kernel. ok deraadt@, mlarkin@
2019-05-05sync the description of bufcachepercent; ok deraadtJason McIntyre
2019-05-05Use bsd.gz inside ramdiskTheo de Raadt
2019-05-05kern.bufcachepercent is actually for dma-reachable memory.Theo de Raadt
While here, stop describing the default (wrong place to be so specific)
2019-05-05like ../cdfs/, not yet adjusted to use FSSIZETheo de Raadt
2019-05-05Use the .bss for the bootstrap stack of mips_init(). This way the memoryVisa Hankala
region is properly allocated by the firmware. Move the .bss clearing to locore.S because the section has to be ready when the stack is taken into use. This additionally makes the C environment more consistent at the start of mips_init().
2019-05-05Call cpu_unidle() from need_resched() on mips64 like mostVisa Hankala
other architectures.
2019-05-05Turn need_resched() and signotify() into proper functions on mips64.Visa Hankala
2019-05-05For "unpriv -f file", chown file back to root once the command finishes,Antoine Jacoutot
like install.sub and sysupgrade(8) do.
2019-05-05Initialise variable.Antoine Jacoutot
2019-05-05Change variable name.Antoine Jacoutot
2019-05-05regenMark Kettenis
2019-05-05Harmonize AMD CPU/APU devices.Mark Kettenis
ok jsg@
2019-05-05sentences start with capitals;Jason McIntyre
2019-05-04oops, fix unpriv() argument handling; from install.subChristian Weisgerber
2019-05-04* For "unpriv -f file", chown file back to root once the command finishes,Christian Weisgerber
like install.sub does. * Only verify the signature once. * Only checksum the newly downloaded files. ok florian@
2019-05-04let users try mcx(4)Theo de Raadt
2019-05-043 bytes of kernel stack address space were leaked into on-disk directories.Theo de Raadt
With some gritty work up to 254 bytes can be discovered. More details at https://svnweb.freebsd.org/changeset/base/347066 The impact on OpenBSD is very limited: 1 - such stack bytes can be found in raw-device reads, from group operator. If you can read the raw disks you can undertake other more powerful actions. 2 - read(2) upon directory fd was disabled July 1997 because I didn't like how grep * would display garbage and mess up the tty, and applying vis(3) for just directory reads seemed silly. read(2) was changed to return 0 (EOF). Sep 2016 this was further changed to EISDIR, so you still cannot see the bad bytes. 3 - In 2013 when guenther adapted the getdents(2) directory-reading system call to 64-bit ino_t, the userland data format changed to 8-byte-alignment, making it incompatible with the 4-byte-alignment UFS on-disk format. As a result of code refactoring the bad bytes were not copied to userland. Bad bytes will remain in old directories on old filesystems, but nothing makes those bytes user visible. There will be no errata or syspatch issued. I urge other systems which do expose the information to userland to issue errata quickly, since this is a 254 byte infoleak of the stack which is great for ROP-chain building to attack some other bug. Especially if the kernel has no layout/link-order randomization ... ok kettenis jca millert otto ...
2019-05-04Silence "Uunable to acquire AGP" message since we don't support AGP on allMark Kettenis
AGP-capable chipsets and probably never will.
2019-05-04Remove some junk that we don't use.Mark Kettenis
ok patrick@
2019-05-04call these devices "Ethernet device", as other pages do;Jason McIntyre
prod/ok deraadt
2019-05-04Add DIR_ROUNDUP define, from Kirk McKusickTheo de Raadt
ok millert otto kettenis
2019-05-04Removed all diagnostic, calling printf() here might create a recursion.Martin Pieuchot
Should be revisited once logwakeup() is fixed.
2019-05-04Relax the check in knote_{de,en}queue: don't panic w/o KERNEL_LOCK().Martin Pieuchot
Use splassert_fail() instead, please set kern.splassert to 2 and report the corresponding stack trace if you see a warning. ok dlg@
2019-05-04syncTheo de Raadt
2019-05-04fix array bounds check in ixl_search_link_speed()Jonathan Gray
ok dlg@
2019-05-04drm/i915/bios: assume eDP is present on port A when there is no VBTJonathan Gray
From Thomas Preston 6e0473633af059a559ce7b4cbaa51e389c94085e in mainline linux Makes inteldrm(4) work on James Hastings's 'HP Stream Laptop 14-cb1XX' a Gemini Lake system where finding the VBT fails. ok kettenis@
2019-05-04Xr mcxTheo de Raadt
2019-05-04Require root to run (still allow access to usage).Antoine Jacoutot
ok naddy@ florian@
2019-05-04Improve the interaction between efifb(4), inteldrm(4) and radeondrm(4)Mark Kettenis
when we have a serial console by introducing the notion of a "primary" graphics device. The primary graphics device is the one set up and used by firmware (BIOS, UEFI). The goal is to make sure that wsdisplay0 and drm0 reliably attach to the primary graphics device such that X works out of the box even if you have multiple cards or if you are using a serial console. This also fixes the situation where inteldrm(4) or radeondrm(4) would take over the console on UEFI systems even if the kernel was booted with a serial console. ok jsg@
2019-05-04a quick and dirty manpage for mcxDavid Gwynne
2019-05-04drm: Fix drm_release() and device unplugJonathan Gray
From Noralf Tronnes c5eb9a424ebd2d9f9e3cccdf2bfbb415c2921261 in linux 4.19.y/4.19.39 3f04e0a6cfebf48152ac64502346cdc258811f79 in mainline linux
2019-05-04Add mcx(4), a driver for Mellanox ConnectX-4 (and later) EthernetJonathan Matthew
controllers, written by dlg@ and me based on the cut down non-NDA programming reference manual Mellanox were nice enough to release. ok dlg@ deraadt@
2019-05-04Fix Pod::Perldoc::ToMan and use it as the default perldoc formatterAndrew Fresh
From Andrew Daugherity <andrew.daugherity () gmail ! com> Corrections to fix and OK millert@, suggestions and OK schwarze@
2019-05-03Use MOUNT_POINT throughout, consistant with other platforms.Theo de Raadt