summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/algorithm.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-11check string lengths in vm_startreyk1-10/+21
2018-07-11Disambiguate the source of panics in sys/net* by adding __func__nayden6-26/+26
magic constant to panic() calls. ok benno@ henning@ tb@
2018-07-11The routing table bgpd runs in needs to be a routing domain.benno1-1/+6
ok claudio henning
2018-07-11Remove RTM_LOSING from the file, it is no longer used by OpenBSD andclaudio1-4/+1
route6d is not realy using it anyway. OK henning@
2018-07-11some regression tests for lam(1) including width measurements;schwarze9-0/+83
will be fixed soon and then linked to the build
2018-07-11Introduce 'auto-join' to the wifi 802.11 stack.phessler7-14/+576
This allows a system to remember which ESSIDs it wants to connect to, any relevant security configuration, and switch to it when the network we are currently connected to is no longer available. Works when connecting and switching between WPA2/WPA1/WEP/clear encryptions. example hostname.if: join home wpakey password join work wpakey mekmitasdigoat join open-lounge join cafe wpakey cafe2018 join "wepnetwork" nwkey "12345" dhcp inet6 autoconf up OK stsp@ reyk@ and enthusiasm from every hackroom I've been in for the last 3 years
2018-07-11Declare cpu_meltdown in <machine/cpu.h>guenther3-6/+4
2018-07-11regress to check nested subdirs and ..'sbeck1-2/+36
2018-07-11superfluous newlinehenning1-2/+1
2018-07-11If no thread can immediately handle a signal, which has been sentbluhm2-10/+14
to the process, it is made pending at the main thread. There it could hang forever. So also check the main thread for signal delivery. This workaround fixes hung tests in posixtestsuite. The proper solution would be to split pending signals for process and threads. input visa@; OK guenther@
2018-07-11improve the path hash function (instead of just hashing the aspath putclaudio3-28/+62
most other attrs into the hash as well). At the same time use the full 64 bit of SipHash in various places. Tested by and OK benno@ phessler@
2018-07-11cleanly shutdown by sending advertisement with lifetime 0florian4-5/+23
2018-07-11treat ssh_packet_write_wait() errors as fatal; ok djm@markus3-9/+9
2018-07-11remove legacy key emulation layer; ok djm@markus20-445/+167
2018-07-11Remove the i386 specific mention for pcvtfonts, they are also installedfcambus1-3/+3
on alpha and amd64. No objection from jmc@. OK deraadt@, sthen@
2018-07-11Detect vmm(4) in the bootloader and automatically switch to the serialmlarkin4-8/+64
console at 115200 baud. ok deraadt
2018-07-11Prevent invalid interface specifiers on queue ruleskn1-4/+12
pf.conf(5) states that queues attach to actual interfaces only, yet the following parses: # echo queue eq on egress bandwidth 1G default | pfctl -f- # pfctl -sq pfctl: DIOCGETQSTATS: Bad file descriptor # echo queue rq on rdomain 0 bandwidth 1G default | pfctl -vf- queue rq bandwidth 1G default # pfctl -sq pfctl: DIOCGETQSTATS: Bad file descriptor On rdomains, ifa_exists() returns NULL. On interface groups, ifa_exists() returns non-NULL but af is never set to AF_LINK. OK henning sashan
2018-07-11adding __func__ identifier to panic() calls in vmm.c for amd64 and i386nayden2-15/+15
ok mlarkin@
2018-07-11Prevent updating async option on softdep mountkn1-1/+11
`mount -uo async,nosoftdep /mnt' would set "async" but keep "softdep" untouched on a read/write mount. OK deraadt krw beck bluhm
2018-07-11Bump some of the hash table size to more resonable numbers.claudio1-3/+3
Still probably not optimal but less bad.
2018-07-11Send a RA with router lifetime of 0 when an interface is removed fromflorian3-14/+83
the config. RFC 4861, 6.2.5: [...] the router SHOULD transmit one or more (but not more than MAX_FINAL_RTR_ADVERTISEMENTS) final multicast Router Advertisements on the interface with a Router Lifetime field of zero.
2018-07-11remove useless macro;jmc1-2/+1
2018-07-11"running tags"espie1-8/+16
2018-07-11sort tokensreyk1-4/+4
2018-07-11do not pick up groff from /usr/local/bin in configure, noticed by benno@;naddy1-1/+3
ok benno@ jca@
2018-07-11style - indent each case statement in a switch.reyk1-81/+86
2018-07-11Print out the hash info sent by the RDE in bgpctl show rib memclaudio1-2/+17
OK phessler@ benno@
2018-07-11On IMSG_CTL_SHOW_RIB_MEM also send back information of some of theclaudio6-6/+108
hash structures used in the RDE. Makes it fairly obvious that more is needed in that area. OK phessler@ benno@
2018-07-11test changed stat lying semantics - we don't lie about filesbeck1-3/+3
2018-07-11Print the rdomain config option if present.remi1-1/+4
ok kn@ tb@ deraadt@ sthen@ jca@
2018-07-11Use AF_UNSPEC not 0kn1-2/+2
2018-07-11Some spaces have been removed from pfctl print. Adapt expectedbluhm10-43/+43
output in regress.
2018-07-11retire the old cron socket path; ok jca millertderaadt2-6/+2
2018-07-11Detect vmm(4) in the bootloader and automatically switch to the serialmlarkin4-8/+30
console at 115200 baud. tested by phessler and myself, ok deraadt
2018-07-11Regress update to match changes for chromebeck1-6/+24
2018-07-11Fix comment about VLAN encapsulation and checksum offloadsf1-7/+8
Document that some chips actually could do hardware checksum offload for encapsulated packets, though that would need special handling in those drivers. discussions and ok naddy@
2018-07-11add option "network ... priority number" to announce prefixes from thebenno5-8/+67
kernel routing table selected by priority. For example to import all ospfd/ospf6d routes into bgp. tested by remi@ ok remi@ henning@ and maybe a little claudio@
2018-07-11Detect when a router advertisement packet changes due to configflorian3-21/+112
change and if it does send a new advertisement. The way this is implemented gives us various things for free: - periodic sending of router advertisements - send initial advertisement for every interface on startup
2018-07-11no longer neededflorian2-20/+4
2018-07-11Sync commentkn1-3/+5
Makes it a tad easier to read through and compare with BN_swap_ct(). OK tb
2018-07-11Add -w option to vmctl stop to wait for completion of VM termination.reyk10-57/+87
Use it in /etc/rc.d/vmd accordingly. OK sthen@
2018-07-11vmm(4): return proper cache topology for cpuid(0x4)mlarkin2-4/+9
Make the cache neighbor fields match the number of VCPUs present (currently 1) ok reyk
2018-07-11Retire RTM_LOSING, it no longer makes sense and on busy servers theclaudio1-18/+6
route socket is flooded with those messages. Instead maek sure that the removal of the dynamic route that can happen is actually also sent to the routing socket. OK mpi@ henning@
2018-07-11rtm_send() the cloned routes because of ICMP mtu changes. Until nowclaudio2-2/+4
these changes to the routing table have not been visible whereas the RTM_DELETE of those routes have been. Remove this inconsistency. Input and OK mpi@ OK henning@
2018-07-11vmm(4): respect argument size when reading from undefined ports.mlarkin1-8/+16
2018-07-11vmm(4): small cleanup in vm_rwregs.mlarkin1-6/+9
Clarify error values and change a panic into a debug printf (which will in turn just kill the VM).
2018-07-11Drop a const-bomb on regexec. It's probably not a good idea to remove amartijn2-56/+63
const promise when processing it in the regex engine. Minor tweak and OK schwarze@
2018-07-11When in incremental search handle ^M (a.k.a. <cr>) like ^[ (a.k.a.krw1-5/+5
<esc>). i.e. exit incremental search and set the mark. This is what emacs does. pointers, suggestions and ok florian@
2018-07-11Change the control socket to ospfd.sock.<rdomain>.remi2-6/+15
ok friehm@ jca@
2018-07-11After opening all the needed files, tighten the pledge(2)schwarze1-1/+5
from "stdio rpath" to just "stdio", before parsing any user data. It may not matter that much just yet, but parsing will become slightly more complicated soon when i shall add UTF-8 handling. OK millert@