summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/algorithm.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-01Use x2APIC if it is enabled by BIOS. It is expected that this doesn'tyasuoka1-40/+38
change the behavior on the system whose x2apic is disabled by BIOS. ok sf
2016-11-01MALLOC_OPTIONS=A no longer exists.tb1-2/+2
2016-10-31Remove the obsolete A and P flags from MALLOC_OPTIONS.tb9-18/+18
ok dtucker
2016-10-31MALLOC_OPTION 'A' no longer exists.tb1-2/+2
2016-10-31Add the -d flag to the update command, so directories are createdtb1-2/+2
with 'cvs up'. Prompted by a question by patrick keshishian, diff by Raf Czlonka. ok phessler, jca; mild opposition from schwarze
2016-10-31Update to reflect the changes necessary for noperm releases. Trim sometb1-51/+45
more fat and avoid introducing unnecessary variables. with & ok tj, ok deraadt, prodded by robert
2016-10-31Delete setlocale(LC_TIME, "").schwarze1-8/+5
The only place where this could potentially get used was the strftime(3) for fprintf(3) "job %s at %s\n" to stderr. We don't want base system utilities to talk to users in foreign languages. No functional change on OpenBSD which doesn't provide any non-standard LC_TIME locale anyway. Patch from Jan Stary <hans at stare dot cz>. In main(), exit -> return while here. OK millert@
2016-10-31fix a few suspicious (according to emacs) linesjasper1-5/+5
2016-10-31sync to libc: malloc_move is not an option anymoreotto1-9/+4
2016-10-31P is not settable enymoreotto1-8/+2
2016-10-31remove some old option letters and also make P non-settable. It hasotto1-24/+6
been the default for ages, and I see no valid reason to be able to disable it. ok natano@
2016-10-31Improve ofp_error message accurateness: use parameterized error typerzalamena1-4/+9
instead of hardcoding it. With this we can change the error type to something else and get a more accurate description of what happened. ok reyk@
2016-10-31Change validation functions prototypes: use the parameter variable torzalamena1-17/+18
return the error code and the return value to signal if the validation was successful or not. With this we can signal some errors in the spec that uses the value 0 (zero). ok reyk@
2016-10-31bump to LibreSSL 2.5.1bcook1-3/+3
2016-10-31Pass the errno value to vfatal(), renaming it to vfatalc() to match,guenther1-8/+6
intead of using errno as an implicit argument ok reyk@
2016-10-31turns out these chips can handle buffers up to 9400 bytes in length.dlg2-4/+6
raise the mtu to 9380 bytes so we can take advantage of the extra space. i need to revisit the macro names at some point.
2016-10-31revert 1.97 where i moved myx to using the system poolsdlg1-12/+67
my early revision board doesnt like it at all
2016-10-30add __BEGIN_DECLS/__END_DECLS to the public userland side of net/bpf.h,phessler1-1/+3
so c++ programs can use them. OK jca@
2016-10-30large-community needs to have an argumentphessler1-3/+3
2016-10-30Search for and create a prefetch area only for nonlocal sources.rpe1-11/+14
This enables the installer to verify local set files even if the prefetch area would not fit on the local disk. OK krw@ on a similar diff Idea from and OK naddy@ Feedback and OK tb@
2016-10-30include float.h for the LDBL_MAX_EXP cpp test in floatio.hjsg2-2/+4
2016-10-30If a length from an ip packet encapsulated in gre or etherip would causejsg1-1/+3
the position to go past snapend truncate. Found with afl.
2016-10-30Replace a snapend test in ip_print() with a call to TCHECK2 as therejsg1-5/+2
is already a trunc label with the same printf in the function.
2016-10-29Fix an issue found by naddy@ where the installer was not ablerpe1-3/+6
to fetch local sets without a SHA256.sig file in a directory unreachable by the unprivileged users. The missing SHA256.sig file caused an early exit from the for-loop where the _unpriv variable is unset in case of local sets. - Move the check of the set location (local/net) to the top - Set the ftp command title based on the _srclocal variable - Remove the now unnecessary second _unpriv= OK naddy@
2016-10-29Update the man page after the addition of MODPY_ABI_TAGdanj1-4/+5
From sthen@
2016-10-29Simple grammar tweak: allow to specify interface options in a single line.reyk1-1/+10
2016-10-29Separate parsing vms and switches from starting them in vmd(8).edd6-66/+145
Brings us one step closer to having disabled by default vms is vm.conf(5), which can be started with vmctl(8). Input, testing and OK reyk@. Thanks.
2016-10-29If the system has fdt, use it for locating network PHYs.visa1-7/+27
Skip a network port if its PHY cannot be found. Tested on Lanner MR-326B (has fdt) by pirofti@, and on EdgeRouter Pro (has fdt) and on EdgeRouter Lite (no fdt) by me.
2016-10-29Make PHY address lookups fail instead of using CAM-0100 entriesvisa2-3/+7
when the system board is unhandled.
2016-10-29sync with -r1.95 of amd64/vmm.c:reyk1-34/+65
Further improve vmm's security model by restricting pledged vmm processes to only do VMM_IOC_ ioctls on their associated VM (these ioctls are _RUN, _RESETCPU, _INTR, _READREGS, or _WRITEREGS at present). The vmm monitor (parent) process or any non-pledged processes can still do ioctls on any VM. For example, a VM can only terminate itself but vmctl or the monitor can terminate any VM. This prevents reachover into other VMs: while escaping from a VM to the host side (eg. through a bug in virtio etc.) pledge already kept the attacker in a pledged and privsep'ed process, but now it also prevents vmm ioctls on "other VMs". OK mlarkin@
2016-10-29Further improve vmm's security model by restricting pledged vmmreyk1-35/+66
processes to only do VMM_IOC_ ioctls on their associated VM (these ioctls are _RUN, _RESETCPU, _INTR, _READREGS, or _WRITEREGS at present). The vmm monitor (parent) process or any non-pledged processes can still do ioctls on any VM. For example, a VM can only terminate itself but vmctl or the monitor can terminate any VM. This prevents reachover into other VMs: while escaping from a VM to the host side (eg. through a bug in virtio etc.) pledge already kept the attacker in a pledged and privsep'ed process, but now it also prevents vmm ioctls on "other VMs". OK mlarkin@
2016-10-28Make snmpctl compile again after the env -> snmpd_env rename in snmpd'snatano1-6/+6
smi.c r1.20. ok cc(1)
2016-10-28- move SHA256 SHA256.sig h fail from _tmpsrc to /tmprpe1-11/+12
- cleanup SHA256 and SHA256.sig before download - move assignment of _cfile and _srclocal to the top In a later step, this allows verification of local sets without the need of a prefetch area which is not used in this case anyway. Idea from and OK naddy@ OK krw@
2016-10-28H is no moreotto1-6/+2
2016-10-28Pages in the malloc cache are either reused quickly or unmappedotto1-14/+1
quickly. In both cases it does not make sense to set hints on them. So remove that option, which is just a remainder of old times when malloc used to hold on to pages. ok stefan@
2016-10-28The function swofp_flow_entry_put_instructions() doesn't need to receiverzalamena1-6/+8
a pointer to a mbuf pointer, because it only uses the mbuf for reading. ok reyk@
2016-10-28Change swofp_flow_table_add() malloc() behaviour to be non-blocking likerzalamena1-5/+8
all others that we can find in switch(4). ok reyk@
2016-10-28Simplify the OFP_FLOW_MOD_MSG_INSTRUCTION_OFFSET() by using another macrorzalamena1-4/+4
already does exactly what it wants to do. ok reyk@
2016-10-28Rename pad fields to have struct prefixes, remove useless whitespaces andrzalamena1-8/+14
add missing action_set_queue struct. ok reyk@
2016-10-28Return early from atalk_print_llap() if the length is less than thejsg1-1/+6
size of a header to avoid an integer underflow. Found with afl.
2016-10-28Don't assume s->ifname is NUL terminated and printable.jsg1-3/+9
As in pfsync_print_clr() use vis(3) in print_state(). This was also found with afl though with a different input.
2016-10-28Improve protocol version negotiation for Integrated Componentsmikeb1-12/+45
modelled on the upstream version.
2016-10-28get rid of the custom pool in myx for jumbo frames.dlg1-67/+12
now it asks the mbuf layer for the 9k from its pools. a question from chris@ made me go look at the chip doco again and i realised that the chip only requires 4 byte alignment for rx buffers, no 4k alignment for jumbo buffers. i also found that the chip is supposed to be able to rx up to 9400 bytes instead of 9000. ill fix that later though.
2016-10-28In iwn(4), stop forcing RTS for every frame in 11n mode.stsp1-3/+1
The RTS threshold should be good enough and applies to all modes. A similar change was made in iwm(4) not long ago. tested by myself and benno@
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@.