summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-05Introduce a global function pointer to reset the CPU akin to amd64 andPatrick Wildt
i386. As newer ARMs where we use device tree from the get go don't necessarily have a 'platform', this will allow drivers to hook themselves as a way to reset the CPU. ok jsg@ kettenis@ tom@
2016-10-05Display the process's PID with p->p_p->ps_pid, not p->p_pid.Philip Guenther
Use a local variable struct process *pr to simplify expressions ok deraadt@
2016-10-05Display/test/use the process PID, not the thread's TID, in a few places.Philip Guenther
ok mpi@ mikeb@
2016-10-05Use consistant idiom (intermediate variable 'i' rather than repeatedKenneth R Westerback
uses of very long #define names) to access option data in nak_lease() and ack_lease(). Shortens a lot of lines, which allows a number of line splits to be eliminates. Makes some upcoming diffs easier to integrate. No intentional functional change.
2016-10-04At acpithinkpad attach time determine the value of the mute, and deferTheo de Raadt
telling the audio subsystem about this later on in boot. (Mute state is maintained by the BIOS over a suspend, hibernate, reboot, etc -- this may be last missing piece of the puzzle we tore our hair out in Brisbane) diagnosis and code by Anton Lindqvist, ok ratchov
2016-10-04Zap stray whitespace.Kenneth R Westerback
2016-10-04Add test for syslogd(8) -Z ISO timestamp format.Alexander Bluhm
2016-10-04When doing global remote logging and archiving, it is inconvenientAlexander Bluhm
that the syslog timestamp does not contain the year and the timezone, but has local time with daylight saving time. Now with -Z syslogd(8) switches to RFC 5424 ISO format for timestamps. Then all logging is also done in UTC. Default is to keep local time and BSD syslog RFC 3164 format. BIG BIG BIG OK for the feature ajacoutot@; OK deraadt@
2016-10-04add a comment about implicitly-expected checks toDamien Miller
sshkey_ec_validate_public()
2016-10-04Improve description of the noperm option.Martin Natano
ok jmc (on an earlier version of the diff), tb (who found a typo) and deraadt
2016-10-04remove signify.pm and x509.pmTheo Buehler
2016-10-04Don't use padding for ofp_action_header when building the table propertyRafael Zalamena
response thus respecting what the OpenFlow 1.3.5 spec says. ok reyk@
2016-10-04Specify update rules, and add my home airport to the listFrederic Cambus
OK deraadt@
2016-10-04Add an example to find the generated tap(4) interface description.Reyk Floeter
2016-10-04Add a new "priv" process that is responsible for ioctls and restrictedReyk Floeter
operations that aren't allowed under pledge. This is a companion to the "vmd" process that runs as root but with pledge. With the "priv" process, each new tap(4) interface now gets a description to indicate the vm, eg. "vm1-if0-myvm". For network configuration will be done by vmd/priv later. OK mlarkin@
2016-10-04stop supporting SUDO builds. Something better is coming, so let'sTheo de Raadt
align everyone who is using SUDO builds towards the new strategy. ok natano
2016-10-04Avoid a potential MITM - calling tls_config_insecure_noverify() is a badJoel Sing
idea, so stop doing that. Instead, use a single tls_config, set it up and configure the CA file to use while we still have rpath, then drop rpath. This also avoids creating a new tls_config for each and every HTTPS connection, which is unnecessary. ok benno@ florian@
2016-10-04s/letsencrypt/ACME/Joel Sing
2016-10-04tls_close() can return TLS_WANT_POLLIN/TLS_WANT_POLLOUT - handle thisJoel Sing
case correctly. ok florian@
2016-10-04slightly smarter parsing of error logMarc Espie
2016-10-04typoMarc Espie
2016-10-04no longer neededMarc Espie
2016-10-04check_signature is goneMarc Espie
2016-10-04Let the stack perform DMA synchronization instead of doing it (partially)Martin Pieuchot
in HC drivers. Only ehci(4) was performing pre & post synchronization completly. Now pre-synchronization is done in usbd_transfer() and post-synchronization in usbd_transfer_complete(). This will allow us to remove the partial synchronization primitives from the pipe handlers. This is similar to what FreeBSD did in r158998, r164519 and r176203. From Marius Strobl. ok kettenis@
2016-10-04Correct the flag checks inside rt_ifa_addlocal(9) and rt_ifa_dellocal(9).Martin Pieuchot
There's no need to insert an RTF_LOCAL route if it is already there, not if a route with the same destination exist. This fixes a KASSERT() triggered by adding an alias for an address already present in the ARP cache as reported by weerd@ and Peter J. Philipp. This should also fix a KASSERT() triggered by a NDP change reported by Sebastien Marie. ok bluhm@
2016-10-04One more timeout_set_proc(9) conversion.Martin Pieuchot
Found by Chris Jackman, thanks!
2016-10-04Convert timeouts that need a process context to timeout_set_proc(9).Martin Pieuchot
The current reason is that rtalloc_mpath(9) inside ip_output() might end up inserting a RTF_CLONED route and that require a write lock. ok kettenis@, bluhm@
2016-10-04remove may_check_data logic, since signatures are now handled externallyMarc Espie
2016-10-04Use "%s" in vm_rpc_send_rpci_tx() call. Avoids a "format string is not aMark Kettenis
string literal" warning from clang. ok jca@
2016-10-04Check the actual pointer returned by km_alloc(9) instead of the array. TheMark Kettenis
latter will always be non-NULL, and therefore the test will always be false. Caught by clang. ok jca@, mikeb@, jsg@
2016-10-04The new thread's userspace v0, a3, and a4 registers are updated inPhilip Guenther
child_return() like on other archs, so cpu_fork() doesn't need to touch them. ok kettenis@ deraadt@
2016-10-04Use the userspace-visible thread register directly in __cerror insteadPhilip Guenther
of indirecting through __errno(). Register naming tweaks and clang testing by patrick@ and jsg@ ok kettenis@
2016-10-03Remove some dead code in cmd-move-window.c and make a load of localNicholas Marriott
functions static.
2016-10-03Simplify code that sets up a stack frame for running .init code to be moreMark Kettenis
AEABI-like. ok tom@, jsg@
2016-10-03Fix ownership for install on a noperm filesystem.Martin Natano
joint work with tb
2016-10-03Document set-hook -u.Nicholas Marriott
2016-10-03fix smtp session logic bug that can lead to a server crash.Eric Faurot
2016-10-03Remove some redundant checks and make ich/dch consistent.Nicholas Marriott
2016-10-03syncTheo de Raadt
2016-10-03Use detach hook to notify bridge(4) about span port removals.Rafael Zalamena
ok mpi@
2016-10-03document (partially) new stuffMarc Espie
2016-10-03add TRUSTED_PKG_PATH after discussing with aja@Marc Espie
use case is testing binary packages among developers, -Dunsigned means everything is unsigned, which is bad for dependencies
2016-10-03Fix some bus_dmamap_sync(9) calls.Martin Pieuchot
Do not fold multiple DMA synchronizations into one when chaining TRBs as the ring might wrap. Add missing "READ" transfer direction from the HC to host when applicable. From Marius Strobl.
2016-10-03gc the old checking code in pkg_addMarc Espie
2016-10-03No need to record gzip position after CONTENTS since we don't need partialMarc Espie
copy for newer signatures
2016-10-03kill creating old signatures.Marc Espie
2016-10-03document what signify2 does, remove remnants of signify/x509.Marc Espie
comment out stuff that's not supported yet, but may make a come-back later
2016-10-03Those while loops look better written as for loopsJeremie Courreges-Anglas
ok kettenis@
2016-10-03Convert some of the remaining usages of time_second to time_uptime.Martin Pieuchot
time_second is unix time so it can be affected by clock changes. time_uptime is monotonic so it isnt affected by clock changes. that in turn means route expiries wont jump with clock changes if set against time_uptime. the expiry is translated into unix time for export to userland though. Should fix mismatch between route timers that were already converted and ND default routers that were still using time_second. Tested by matthieu@ and sthen@ ok sthen@, dlg@
2016-10-03Fix a possible bug that will happen with dup2() when oldd == newd. In thatRafael Zalamena
case the dup2() would fail silently and the descriptor would remain with the CLOEXEC flag causing the exec*()d child process to have unexpected behavior. ok guenther@