summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regexec.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-06-22activate tag solver (won't do anything if plists don't have actual tags)espie2-8/+18
2018-06-22in the presence of multiple tags, tag definition must be "unique"espie1-5/+18
allow list expansion to do something sane
2018-06-22hook atend tag runningespie1-2/+7
2018-06-22Constrain IPKTS/OPKTS from floating down beyond the rest of thekrw2-23/+28
displayed lines. Makes vmstat view in tall windows easier to read. ok sthen@
2018-06-22special case for a tag in self, which should be run appropriately duringespie1-1/+2
deletion
2018-06-22let the tag logic migrate into state for running atend,espie3-13/+84
have expand work on the appropriate string
2018-06-22tweak commentvisa1-2/+2
2018-06-22Finish the last missing piece for the i386 meltdown fix:bluhm11-70/+302
- handle protection fault on iret properly - handle NMI - actually enable U-K in pmap_switch() from hshoexer@; input guenther@; OK mlarkin@ deraadt@
2018-06-22Use __func__ in log_debug calls.rob1-4/+4
Ok gsoares@
2018-06-22Remove unused function.rob1-12/+1
Ok martijn@, florian@, benno@
2018-06-22Emit trap alignment between basic blocks that are unrechable viamortimer1-3/+7
fallthrough. Avoids unnecessary jmp instructions in the middle of functions and makes disassembly nicer to read. ok guenther@ mlarkin@ deraadt@
2018-06-22vmm(4): Be more careful when tearing down VMs, to avoid a possible racemlarkin1-10/+10
against the VM list.
2018-06-21sort SEE ALSO;jmc1-4/+4
2018-06-21s/simultanious/simultaneous/jmc1-2/+2
2018-06-21Document hw.smt.kettenis1-2/+7
2018-06-21- various tweaks to try to make DESCRIPTION read betterjmc1-14/+15
- try to avoid muddling "reserved words" and "keywords" ok gilles
2018-06-21Use correct function name in fatalx()claudio1-6/+6
2018-06-21Nothing is using the active and prefix count in struct rde_aspath.claudio3-26/+7
Remove them to make the code simpler. OK deraadt@ gsoares@
2018-06-21Add 6to4 anycast prefixes to bogon filterjob1-1/+3
Globally anycasted 6to4 has outlived its usefulness. Operational discussion: http://seclists.org/nanog/2018/Jun/268 OK deraadt@
2018-06-21Don't timeout on fb_queue(9). The current process will blockhelg4-25/+32
indefinitely and cannot be interrupted or killed. This is consistent with how VFS system calls should behave. If the file system becomes unresponsive then the only sane solution is for the user to kill the file system daemon. Implementing the equivalent of nfs -osoft or -ointr to either timeout or allow the blocking FUSE operation to be interrupted can be considered in a future patch. ok mpi@
2018-06-21Drop redundant "node == parent node" checks from VOP_RMDIR()visa6-49/+8
implementations. Rely on the VFS layer to do the checking. OK mpi@, helg@
2018-06-21Use atomic operations for updating cred structure reference countsvisa3-6/+18
to make crfree() and crhold() MP-safe. Make crhold() a proper function. Put the definition into file kern_prot.c to constrain the need of the <sys/atomic.h> header. While there, adjust the IPL of ucred_pool to avoid lock order problems with the kernel lock (pointed out by kettenis@). OK mpi@
2018-06-21Shuffle fields around to eliminate blanks spots resulting fromkrw1-58/+40
removing unused uvmexp fields. Reduces number of lines as well.
2018-06-21Sync aldap from ldap(1).reyk2-21/+32
This also fixes the _url functions that was previously #ifdef'ed out. OK claudio@
2018-06-21split the common half of dependencies handling into SolverBase, as PkgCreateespie3-386/+386
only uses that
2018-06-21Fix DEBUG messagereyk1-3/+3
2018-06-21don't let the retguard skip region exceed the space we have reserved formlarkin1-1/+10
it in the piglet during unhibernate. Missed this block during the previous commit. We'll panic, which will likely just reboot the machine, but that's better than trashing a chunk and causing mystery errors later.
2018-06-21Grab the KERNEL_LOCK() rather than asserting that it is held.mpi1-5/+11
Prevent a panic now that some syscall are running unlocked. Found the hardway by Gregor Best.
2018-06-21Save and restore retguard area during hibernate unpack. This copies themlarkin8-20/+87
original retguard data to the piglet and bcopys it back in place immediately before resuming via the ACPI Sx trampoline. ok deraadt, guenther, tested by many.
2018-06-21Add missing comma. This fixes compilation if we enable VMM_DEBUG macro.kevlo1-3/+3
ok deraadt@
2018-06-20On newer AMD parts, use CoreId (EBX) and NodeId (ECX) from cpuid 0x8000001esthen1-13/+37
to detect smt cores. As there's no "smt id" on these like there is on Intel parts, check against other already-id'd cpus to detect which are additional smt threads on a core. jmatthew noticed some unusual (non-contiguous) numbering on an single socket EPYC 7551p but there's no indication that the actual ID numbers need to be sequential. "As long as we treat ci_core_id as just a number, that shouldn't be an issue" and OK kettenis@ ref: 54945 rev 1.14 - PPR for AMD Family 17h Models 00h-0Fh
2018-06-20syncderaadt1-0/+2
2018-06-20Add support for simple one-off internal rewrites.reyk5-18/+110
For example: location match "/page/(%d+)/.*" { request rewrite "/static/index.php?id=%1&$QUERY_STRING" } Requested by many. Ok benno@
2018-06-20make it possible to do @tag sthg in the same package that doesespie1-3/+19
@define-tag sthg
2018-06-20This might have been a good idea 20 years ago but in this day and ageflorian1-17/+8
the compiler is probably better at unrolling loops. style nit fcambus OK phessler
2018-06-20so tags will need to match OLD tag definitions as well as new ones.espie1-16/+51
we can probably get away without doing it if no tags exist (to do later)
2018-06-20Remove unused variable. Make clang happier.krw1-3/+1
2018-06-20dhclient.c r1.569 started writing some files before calling daemon(),sthen1-10/+10
which involved doing a write_option_db() call at a different point in bind_lease(). However one of the parameters was in a variable that was also used for iterating a TAILQ so this did not have the intended contents (it was always NULL at the end of TAILQ_FOREACH*, resulting in a null deref when dhclient -L is used). Fix by using a new temporary variable. ok krw@
2018-06-20Fix formatting.helg1-6/+6
2018-06-20regenmpi4-10/+10
2018-06-20Unlock sendmsg(2) and sendto(2).mpi6-32/+82
These syscalls can now be executed w/o the KERNEL_LOCK() depending on the kind of socket. The current solution uses a single global mutex to serialize access to, and reference count, 'struct file'. ok visa@, kettenis@
2018-06-20Grab and/or assert for the KERNEL_LOCK() in in ktrace & pledge.mpi2-6/+16
This is required to run network syscall mostly without the KERNEL_LOCK(). ok visa@, kettenis@ as part of a larger diff.
2018-06-20tags from changed_handles will be relevant, from nowhere else...espie1-1/+12
2018-06-20use delete_handle here as wellespie1-2/+2
2018-06-20modernize pkg_delete code, we have DeleteSets, which means handleespie2-39/+31
so let the handle do the heavy lifting of plist loading all the time (this is also what tag solver will need)
2018-06-20move the solver autoloader into UpdateSet so that pkg_delete will beespie2-14/+16
able to use it.
2018-06-20Use the socket lock rather than the KERNEL_LOCK() in pfkey_sendup().mpi1-31/+51
inputs & ok visa@
2018-06-20Add bsws and arcaTrust PENsreyk1-1/+5
2018-06-20prepare to split half of the dependencies code into a manageable subclassespie2-3/+26
2018-06-20drm/i915: Disable LVDS on Radiant P845jsg1-0/+8
From Ondrej Zary e88640adf6fe0709466f814a26753d78184a598c in linux 4.4.y/4.4.136 b3fb22733ae61050f8d10a1d6a8af176c5c5db1a in mainline linux