summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-13Add a kernel implementation of realpath() as __realpath().Bob Beck
We want this so that we can stop allowing readlink() on traversed vnodes in unveil(). This includes all the kernel side and the system call. This is not yet used in libc for realpath, so nothing calls this yet. The libc wrapper will be committed later. Testing by many, and ports build by naddy@ ok deraadt@
2019-05-13Remove unused pad check, which is handled by tls1_cbc_remove_padding() now.Brent Cook
Fixes COV-174858 ok tb@
2019-05-13Acquire mutex before incrementing the refcount. Fixes COV-186144Brent Cook
ok tb@
2019-05-13Add missing word in comment.Theo Buehler
2019-05-13enable in_irq() based checkJonathan Gray
2019-05-13Document our currently incosnsistent behaviour and our currentBob Beck
sins which have been judged by Dr Posix as sinful...
2019-05-13add in_irq() in_interrupt() in_task()Jonathan Gray
in_irq() uses ci_idepth on archs that have it in_interrupt() is the same as in_irq() for now, linux has in_irq() for hard interrupt context and in_interrupt() is also for soft interrupt and nmi context.
2019-05-13free(9) sizes.Martin Pieuchot
From Jan Klemkow, ok tedu@
2019-05-13free(9) sizes.Martin Pieuchot
From miod@
2019-05-13Don't use a hardcoded list of how attribute are dumped and instead moveClaudio Jeker
to a loop-switch construct in up_generate_attr(). This way attributes are always dumped in ascending order as suggested by the RFC and adding special attributes is simpler than in the current way. The MP attributes are a special case since those are handled at a later stage of creating UPDATE messages. OK benno@
2019-05-13Move idepth tracking out of interrupt controller into common layer.Dale Rahn
'looks good' kettenis@
2019-05-13KERN_PFSTATUS is not handled by sysctl so warn about it if requested butClaudio Jeker
ignore if sysctl -a is used. OK bluhm@
2019-05-13Add support for overline (SGR 53), from Ricardo Banffy.Nicholas Marriott
2019-05-13Always include Lock in the menu.Nicholas Marriott
2019-05-13Move 'how this works' details from namespace.h to DETAILSPhilip Guenther
2019-05-13Link regress sigpthread to build.Alexander Bluhm
2019-05-13Test the interaction of signals with multiple posix threads. ItAlexander Bluhm
covers blocking with signal mask, killing process or thread, invoking handler or waiting for signal.
2019-05-13When killing a process, the signal is handled by any thread thatAlexander Bluhm
does not block the signal. If all threads block the signal, we delivered it to the main thread. This does not conform to POSIX. If any thread unblocks the signal, it should be delivered immediately to this thread. Mark such signals pending at the process instead of a single thread. Then any thread can handle it later. OK kettenis@ guenther@
2019-05-13Do not check for IFF_RUNNING inside bstp_initialization().Martin Pieuchot
This allows to set such flag after completing the initialization of a bridge and still have bstp_tick() be scheduled from the begining. Fix a regression reported by and ok markus@
2019-05-13Deal with the case where bridge_getbif() can return NULL.Martin Pieuchot
Since `bif' are removed from the interface list before calling smr_barrier() and the hash queue is cleaned up afterward, it is possible to find an ifidx with bridge_rtlookup() that won't match to any `bif'. Fix a panic reported by Hrvoje Popovski, ok visa@
2019-05-13dup2(n,n) would rlimit check before handling the n==n shortcut,Theo de Raadt
and incorrectly return EBADF when n>curlim. ok millert guenther tedu
2019-05-13The fd used by nlist() isn't application visible, so mark it close-on-execPhilip Guenther
to avoid leaking it ok deraadt@
2019-05-13Delete tentacles of LC_NUMERIC support.Ingo Schwarze
Our libc doesn't support that now and won't in the future. Minus ~90 lines of code, no functional change. OK tb@
2019-05-13add idr_is_empty()Jonathan Gray
2019-05-13ephermal -> ephemeralTheo Buehler
From Hiltjo Posthuma
2019-05-13vmm: add host side pvclockpd
Emulate kvm pvclock in vmm(4). Compatible with pvclock(4) in OpenBSD. Linux does not attach to this (yet). Fixes by reyk@ and tested extensively by reyk@, tb@ and phessler@ ok mlarkin@ phessler@ reyk@
2019-05-13Add Connection: close when switching to "unlimited" reading mode.Reyk Floeter
Ask the server to close the connection after the request since we don't read any further request headers. This fixes an issue with OPTIONS and optional body, as well as similar cases. Reported and tested by Rivo Nurges OK benno@
2019-05-13explicitly mention that RES_NOALIASES has no effect;Ingo Schwarze
jmc@ noticed that the text wasn't completely clear; OK jmc@
2019-05-13fix export default-route.denis
OK claudio@
2019-05-13regen (missed this when I did the colemak update)Aaron Bieber
2019-05-13Hookup ber regress.rob
ok bluhm@
2019-05-13Fix filter rules with "forward to" statement in persistent connections.Reyk Floeter
OK bentley@ mikeb@
2019-05-13Fix column width for copy mode commands.Nicholas Marriott
2019-05-13According to RFC3414 section 4 applications should be able to discover theMartijn van Duren
snmpEngineBoots and snmpEngineTime by sending an AuthPriv request with the requested values set to zero and with a valid user. Move the engine_boots and engine_time down after the user check and remove the 0-check, so we can reply with the appropriate usmStatsNotInTimeWindows. This allows us to use p5-Net-SNMP against snmpd with seclevel enc. OK rob@
2019-05-13According to RFC3414 section 4 applications should be able to discover theMartijn van Duren
snmpEngineID by sending a noAuthNoPriv request. Move the seclevel check to after the usm_decode phase, so we can reply with the mandatory usmStatsUnknownEngineIDs instead of usmStatsUnsupportedSecLevels. This brings us one step closer to using p5-Net-SNMP with seclevel enc. OK tb@, rob@
2019-05-13Mention introduction of *_conceal.Otto Moerbeek
2019-05-13Add the needed ICC_PMR_EL1 register bit defines for the previousPatrick Wildt
commit to unbreak the build. from kettenis@ ok drahn@
2019-05-13The call to fseek(fp, -1, SEEK_END) also sets the reported size toAlexander Bluhm
this value. To match the expectation of the test again, move this line before the the code that sets the final position. OK yasuoka@
2019-05-13Fix usage() (missing '-x').Antoine Jacoutot
Adapt to recent sysupgrade(8) change ok florian@ kmos@ kn@
2019-05-13Use the same heuristic as the installer to find a proper prefetch area for theAntoine Jacoutot
sets instead of hardcoding /home. This leads the way to a knob for manually choosing a sets directory if we want that. Create /auto_upgrade.conf that will get picked up by the installer for the unattended upgrade mode. Similar inputs from naddy@ and kn@ ok florian@ kmos@ kn@
2019-05-13Add support for -znoretpolineplt and make -zretpolineplt the default.Philip Guenther
Affects i386 and amd64 only. ok deraadt@ kettenis@
2019-05-12Indentation fixPhilip Guenther
2019-05-12Fix double free by nulling out pointers after free.Theo Buehler
from florian, ok jca
2019-05-12Delete cpu_idle_{enter,leave}_fcn() as unused. Add RETGUARD checks toPhilip Guenther
cpu_idle_cycle() ok mpi@ kettenis@
2019-05-12Add an enum test. Modify some output.rob
2019-05-12Use .OBJDIR.rob
2019-05-12Make the "xx bytes received in y time" message go to the right placekmos
by using the login_info() function the other messages use. OK florian@
2019-05-12zap confusing unneeded parametersMarc Espie
okay jca@, jasper@
2019-05-12Repair ftp -o - and thus pkg_add: print informational messages on stderrJeremie Courreges-Anglas
ok florian@ espie@
2019-05-12s/availible/available/Philip Guenther