Commit Graph

2497 Commits

Author SHA1 Message Date
roy cc53734e89 Fix build for operesolv-3.8.0 2016-04-11 10:43:24 +00:00
roy 3ddffba0b1 Sync 2016-04-11 10:41:51 +00:00
roy 9d6c04751d Import openresolv-3.8.0 with the following changes:
*  init system detection moved from configure into resolvconf.
  *  Fixed multiple domains not bein separated correctly.
2016-04-11 10:40:21 +00:00
roy bb6883340e Only FreeBSD treats rssi this way, so #ifdef it and just treat rssi
as a number for other OS.
2016-04-11 08:57:19 +00:00
roy f6d6501d55 dhcpcd now uses libutil. 2016-04-10 21:06:54 +00:00
roy 9c9a1de605 Sync 2016-04-10 21:00:53 +00:00
christos 7be14baef5 remove HAVE_FPARSELN 2016-04-08 11:56:43 +00:00
christos e7b9154ec4 more FreeBSD changes from Kurt Lidl. 2016-04-05 12:28:57 +00:00
christos 849c4feb3c FreeBSD patches from Kurt Lidl. 2016-04-04 15:52:56 +00:00
ozaki-r 09973b35ac Separate nexthop caches from the routing table
By this change, nexthop caches (IP-MAC address pair) are not stored
in the routing table anymore. Instead nexthop caches are stored in
each network interface; we already have lltable/llentry data structure
for this purpose. This change also obsoletes the concept of cloning/cloned
routes. Cloned routes no longer exist while cloning routes still exist
with renamed to connected routes.

Noticeable changes are:
- Nexthop caches aren't listed in route show/netstat -r
  - sysctl(NET_RT_DUMP) doesn't return them
  - If RTF_LLDATA is specified, it returns nexthop caches
- Several definitions of routing flags and messages are removed
  - RTF_CLONING, RTF_XRESOLVE, RTF_LLINFO, RTF_CLONED and RTM_RESOLVE
- RTF_CONNECTED is added
  - It has the same value of RTF_CLONING for backward compatibility
- route's -xresolve, -[no]cloned and -llinfo options are removed
  - -[no]cloning remains because it seems there are users
  - -[no]connected is introduced and recommended
    to be used instead of -[no]cloning
- route show/netstat -r drops some flags
  - 'L' and 'c' are not seen anymore
  - 'C' now indicates a connected route
- Gateway value of a route of an interface address is now not
  a L2 address but "link#N" like a connected (cloning) route
- Proxy ARP: "arp -s ... pub" doesn't create a route

You can know details of behavior changes by seeing diffs under tests/.

Proposed on tech-net and tech-kern:
  http://mail-index.netbsd.org/tech-net/2016/03/11/msg005701.html
2016-04-04 07:37:07 +00:00
christos e7b323ca74 bump stack a little 2016-03-31 22:49:14 +00:00
christos f6e1dd671e Delay freeing the die where the indirect attribute is found. Found by jemalloc
J, see: https://mail-index.netbsd.org/current-users/2016/03/28/msg029130.html
2016-03-31 15:53:33 +00:00
wiz bb83bac5d1 Sort SYNOPSIS. Fix xref. 2016-03-25 07:48:16 +00:00
christos da1b6972c1 XXX: vax gcc 2016-03-23 21:39:42 +00:00
roy 3cd1bf9411 Describe -M 2016-03-23 10:14:07 +00:00
roy 52194b1e29 Build with interface matching support. 2016-03-23 09:35:25 +00:00
roy 44c22e3889 Add interface matching support with -M, guarded by CONFIG_MATCH_IFACE
The new wpa_supplicant command line argument -M can be used to describe
matching rules with a wildcard name (e.g., "wlan*").

This is very useful for systems without uev (Linux) or devd (FreeBSD).
2016-03-23 09:31:58 +00:00
mrg 2b233e3130 apply -Wno-error=maybe-uninitialized with GCC 5.3. 2016-03-23 09:00:31 +00:00
roy e620e95ff3 Only down the interface once we are sure we can work with it. 2016-03-23 08:51:02 +00:00
roy 0d1d60cec2 Interface additions/removals are not guaranteed to be for the driver
listening to kernel events. As such, send the events to
wpa_supplicant_event_global() which can then pick the correct interface
registered with wpa_supplicant to send the event to.
2016-03-23 08:48:43 +00:00
mrg a204afdc5c use -Wno-error=sign-conversion for now. Roy, when you get to GCC 5
you might have a look at this :-)
2016-03-23 08:39:01 +00:00
christos 6f5d40c1b7 tidy up: parse DW_AT_specification like DW_AT_abstract_origin 2016-03-18 14:58:18 +00:00
christos f67f429ca8 remove unused label. 2016-03-17 19:02:38 +00:00
christos 4266f2333f Handle DW_AT_specification better; also don't core-dump if at == NULL.
XXX: Is that right?
2016-03-17 18:52:26 +00:00
nakayama 7080db35d2 Regen without #line directives.
- nbyacc -l -d -o initparse.c parse.y
- nblex -L -t -p scan.l > initscan.c
2016-03-17 15:28:00 +00:00
nakayama 31a9210e94 Apply our changes dropped in previous merge. 2016-03-17 15:23:21 +00:00
christos 9601406bf3 add default: to appease gcc. 2016-03-17 00:19:36 +00:00
mrg aba4e15c03 don't try to do c++ if MKCXX == "no". 2016-03-15 03:17:59 +00:00
christos 2d7c1584f4 Don't use os-specific defines when cross-compiling. 2016-03-13 03:47:41 +00:00
christos 5a1e5090da Add missing ;; (Kurt Lidl) 2016-03-11 22:40:04 +00:00
christos 5207816e51 missed one blsock 2016-03-11 17:17:35 +00:00
christos dc55fdd2c0 Give the blacklistd socket a more meaningful name. 2016-03-11 17:16:40 +00:00
christos 01b73fc8e1 Sort filters alphabetically; make it easier to add ipf. 2016-03-11 17:01:59 +00:00
christos 01136fa5bc Add support for pf, thanks Kurt Lidl... 2016-03-11 15:35:28 +00:00
christos 69f16a276d merge conflicts 2016-03-10 04:01:33 +00:00
christos f89b1f3091 Import 9.10.3-P4:
4322.	[security]	Duplicate EDNS COOKIE options in a response could
			trigger an assertion failure. (CVE-2016-2088)
			[RT #41809]

4319.	[security]	Fix resolver assertion failure due to improper
			DNAME handling when parsing fetch reply messages.
			(CVE-2016-1286) [RT #41753]

4318.	[security]	Malformed control messages can trigger assertions
			in named and rndc. (CVE-2016-1285) [RT #41666]
2016-03-10 03:22:13 +00:00
hannken 71d1b0cc02 Relocation of type SHT_REL must use the current value as addend.
Fixes ctfconvert for i386 where section .debug_info uses this relocation.

Ok: Christos Zoulas
2016-03-07 14:32:02 +00:00
joerg 77997ab922 Mark files without llvm-261930 symbol as dead. 2016-02-27 23:00:06 +00:00
joerg e566c4e674 Import LLVM 3.8.0rc3 r261930. 2016-02-27 22:48:41 +00:00
joerg 5ef9751be5 Mark files without clang-261930 as dead. 2016-02-27 22:22:58 +00:00
joerg 4a29050e1b Import Clang 3.8.0rc3 r261930. 2016-02-27 21:58:20 +00:00
joerg ba87356165 Update build system for LLVM 3.8.0rc3. 2016-02-27 21:47:30 +00:00
joerg 24d50a40b3 As workaround for limitations in Clang's atomic lowering on SPARC,
require v8+ for those files that need C++11 atomics.
2016-02-27 21:42:14 +00:00
roy 375786737e Sync 2016-02-22 10:09:06 +00:00
roy 2644931fa7 Import openresolv-3.7.3 with the following changes:
*  Save the initial working directory and change to it just before
     running any scripts.
     This avoids scripts putting files accidently where they shouldn't.
  *  Strip trailing dot from search and domain names.
  *  man page improvements.
2016-02-22 10:07:26 +00:00
christos a844544399 bump version 2016-02-20 02:44:02 +00:00
christos 42bd301920 merge conflicts 2016-02-20 02:43:41 +00:00
christos 39a6cffc33 Import latest elftoolchain components needed for CTF from FreeBSD 2016-02-20 02:42:00 +00:00
plunky f0aec56b1b update build machinery for pcc-20160208 2016-02-09 20:40:45 +00:00
plunky 41b9722a1a fix merge conflicts from import of pcc-20160208 2016-02-09 20:37:32 +00:00