summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-10Rename apic_proc_uid field to acpi_proc_uid in the acpi_madt_x2apic struct.Mark Kettenis
It is the ACPI processor UID that is stored here. ok guenther@
2016-07-10regenMark Kettenis
2016-07-10Add MICREL KSZ9021 and KSZ9031.Mark Kettenis
2016-07-10Fix typo. Pointed out by patrick@Mark Kettenis
2016-07-10Build firmware for USB devices on octeon.Visa Hankala
ok deraadt@
2016-07-10pledge: use uint64_t instead of int for temporary storing a 64bit integerSebastien Marie
affects only 32 bits platform (like i386). problem spotted and diff from pelikan@ ok deraadt@ jca@
2016-07-10Dynamically attach imxgpio(4) using the FDT.Mark Kettenis
2016-07-10consistent spelling of "Moscow"; Ilya dot Kaliman at gmail dot comIngo Schwarze
2016-07-10Fix a nasty typo that prevented .so links to gziped manualsIngo Schwarze
from working in the absence of a mandoc.db(5) database. Found the hard way by Svyatoslav Mishyn on Crux Linux.
2016-07-10Add support for handling pinctrl device tree bindings to imxiomuxc(4).Mark Kettenis
These are used to do board-specific setup of mux settings and pad configuration. ok jsg@, patrick@
2016-07-10Use the synciobdma instruction instead of the sync instruction forVisa Hankala
flushing any pending local IOBDMA operations. The sync instruction is overkill because it implies a full memory barrier. ok jasper@ (long time ago)
2016-07-10Simplify the code and the server setup by deleting the pseudo-manpathIngo Schwarze
"mandoc" that was used for man.cgi(8) documentation and by assuming that the apropos(1) and man.cgi(8) manuals are simply installed in the default manpath. Even though man.cgi(8) is not installed by default when installing OpenBSD, it is easy to copy it into the default manpath used for man.cgi(8). Idea found when considering a question asked by wrant dot com.
2016-07-10Fix detection of /usr/lib on NFS.Robert Peichaer
Found by Frank Scheiner, thanks for reporting this. OK krw, halex 'cool' deraadt
2016-07-10rename variable for consistencyTed Unangst
2016-07-10Instead of attaching the omap device based on board ids follow imxJonathan Gray
and match based on the compatible property of the root node in the fdt. Each of am33xx, omap3, and omap4 have their own list of devices to attach.
2016-07-10Remove now unused definitions for drivers that have been converted toJonathan Gray
use the fdt.
2016-07-10Document that SIGTTOU is sent if the process is in the background.Todd C. Miller
Adapted from text from tcsetattr(3).
2016-07-10POSIX specifies that if a processing calling tcsetpgrp() is in theTodd C. Miller
background it shall receive SIGTTOU. Handle TIOCSPGRP like we do the other tty ioctls that change the terminal. OK deraadt@ guenther@
2016-07-10Paranoia: check KTRPOINT() before calling ktrpledge() to guarantee wePhilip Guenther
can't (in the future) loop from ktrace writing hitting a pledge condition. diff from Michal Mazurek (akfaew (at) jasminek.net)
2016-07-10attempt to improve clarity by reducing forward references and moreTed Unangst
directly documenting each option's effect.
2016-07-09spelling; from Ilya dot Kaliman at gmail dot comIngo Schwarze
2016-07-09only print one error, not multiple misleading messagesTed Unangst
2016-07-09Do not treat PATH_INFO as a complete path if it doesn't containIngo Schwarze
a manpath. For example, this makes http://man.openbsd.org/mandoc work as expected. Bug reported by tb@, reminded by Svyatoslav Mishyn.
2016-07-09Simplify the i.MX6 platform code. The list of board devices is nowMark Kettenis
(essentially) the same for all boards, so we can use a single list and match based on the compatible property of the root node in the device tree. ok jsg@
2016-07-09Fix bugs introduced with the amap reworkStefan Kempf
- The number of slots must be initialized in the chunk of a small amap, otherwise unmapping() part of a mmap()'d range would delay freeing of vm_anons for small amaps - If the first chunk of a bucket is freed, check if the next chunk in the list has to become the new first chunk - Use a separate loop for each type of traversal (small amap, by bucket by list) in amap_wiperange(). This makes the code easier to follow and also fixes a bug where too many chunks were wiped out when traversing by list However, the last two bugs should happen only when turning a previously private mapping into a shared one, then forking, and then having both processes unmap a part of the mapping. snap and ports build tested by krw@, review by kettenis@
2016-07-09Initialize the mii_oui field such that fec(4) can look at it.Mark Kettenis
ok jsg@
2016-07-09getopt(3) is declared in <unistd.h>, and <getopt.h> is not needed;Ingo Schwarze
from Joerg Sonnenberger via Thomas Klausner, NetBSD.
2016-07-09ehci no longer attaches to imxJonathan Gray
2016-07-09Perform PHY-specific initialization based on the PHY ID instead of theMark Kettenis
board ID for the AR8031/AR8035. ok jsg@
2016-07-09Dynamically attach i.MX6 ehci(4) using the FDT.Mark Kettenis
ok jsg@
2016-07-09Add interfaces to look up a device tree node by phandle.Mark Kettenis
ok patrick@, jsg@, visa@
2016-07-09Prepare vionet to be handled asynchronously to the VCPU threadStefan Kempf
This splits the handling of received data into a separate function that can later be called in parallel to the VCPU thread instead of handling received packets on VCPU exits only. It also makes virtq accesses in the rx path safe to run in parallel to the VCPU thread: the last index into the 'avail' ring the driver has notified to the host is kept track of. It also makes sure that the host only writes back to the 'avail' ring instead of modifying the whole receive virtq. While there, describe what virtio_vq_info and virtio_io_cfg are used for, as suggested by mlarkin@ ok mlarkin@
2016-07-09Mention the EFI and DTB requirement. List U-Boot 2016.07 as 2016.05Jonathan Gray
needs a patch to work with efiboot on non imx platforms that is included in ports/packages but might not be present otherwise. While U-Boot 2016.07 final is not released yet the "efi_loader: Don't allocate from memory holes" patch is included in rc1/rc2/rc3 and should make the final release.
2016-07-09Use mac address and phy id from the fdt. Store settings for a secondJonathan Gray
port as well, though we still only handle a single port for now. ok kettenis@
2016-07-08ISO C99 7.19.2.5 doesn't like mixing putchar(3) and putwchar(3) onIngo Schwarze
the same stream, and actually, it fails spectacularly on glibc. Portability issue pointed out by Svyatoslav Mishyn <juef at openmailbox dot org> after testing on Void Linux.
2016-07-08POSIX requires that a process calling tcsetpgrp(3) from the backgroundIngo Schwarze
gets a SIGTTOU signal. In that case, do not stop. Portability issue found while testing on commercial Solaris 9/10/11. Thanks to opencsw.org for providing me with a testing environment.
2016-07-08When making a copy of svc_pollfd, use the correct size.Todd C. Miller
Also pass the correct fd count to svc_getreq_poll(). OK jca@
2016-07-08Fix check for "name" property. Restores synthesised "name" proprties inMark Kettenis
eeprom -p output that were lost in revision 1.13.
2016-07-08Pass errret pointer to setupterm() to prevent setupterm()Todd C. Miller
from calling exit() when given an unknown terminal type. From Anton Lindqvist, who also upstreamed the fix.
2016-07-08The XSLoader issue has been assigned CVE-2016-6185Todd C. Miller
2016-07-08regenMark Kettenis
2016-07-08The Atheros PHYs with model ID 7 are the AR8031/AR8033/AR8035 family.Mark Kettenis
Identify as AR8035 since that one has the lowest revision number. ok mlarkin@, millert@
2016-07-08Return 0 on read from PIT control port. Intel explicitly says this is notMike Larkin
supported, and it looks like other emulators/hypervisors do a variety of different things here. Most return 0, but at least one might return random garbage. Returning 0 seems safest here, but leave a warning in place for the logs in case a guest VM does this.
2016-07-08Improve crypto ordering for Encrypt-then-MAC (EtM) mode MAC algorithms.Damien Miller
Previously we were computing the MAC, decrypting the packet and then checking the MAC. This gave rise to the possibility of creating a side-channel oracle in the decryption step, though no such oracle has been identified. This adds a mac_check() function that computes and checks the MAC in one pass, and uses it to advance MAC checking for EtM algorithms to before payload decryption. Reported by Jean Paul Degabriele, Kenny Paterson, Torben Hansen and Martin Albrecht. feedback and ok markus@
2016-07-07Updated the ldpd.conf man page examplesRafael Zalamena
The man page already contains the definition of the new neighbor-addr and neighbor-id, but the examples were outdated. Now we may have an LSR-ID that is different from its address. ok renato@
2016-07-07Apply http://perl5.git.perl.org/perl.git/commitdiff/08e3451d7Todd C. Miller
This fixes a bug where XSLoader could try to load from a subdir of the cwd when called via eval. OK afresh1@
2016-07-07syncTheo de Raadt
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2016-07-07sync with mdocml.bsd.lv: mention httpd(8) and slowcgi(8)Ingo Schwarze
2016-07-07Revert previous since the libtls change has been reverted.Joel Sing