summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/stdexcept.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-10-28Sync snmpd(8) with other daemons proc.c and teach him how to fork+exec.rzalamena5-224/+451
ok jca@, reyk@
2016-10-28Remove unused function, the code is already inlined in action_outputrzalamena1-22/+1
function. ok reyk@
2016-10-28When doing pktout we must run the classifier again, because some action(s)rzalamena3-7/+18
might want to use it. For buffered packets we probably need to save that somehow else, but we don't support it now. ok reyk@
2016-10-28Use snmpd_env as the only global variable for env to simplify the daemonrzalamena9-72/+66
and avoid problems. ok jca@
2016-10-28- once rule should not attempt to remove its parent rule.sashan2-8/+3
(problem pointed out by Petr, fix proposed by Dilli) _at_ oracle
2016-10-28Document that "nl -d" uses LC_CTYPE.schwarze1-2/+13
Triggered by an incorrect patch from Jan Stary. Feedback and OK jmc@, OK millert@.
2016-10-28Document that rev(1) uses LC_CTYPE.schwarze1-3/+13
Triggered by an incorrect patch from Jan Stary. While here, add an .Xr to cut(1). OK millert@ jmc@
2016-10-28Delete some useless setlocale(3) calls in /usr/bin, no functional change.schwarze10-88/+53
Patches from Jan Stary <hans at stare dot cz>, tweaked by me and tb@. While here, apply some simple style improvements: Sort headers, static void __dead usage(), return from main(), zap case '?', drop /* NOTREACHED */, drop break after usage(), ... OK tb@ millert@
2016-10-28there's a new mbuf cluster pool.dlg1-2/+9
2016-10-28Improve pkcs11_add_provider() logging: demote some excessivelydjm1-15/+26
verbose error()s to debug()s, include PKCS#11 provider name and slot in log messages where possible. bz#2610, based on patch from Jakub Jelen
2016-10-27Pass a struct pf_pdesc to pf_route() like it is done in the otherbluhm3-37/+42
pf functions. That means less parameters, more consistency and later we can call functions that need a pd from pf_route(). OK sashan@
2016-10-27We don't generate an eddep script for kernel builds nowadays. The lastnatano13-26/+26
reference to eddep in the kernel Makefile I could find is in 4.3BSD, released some 30 years ago. ok tb millert
2016-10-27vmm is also available on i386 now, so don't restrict it to amd64.reyk1-5/+1
OK mikeb@ mlarkin@
2016-10-27Remove some code that was already disabled when it was committedtb1-21/+1
20 years ago. While there, eliminate two dead assignments. ok natano
2016-10-27Remove OLDSCSIBUS conditional. Unused since it was imported 21 years ago.tb1-6/+1
ok natano
2016-10-27Improve channel ring locking strategymikeb1-11/+13
Make sure to hold the ring buffer lock for the complete duration of a channel ring I/O operation. For read operations this means peeking and reading is done uninterrupted and for both reads and writes this places the buffer space availability check under the same lock as well.
2016-10-27Don't assume clr->ifname is a NUL-terminated printable string.millert1-3/+11
Use vis(3) to safely print ifname and stop at IFNAMSIZ bytes. Found with afl by jsg@. OK jsg@
2016-10-27Revert previous `ncpus' change because the percpu code now worksvisa4-5/+7
without it.
2016-10-27obvious case of s/LC_ALL/LC_CTYPE/, noticed by Jan Staryschwarze1-2/+2
2016-10-27For consistency, allow symlinkat(2) in the same way as symlink(2);schwarze2-5/+7
no need to wait until the first program using it breaks... "could make sense" semarie@ (and thanks for the cluestick) OK deraadt@
2016-10-27Avoid a use after free in swofp_flow_timeout(). Thejsg1-1/+2
swofp_flow_entry_delete() call frees the memory pointed to by the swfe variable which was used later in the loop. ok rzalamena@
2016-10-27revert 1.41 now that subr_percpu is using ncpusfound instead of ncpus.dlg1-4/+3
2016-10-27use ncpusfound to size the percpu allocations.dlg1-9/+9
ncpus is used on half the architectures to indicate the number of cpus that have been hatched, and is used on them in things like ddb to figure out how many cpus to shut down again. ncpusfound is incremented during autoconf on MP machines to show how big ncpus will probably become. percpu is initted after autoconf but before cpus are hatched, so this works well.
2016-10-27Huawei squatted on BGP Path Attribute 30, and Cisco squatted on 31. So,phessler2-5/+6
IANA moved the Large Communities attribute to 32, which is a nice pun on the problem it is solving.
2016-10-27minor whitespace fixes.joris1-3/+2
2016-10-27syncderaadt14-0/+14
2016-10-27increment ncpus when a cpu is attached, not when its booted.dlg1-3/+4
fixes percpu allocations, like visa@ just did on mips64.
2016-10-27Uniformize debug printfs, by using consistently __func__ everywhere.ratchov1-120/+127
From Michael W. Bombardieri <mb at ii.net>
2016-10-27Fix many typos in comments, from Michael W. Bombardieri <mb at ii.net>ratchov4-12/+12
2016-10-27refactor m_pullup a bit.dlg1-37/+52
the most important change is that if the requested data is already in the first mbuf in the chain, return quickly. if that isnt true, the code will try to use the first mbuf to fit the requested data. if that isnt true, it will prepend an mbuf, and maybe a cluster, to fit the requested data. m_pullup will now try to maintain the alignment of the original payload, even when prepending a new mbuf for it. ok mikeb@
2016-10-27tell ix and em to use 2k+ETHER_ALIGN clusters for rx on all archs.dlg3-19/+3
this means that the ethernet header and therefore its payload will be aligned correctly for the stack. without this em and ix are sufferring a 30 to 40 percent hit in forwarding performance because the ethernet stack expects to be able to prepend 8 bytes for an ethernet header so it can gaurantee its alignment. because em and ix only had 6 bytes where the ethernet header was, it always prepends an mbuf which turns out to be expensive. this way the prepend will be cheap because the 8 byte space will exist. 2k+ETHER_ALIGN clusters will end up using the newly created mcl2k2 pool. the regression was isolated and the fix tested by hrvoje popovski. ok mikeb@
2016-10-27add a new pool for 2k + 2 byte (mcl2k2) clusters.dlg2-6/+14
a certain vendor likes to make chips that specify the rx buffer sizes in kilobyte increments. unfortunately it places the ethernet header on the start of the rx buffer, which means if you give it a mcl2k cluster, the ethernet header will not be ETHER_ALIGNed cos mcl2k clusters are always allocated on 2k boundarys (cos they pack into pages well). that in turn means the ip header wont be aligned correctly. the current workaround on these chips has been to let non-strict alignment archs just use the normal 2k cluster, but use whatever cluster can fit 2k + 2 on strict archs. that turns out to be the 4k cluster, meaning we waste nearly 2k of space on every packet. properly aligning the ethernet header and ip headers gives a performance boost, even on non-strict archs.
2016-10-26Put union pf_headers and struct pf_pdesc into separate header filebluhm9-130/+187
pfvar_priv.h. The pf_headers had to be defined in multiple .c files before. In pfvar.h it would have unknown storage size, this file is included in too many places. The idea is to have a private pf header that is only included in the pf part of the kernel. For now it contains pf_pdesc and pf_headers, it may be extended later. discussion, input and OK henning@ procter@ sashan@
2016-10-26In addition to forwarding and path MTU discovery with pf, checkbluhm1-7/+37
that ICMP Time Exceeded packets are generated. Traceroute output from packets forwarded through pf and a router must contain 3 hops and every hop must respond. Do not test with af-to and reply-to rules as this does not work right now.
2016-10-26nicer list width; from julien dhaillejmc1-3/+3
2016-10-26Section name references are case sensitivemikeb1-3/+3
2016-10-26in florian;s last commit i urged him to change "twenty-four" tojmc1-3/+3
"twenty four", arguing, i think, that the internet is wrong; well seemingly i'm wrong, and you should hyphenate numbers when spelled out - who'd have thought it. apologies to florian and the diff submitter (and the internet); still, what i should have advised, and what i've done here, is use "24", which is much simpler, fits the surrounding text, and agrees with oed style advice;
2016-10-26s/EXIT_FAILURE/1/natano8-40/+36
2016-10-26mac68k is discontinuednatano2-6/+4
2016-10-26Add the omit-trailing-period cd9660 option to the manual.natano1-3/+3
2016-10-26When using a /32 IPv4 interface address, pfctl(8) reports a 0.0.0.0bluhm1-1/+3
as broadcast address. The kernel does not consider this a broadcast address and ifconfig(8) has a check to exclude it. Use the same check in pfctl(8). Found by regress/sbin/pfctl pfi2; OK mikeb@
2016-10-26Remove cd9660's chrp-boot option. deraadt confirmed we don't support anynatano4-19/+5
CHRP hardware.
2016-10-26Use OPT_BOOL, not OPT_INT32 for boolean cd9660 options.natano1-2/+2
2016-10-26Cleanup pflow test before fixing it. Be more verbose to makebluhm4-21/+28
debugging easier. Handle EINPROGRESS connect(2) error correctly. Perl pack Q fails on 32 bit machines, add workaround. Restore interfaces in END block, works also if script dies. OK florian@
2016-10-26Due to 64 bit seconds + 64 bit nano seconds resolution and theflorian1-5/+6
addition of a MAC we need at least 24 bytes packet size these days to show timing information. Pointed out by Tamas Horvath, thanks! OK jmc
2016-10-26Increment `ncpus' to its final value already during autoconfiguration sovisa4-7/+5
that percpu data areas get allocated properly on mips64 platforms. It is too late to set the value during launch of secondary CPUs. ok jasper@ kettenis@ dlg@
2016-10-26syncderaadt1-0/+2
2016-10-26Buffer name can be NULL, check before strdup().nicm1-2/+4
2016-10-26use -ffloat-store to avoid too much precision which breaks the subtle testotto1-1/+2
on some platforms; suggested by and ok martynas@
2016-10-26Remove FS-specific option descriptions from the source code. We have anatano8-134/+82
manual for that. While there document the isolevel option and remove some dysfunctional cd9660 options.