summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-07-03syncTheo de Raadt
2019-07-03Don't check if unsigned value is less than zeroians
ok kn@
2019-07-02acpi_set_gpehandler: turn edge arg into flags, add support forJoshua Stein
passing GPE_DIRECT which directly executes the supplied callback and clears a level interrupt rather than going through acpi_taskq which can be slow when other driver callbacks are in the queue. This should not be used for GPE handlers that need to do anything ACPI-related. ok kettenis
2018-04-27Import lpd, a re-implementation of the lpr daemon following the latestEric Faurot
OpenBSD coding practices (fork+exec/privsep/pledge/...). It is only intended to replace the lpd(8) daemon for the moment, not the lpr(1), lprm(1), lpq(1) and lpc(8) commands. This is a work in progress. The server part should be fairly functionnal, but the printer part is not complete: remote printers should work, for local printers it depends on the setup. Anyway, at this point it's better in the tree than rotting on my disk. ok deraadt@
2019-07-02Drop % from register name used for register variable since it makes clangMark Kettenis
unhappy. ok deraadt@, visa@
2019-07-02Register rktemp(4) as a thermal sensor with the thermal zone support code.Mark Kettenis
ok mlarkin@, patrick@
2019-07-02Register cpu(4) as a cooling device. This supports passive cooling byMark Kettenis
clamping the maximum DVFS state. ok mlarkin@, patrick@
2019-07-02Add thermal zone handling code. This provides support for thermal zonesMark Kettenis
defined in device trees that link together thermal sensors and cooling devices to actively or passively cool devices when certain trip points are reached. ok mlarkin@ patrick@
2019-07-02Command prompt key presses need to avoid the command queue, GitHub issueNicholas Marriott
1817. Also a tmux.1 fix from jmc.
2019-07-02Add cpuid support for arm64 so that we can recognize whichPatrick Wildt
hardware crypto features are available. "no objections" kettenis@
2019-07-02I totally forgot about the instance where blink-and-insert can beMark Lumsden
called from the mg startup file. My previous diff broke that instance. So this diff reverts my change but adds a man page line to blink-and-insert in case someone should try to use it interactively, again. Also, should anyone ever want to add an interactive version of blink-and-insert in the future, the code is there. And the code could be useful in another, related instance.
2019-07-02The "always hint that getpw operation is happening with access() the YPTheo de Raadt
lock file" would trash errno, creating confusion. One instance found by richardipsum@fastmail, other two identified from original commit ok millert
2019-07-02Update to tzdata2019b from www.iana.orgTodd C. Miller
2019-07-02re-add framebuffer size change from 1.4 that was lost in the bigJoshua Stein
update ok jsg
2019-07-02R.I.P. timespecfix(); ok visa@ mpi@cheloha
2019-07-02React properly to the very unlikely cases where snprintf(3) mayAlexander Bluhm
fail. Log the message without formating, that is the best syslogd(8) can do. OK deraadt@
2019-07-02up_generate_default() needs to fake a prefix entry so that the outboundClaudio Jeker
filtering can happen. rde_filter no longer reads the re pointer but instead the prefix entry pointer pt. So instead of faking a re entry allocate a pt entry including the refcount dance. Also make sure that the validation state is set to ROA_NOTFOUND. Problem found by dlg@
2019-07-02Replace mkstemp/fdopen/unlink dances with tmpfile.Martijn van Duren
No functional change. OK gilles@
2019-07-02When source address tracking record is used for "route-to", the nextYASUOKA Masahiko
hop interface configured with "route-to" was not used. Keep the interface within the pf_src_node and use it when the record is used. OK sashan
2019-07-02Use IPL_TTY for locks used as arguments to spin_lock_irq() andJonathan Gray
spin_lock_irqsave() to closer match the linux interrupt blocking behaviour. Prompted by a discussion with kettenis@.
2019-07-02Use IPL_TTY for locks used as arguments to spin_lock_irq() andJonathan Gray
spin_lock_irqsave() to closer match the linux interrupt blocking behaviour. Prompted by a discussion with kettenis@. ok kettenis@
2019-07-01use the standard spelling of the word "idiosyncrasy";Ingo Schwarze
suggested by Michal Nowak <mnowak at startmail dot com>
2019-07-01delete trailing whitespace and space-tab sequences; no code change;Ingo Schwarze
patch from Michal Nowak <mnowak at startmail dot com> who found these with git pbchk in the illumos tree
2019-07-01Document which mechanism protect some fields used w/o KERNEL_LOCK().Martin Pieuchot
ok visa@, semarie@
2019-07-01Use timeout_add_msec(9)kn
Trivial conversion from ticks to milliseconds where macros already come in milliseconds and timeout values only need reduction by hz to use the new API. OK mpi
2019-07-01Check if user tries to go to current directory in dired-goto-file.Mark Lumsden
2019-07-01drm/i915/gen9+: Fix initial readout for Y tiled framebuffersJoshua Stein
From Imre Deak d9a515867bdba59ebf196a6ade10faae8e8be36a in mainline linux ok jsg
2019-07-01Nuke unused variable 'retries'.Kenneth R Westerback
2019-07-01kevent(2): remove 24hr timeout limitcheloha
As with nanosleep(2), poll(2), and select(2), here we can chip away at the timespec until it's empty. This lets us support the full range of the timespec regardless of the kernel's HZ. Update the manpage accordingly. ok visa@
2019-07-01Compile with -fno-jump-tables to avoid relocations in _dl_boot_bind() whenMark Kettenis
building with clang. ok deraadt@, visa@
2019-07-01Remove stray comma.Mark Kettenis
ok deraadt@, visa@
2019-07-01Need to compile rcrt0.o with -fno-jump-tables on powerpc as well.Mark Kettenis
ok visa@
2019-07-01syncVisa Hankala
2019-07-01Switch the default compiler on octeon to clang.Visa Hankala
OK deraadt@
2019-07-01Implement the 'h' register constraint on mips64. This lets clang buildVisa Hankala
pieces of software that use the constraint if the compiler claims to be compatible with GCC 4.2.1. Note that the constraint was removed in GCC 4.4. The reason was that 'h' could generate code whose result is unpredictable. The underlying reason is that the HI and LO registers are special, and the optimizer has to be careful when choosing the order of HI/LO accesses. It looks that LLVM has the needed logic.
2019-07-01Simplify and clarify logic in take_charge().Kenneth R Westerback
Use #define's instead of magic numbers. Use total elapsed time to decide when to give up. No intentional functional change.
2019-07-01Must update the nexthop state before dropping the nexthop referenceClaudio Jeker
for NEXTHOP_LOOKUP else nexthop_unref() triggers a safety check.
2019-07-01Link the state and the source track to keep the source track whileYASUOKA Masahiko
there are states which refer it. OK sashan
2019-07-01document control name changesMarc Espie
2019-07-01document changesMarc Espie
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2019-07-01add dired-goto-fileMark Lumsden
2019-07-01The proceed reply doesn't have a parameter, resulting in subsequent filtersMartijn van Duren
in a chain to receive a "(null)" parameter. Fix this by storing the current parameter in the session. Found the hard way and fix tested by Mischa Peters. OK gilles@
2019-07-01Remove no longer needed local variable oasp.Claudio Jeker
2019-07-01Forgot to commit this patch.Kevin Lo
2019-07-01Oops, forgot to commit this patch.Kevin Lo
2019-07-01Unify the way object in the RDE are reference counted. The affectedClaudio Jeker
structures are pt_entry, rde_aspath, rde_communities, and nexthop. The functions are always called *_ref and *_unref also the behaviour when the last reference is removed is unified and now the object is removed inside of the unref function. The actual bean-counting is not modified by this diff. OK benno@
2019-07-01Add a "fill" style attribute to clear the entire format drawing area inNicholas Marriott
a colour, GitHub issue 1815.