summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-27don't include firmwares in the fuzzy auto-reinstall listMarc Espie
2016-07-27hunting around for some sporadic error message. Removing the hash entryMarc Espie
entirely is slightly better. noticed by sthen@
2016-07-27Missing word ("no").Jeremie Courreges-Anglas
2016-07-27Instead of passing the raw reg property to simplebus nodes,Patrick Wildt
pass a pre-processed array of fdt_reg structs. This means that the drivers don't have to understand the cell properties themselves but can rely on the 64-bit addr/size pairs. ok kettenis@
2016-07-27Remove unnecessary remapping of registers.Visa Hankala
ok jasper@
2016-07-27According to RFC 7231 4.3.7, OPTIONS may have body. "Although thisReyk Floeter
specification does not define any use for such a payload, future extensions to HTTP might use the OPTIONS body to make more detailed queries about the target resource." The future has arrived. Found and tested by Michael Lechtermann OK benno@
2016-07-27Improve parsing of the Host by following RFC 7230 Section 5.4 more strictly:Reyk Floeter
- Respond with a 400 (Bad Request) if there is more than one Host: header to prevent ambiguities. - Make sure that the host in the optional absolute form of request-target (eg. GET http://www.target.com/ HTTP/1.1) matches the Host: value. Proxies are supposed to ignore the Host: value if the request-target exists, but relayd used to ignore the absolute request-target form instead. In HTTP terminology, relayd is a gateway and not a proxy, but it has to make sure that the host is validated consistently. OK benno@ bluhm@
2016-07-27after system resume, re-write backlight levelJoshua Stein
2016-07-27fix signed char extension bugs. from fade@cock.li. ok guenther.Ted Unangst
As a personal remark, I'll add that it's not necessary to cast a value to a function's return type. The compiler is happy to do that for you. But such casts can hide warnings and bugs.
2016-07-27zero sizeof a struct not sizeof the pointer to itJonathan Gray
ok mikeb@
2016-07-26Rename struct fdt_memory to fdt_reg to match the member namePatrick Wildt
used in the fdt attach args and the device tree. ok kettenis@
2016-07-26Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh)Philip Guenther
go direct instead of through the PLT. ok millert@ kettenis@
2016-07-26pool debug dance, part deuxTed Unangst
2016-07-26In rsu(4), put code that twiddles HT data in the ic under #ifdef notyet.Stefan Sperling
Some code paths in this driver peek at ic_htcaps and act upon it, so let's play it safe until this driver gets its 11n support enabled on purpose. Spotted while investigating the bug fixed in r1.35.
2016-07-26Remove the restriction that the kernel needs to be loaded at the bottom ofMark Kettenis
physical memory. This makes it possible to boot OpenBSD on platforms that have physical memory start at address 0x00000000 as the EFI bootloader will only attempt to load kernels at address 0x10000000 and above to work around a bug in the u-boot EFI API layer. ok patrick@
2016-07-26Welcome to 6.0-current.Mark Kettenis
ok deraadt@
2016-07-26Unbreak rsu(4) which was broken since r1.32. Reported by Jake Swensen.Stefan Sperling
ok deraadt@
2016-07-26Fix byteswap errors in rtwn(4) and urtwn(4) introduced by me on June 17.Stefan Sperling
Repairs urtwn(4) on macppc. Problem reported by juanfra@. ok millert@ deraadt@
2016-07-26Make sure there's space for the PT_OPENBSD_WXNEEDED segment, if requestedPhilip Guenther
problem noted by Juan Francisco Cantero Hurtado (iam (at) juanfra.info) ok deraadt@
2016-07-25add new mirror in Lithuania to examples/pkg.conf, ok deraadtStuart Henderson
2016-07-25disable tmpfs because it receives zero maintainance.Theo de Raadt
2016-07-25fix revision 1.290 of sys/netinet/ip_carp.c.Sebastian Benoit
diff from jsg@ ok deraadt@, benno@
2016-07-25Fix rarpd hang. The receive buffer of a route socket can become fullVisa Hankala
while rarpd process is idle. To avoid getting stuck in rtmsg(), the process has to clear the buffer and retry. ok benno@ deraadt@ millert@
2016-07-25Revert change to density calculation. David Vasek points out thisKenneth R Westerback
is a more complicated problem than it appears. ok deraadt@
2016-07-25Initialize the log subsytem in the SE like it is done in the RDE. WithoutClaudio Jeker
this all logging is going via stderr to /dev/null which is not helpful. OK deraadt@ phessler@
2016-07-25Make sure closed bpf devices are removed from bpf_d_list to free theMartin Natano
minor number for reuse by the device cloning code. This fixes a panic reported by bluhm@. initial diff from tedu ok deraadt
2016-07-25Patch perl CVE-2016-1238Andrew Fresh
The problem relates to Perl 5 ("perl") loading modules from the includes directory array ("@INC") in which the last element is the current directory ("."). That means that, when "perl" wants to load a module (during first compilation or during lazy loading of a module in run-time), perl will look for the module in the current directory at the end, since '.' is the last include directory in its array of include directories to seek. The issue is with requiring libraries that are in "." but are not otherwise installed. The major problem with this behavior is that it unexpectedly puts a user at risk whenever they execute any Perl scripts from a directory that is writable by other accounts on the system. For instance, if a user is logged in as root and changes directory into /tmp or an account's home directory, it is possible to now run any shell commands that are written in C, Python or Ruby without fear. The same isn't true for any shell commands that are written in Perl, since a significant proportion of Perl scripts will execute code in the current working directory whenever they are run. For example, if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm, and then I log in as root, change directory to /tmp, and run "perldoc perlrun", it will execute the code they have placed in the file. ok deraadt@
2016-07-25err() instead of errx(); noted by timTheo de Raadt
2014-11-17Import perl-5.20.1Andrew Fresh
2013-03-25import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myselfStuart Henderson
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2002-10-27stock perl 5.8.0 from CPANTodd C. Miller
2016-07-24Split the root vs not-root cases better with regards to chroot setup.Theo de Raadt
ok kettenis benno tedu canacar
2016-07-24bump versionGilles Chehade
ok deraadt@
2016-07-24openssh-7.3Damien Miller
2016-07-24syncTheo de Raadt
2016-07-24add chvgpio.4 overlooked when the file was addedJonathan Gray
ok deraadt@
2016-07-23rework crl2pkcs7; with help from jsingJason McIntyre
2016-07-23no quirks in FwUpdate.Marc Espie
okay theo
2016-07-23Back out the automatic pkg.conf installpath changes; because pkg_add hasTheo de Raadt
an immature heuristic for "what is a release and what is a snapshot". This change maybe improved the post-release experience, but it damages the pre-release experience, which may result in less effective pre-release testing, which risks creating poor releases, which may result in poor post-release experiences. Specific case: subtle breakage to fw_update.
2016-07-23Some armv7 machines are shipped with linux images that run USB OTG portsJonathan Gray
in client mode and provide serial access to a getty and networking. Make it clear that a real serial console that can interact with the firmware is required. Suggested by and wording tweaks from ian@
2016-07-23Back out the dhclient BPF change. There are DHCP servers out there whichStefan Sperling
send frames to the ethernet broadcast address, so this will need some more thought and it's too late for 6.0. Problem reported by Holger Mikolon. ok mpi@
2016-07-23Previously the uarts attached in order, so that the first attached uartPatrick Wildt
is always the serial console. With device tree enumeration, this order is not given anymore. The serial console might now attach with a different minor and has to be updated, otherwise there will be no further output on the serial. Thus, re-create the i.MX6 console with the correct minor number on attach. ok jsg@, kettenis@
2016-07-23do the pool debug release dance. ok deraadtTed Unangst
2016-07-23The linux kernel treated the "phy-reset-gpio" as active-low regardless of whatMark Kettenis
the device tree says. As a result many device trees encode it as active-high when active-low is needed. For now just override the device tree. ok jsg@, patrick@
2016-07-23At n2k16 David Vasek pointed out that FFS partitions on 4K disks areKenneth R Westerback
created with far fewer inodes than DEV_BSIZE devices. Scale the default 'density' value by (sector size)/DEV_BSIZE to create the same number of inodes. Obviously a NO-OP on DEV_BSIZE devices. Thanks David! ok deraadt@
2016-07-23Before terminal characteristics are displayed, stty(1) activatesAlexander Bluhm
pledge(2). Then the values cannot be modified anymore. Let stty error out if the display and modify mode are combined on the command line to avoid a pledge violation later on. OK deraadt@
2016-07-23Fix a few CPUID emulation issues:Mike Larkin
Don't advertise a hyperthreaded CPU. This doesn't make a lot of sense now as we only provide UP guest support. This, combined with the other CPUID issues fixed, fooled NetBSD's topology enumeration code into thinking we had an unsupportable core/thread/package configuration. Also fixed the unsupported CPUID functions by returning 0 in the return registers instead of leaving whatever trash happened to be there before the call was made.
2016-07-23Dump vcpu state on unknown exit type, and add a diagnostic messageMike Larkin
(including vcpu state dump) on failure to enter due to an incorrect guest state. Added as a debug facility when diagnosing interruptibility state problems seen while testing NetBSD guest VMs.
2016-07-23Ensure some undesirable entry controls are cleared, instead of relyingMike Larkin
on the default settings. Noticed when booting a NetBSD guest VM.