summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regexec.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-10-18Use "continue;" instead of a bare ";" in the for() loop examplemillert1-3/+3
with no body.
2016-10-18The variable dlen is always positive and d may be negative. Sobluhm1-3/+4
declare both with the correct sign in pf_change_icmp_af(). OK henning@
2016-10-18The checksum of a ICMP "need to frag" packet for TCP was wrong whenbluhm1-11/+9
created from a ICMP6 "too big" packet. The function pf_change_icmp_af() has code to adjust the pseudo-header checksum in the ICMP6 case, but pf_test_state_icmp() changed the proto before the case was entered. So call pf_change_icmp_af() before the pd->proto is converted in the TCP and UDP payload case like it was already done for ICMP and ICMP6 payload. Found by sys/net/pf_forward regress test; OK henning@
2016-10-18Place splsoftnet() in route_input() to shut up splassert warningsbluhm1-2/+6
in sorwakeup(). Report from egorenar-dev at posteo.net; OK henning@
2016-10-18Rewrite the kern.malloc.kmemstat in the same style as previous. This one doesotto1-7/+4
not overflow because the initial count includes empty slots; ok tb@
2016-10-18spelling:tb1-3/+3
initialising -> initializing from Claus Assmann artitions -> partitions from spell(1)
2016-10-18Give each item on queue a name for better logging.nicm2-6/+20
2016-10-18Zero dirty count after flushing.nicm1-1/+2
2016-10-18Store the right size in the pipe offset for pipe-pane.nicm1-2/+2
2016-10-18typo fix and zap some trailing eol whitespace;jmc1-4/+4
from claus assman
2016-10-18When the guest OS gets a zero MAC address on a network interface, it shouldreyk2-12/+25
create a randomized locally administrated address. OpenBSD as a guest OS does this correctly but we cannot rely on it for other guests, so randomize the MAC address in vmd(8) on the host side if it is not specified by the user. I incremented the prefix by one to differentiate from the ones that are generated by OpenBSD in the kernel; fe:e1:bb:xx:xx:xx. OK deraadt@ mlarkin@
2016-10-18Swap 'make cleandir' and 'make includes' for real.tb1-2/+2
Should have been part of commitid uHRFWpwUBjIz0UuR. Original message: Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS, and add prereq targets, so some header files are generated by BUILDUSER during 'make prereq' instead of by root during 'make includes'. Switch the order of 'make cleandir' and 'make includes' during 'make build' so we don't generate many files twice. Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now clean from files generated by root during 'make build'. Those will be cleaned up in a second step. help, testing & ok deraadt, input from natano, further testing rpe
2016-10-18Delete remnants of "traptrace" supportguenther4-134/+4
ok deraadt@
2016-10-17test .Bl -tag without -width;schwarze4-2/+23
related to mandoc/mdoc_term.c rev. 1.231 and to textproc/groff-1.22.3p3
2016-10-17simplify implementation of the '$' command, no functional change;schwarze1-5/+2
OK nicm@ tb@ czarkoff@
2016-10-17resolve code duplication in domove() for the commands: b B w Wschwarze1-13/+3
no functional change; suggested by tb@
2016-10-17No need to inspect LC_CTYPE:schwarze2-6/+3
* It was only used in vi input mode. * No functional change in case of set -o vi-show8. * No functional change if LC_CTYPE is set to UTF-8. * More robust for the default of LC_CTYPE=C on a UTF-8 xterm. Behaviour changes for the combination LC_CTYPE=C with set +o vi-show8 on non-UTF-8 terminals, but that combination is useless and dangerous with or without this patch. If you want to edit individual raw non-ASCII non-UTF-8 bytes on the shell command line, always use set -o vi-show8. (Besides, i doubt that you actually want to do that; better use a real hex editor in the first place.) OK czarkoff@.
2016-10-17Make sure the cursor goes to the first byte of a UTF-8 characterschwarze1-62/+78
and not to a continuation byte for these commands: b B e E w W | Let {e,E}ndword return the position after the word because that is easier to handle in the caller. OK tb@ czarkoff@
2016-10-17Add the option to specify an interface group per virtual switch as well;reyk5-18/+52
this group will be added to all VM tap(4) interfaces in the switch. Tested by martijn@
2016-10-17unused variablesnatano2-5/+4
2016-10-17Remove apple ufs bits.natano3-34/+3
2016-10-17Tweak /etc/ldap/certs/ FILES entry.jca1-2/+2
2016-10-17makefs doesn't care about quotas.natano3-184/+1
2016-10-17In FILES mention /etc/ldapd.conf first, then /etc/ldap/ entriesjca1-3/+3
2016-10-17Dedup ffs_extern.h.natano3-112/+6
2016-10-17Fix a few mistakes and add a FILES entry for /etc/ldap/certsjca1-5/+7
From Rob Pierce, help & ok jmc@
2016-10-17Remove the artificial maximum number of unix domain sockets inbluhm3-12/+18
syslogd(8). Just malloc(3) them dynamically which also gives a more random address space layout. OK deraadt@
2016-10-17Use strtoull() to read the datapath id and expect "datapath" instead ofrzalamena2-4/+4
"datapathid" as stated by the man page. ok reyk@
2016-10-17Remove some more unused cd9660 options.natano2-17/+2
2016-10-17Remove cd9660's archimedes option, we won't need RISC OS metadata on ournatano6-201/+6
ISO images.
2016-10-17Remove "feature" defines. This code won't try to be portable when we arenatano3-40/+4
done hacking it.
2016-10-17Remove the -d option.natano2-18/+7
-d debug-mask Enable various levels of debugging, depending upon which bits are set in debug-mask. XXX: document these Useful, eh? Leaving the actual debug code in there for now, so debug flags can be set at compile time. That might be removed in the future too.
2016-10-17R option doesn't compact memory at all; flags are not only useful forotto1-5/+4
tetsing and debugging; mult-threaded programs use multiple pools
2016-10-17Everything in ffs_bswap.c is unused.natano2-270/+2
2016-10-17If BN_div_word() fails (by returning (BN_ULONG)-1) or if the divisionguenther1-4/+8
fails to reduce the input in the expected space then fail out instead of overflowing the allocated buffer. combines openssl commits 28a89639da50b1caed4ff3015508f23173bf3e49 and 3612ff6fcec0e3d1f2a598135fe12177c0419582 ok doug@ beck@
2016-10-17/var/tmp -> /tmplteo2-6/+6
From Jan Stary. "POSIX doesn't restrict us here" and ok schwarze@
2016-10-17Add missing argument names for pcap_offline_filter.lteo1-3/+3
2016-10-17"send/received" -> "sent/received"lteo2-7/+7
ok jmc@
2016-10-17mechanical rename of vnode to mkfsvnode and buf to mkfsbuf to avoidtedu19-108/+107
collisions with the kernel structures of the same name. caught one bug where the wrong header was being included.
2016-10-17Only a few apple-specific bits are needed by eltorito, so copy them local.deraadt2-1460/+9
2016-10-16we're not going to be using kauth_credstedu5-16/+14
2016-10-16remove swapping add macrostedu4-20/+15
2016-10-16simplify swapper functions a bittedu1-6/+4
2016-10-16another round of deswappingtedu4-63/+52
2016-10-16Use notifys for alerts too.nicm3-29/+45
2016-10-16Fix trailing whitespace and shorten long lines.bluhm3-12/+15
No binary change.
2016-10-16Use the notify name string instead of going via an enum and changenicm18-154/+131
existing hooks to use notifys instead.
2016-10-16Use closefrom(4) in privsep parent and avoid some global filebluhm3-31/+10
descriptor variables in syslogd(8) this way. OK rzalamena@
2016-10-16remove some byte swapping code from the top endtedu5-132/+42
2016-10-16there's no need for a special typedef and function pointer for pickingtedu1-25/+6
between two functions.