8751 Commits

Author SHA1 Message Date
riastradh
aca9a2fd6e Avoid redefining uint_t &c. if compat_defs.h already defines them. 2019-12-05 03:21:42 +00:00
jmcneill
37d677e093 dtrace: add support for aarch64 2019-12-03 22:10:56 +00:00
he
bc229951fc Apply a fix from upstream:
https://github.com/NLnetLabs/unbound/pull/122
This should enable proper functioning of tcp-idle-timeout.
2019-12-03 11:25:19 +00:00
jmcneill
e578db34f0 Need sys/atomic.h on NetBSD 2019-12-01 20:26:31 +00:00
jmcneill
fa74c92e0a Provide a default ptob() implementation 2019-12-01 20:26:05 +00:00
jmcneill
87afc7bc0f Initialize b_dev before passing buf to d_minphys (ldminphys needs this) 2019-12-01 20:25:31 +00:00
rin
f2a119be2e Fix 'nm /dev/ksyms' (noticed by ryo).
Since binutils 2.15, nm(1) cannot be used for character devices.
We worked around this by a local patch:

http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/dist/binutils/binutils/Attic/bucomm.c?r1=1.1.1.2&hideattic=0#rev1.2

With recent update of binutils, 'nm /dev/ksyms' got broken again.
This is due to a consistency check involving file size reported by
stat(2), which is always zero for character devices. So, skip this
check if file size is zero.
2019-11-30 22:50:11 +00:00
joerg
c091bb989f Use -fno-strict-aliasing unconditionally for the cross compiler. 2019-11-28 23:01:22 +00:00
mrg
f3e1e5aaf8 note that earm and riscv switched to GCC 8. 2019-11-28 19:31:27 +00:00
christos
fa69ba79e0 match ifdefs with stats.c atomic selection 2019-11-28 00:18:36 +00:00
christos
1dc39bd675 merge bind 9.14.8 2019-11-27 05:48:39 +00:00
christos
dcfcf77388 Import bind 9.14.8 (security fix -- limits on concurrent TCP queries)
--- 9.14.8 released ---

5315.	[bug]		Apply the inital RRSIG expiration spread fixed
			to all dynamically created records in the zone
			including NSEC3. Also fix the signature clusters
			when the server has been offline for prolonged
			period of times. [GL #1256]

5314.	[func]		Added a new statistics variable "tcp-highwater"
			that reports the maximum number of simultaneous TCP
			clients BIND has handled while running. [GL #1206]

5313.	[bug]		The default GeoIP2 database location did not match
			the ARM.  'named -V' now reports the default
			location. [GL #1301]

5310.	[bug]		TCP failures were affecting EDNS statistics. [GL #1059]

5308.	[bug]		Don't log DNS_R_UNCHANGED from sync_secure_journal()
			at ERROR level in receive_secure_serial(). [GL #1288]

5307.	[bug]		Fix hang when named-compilezone output is sent to pipe.
			Thanks to Tony Finch. [GL !2481]

5306.	[security]	Set a limit on the number of concurrently served
			pipelined TCP queries. (CVE-2019-6477) [GL #1264]

5305.	[bug]		NSEC Aggressive Cache ("synth-from-dnssec") has been
			disabled by default because it was found to have
			a significant performance impact on the recursive
			service. [GL #1265]

5304.	[bug]		"dnskey-sig-validity 0;" was not being accepted.
			[GL #876]

5302.	[bug]		Fix checking that "dnstap-output" is defined when
			"dnstap" is specified in a view. [GL #1281]

5301.	[bug]		Detect partial prefixes / incomplete IPv4 address in
			acls. [GL #1143]
2019-11-24 19:56:50 +00:00
christos
54e278d262 more regen stuff. 2019-11-22 14:57:01 +00:00
christos
01b509c1c7 regen x86_64 for i386 support 2019-11-22 01:52:20 +00:00
christos
356e78ed45 add missing files for 32 bit debugging on 64 bit host. 2019-11-22 01:49:20 +00:00
christos
e1c84f8601 Support for compat-32 type shared library paths. 2019-11-22 01:48:50 +00:00
martin
5238e8fd7e Restrict -Wl,-z,defs to x86 and aarch64 for now to avoid global build
lossage. Suggested by mrg.
2019-11-20 06:23:31 +00:00
martin
08bd83ed4c Looks like this requires pthread. 2019-11-19 08:59:18 +00:00
joerg
404ee5b933 Build some more LLVM components for Gallium. Switch it to -Wl,-z,defs 2019-11-18 22:26:14 +00:00
joerg
5ad18e3550 Use a big hammer and disabling strict aliasing for the tools build or
when using GCC.
2019-11-18 19:54:23 +00:00
mrg
8be3ac31c9 build int10 on powerpc64 as well. 2019-11-18 01:14:03 +00:00
mrg
e881204900 few gcc 8 clean ups:
- port lsan_allocator.h to riscv and ia64.
- remove configure output garbage from ia64/defs.mk
- update README.gcc8 to reality:
  - arms mostly work, but not quite
  - most ports now build
  - some ports have switched
2019-11-18 01:13:39 +00:00
christos
73470dc186 Fix always false test (typo). Note by joerg@ 2019-11-16 21:41:02 +00:00
christos
58617a0201 shorten names 2019-11-16 19:23:56 +00:00
joerg
c21ab1a1a0 Build libclangAST with -O1 when the host compiler is GCC 7 to avoid
miscompiles.
2019-11-16 15:51:26 +00:00
mrg
a8b195cdfe note i386 and sparc* conversion. note arm32 issues. 2019-11-16 11:50:58 +00:00
martin
cced830f6a For gcc < 9 disable stringop-overflow warnings - they are broken. 2019-11-14 13:16:35 +00:00
mrg
a782ceec24 duplicate a some of Makefile.gnuhost.
should fix PR#53561.
2019-11-14 09:27:08 +00:00
joerg
8a61152dc6 Mark old LLVM instance as dead. 2019-11-13 22:34:11 +00:00
joerg
e8e92eea69 Mark old LLVM instance as dead. 2019-11-13 22:19:09 +00:00
joerg
d053cf4338 Remove old LLVM build system. 2019-11-13 22:03:31 +00:00
roy
8372335280 Sync 2019-11-13 10:50:22 +00:00
roy
de0c8b824b Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
 * BSD: Use IP_REVCIF rather than IN_PKTINFO
 * DHCP: When rebinding, ensure we have a DHCP ARP state
 * RA: Sort routers when reachability changes
 * RA: Apply hoplimit, reachable and retrans timer values to kernel
 * RA: Warn if advertised MTU > interface MTU
 * dhcpcd: Report SSID connection to when we gain carrier
 * DHCP: Fix corruption of address flags when renewing
2019-11-13 10:49:19 +00:00
maxv
29441e93f4 Use x86_patch_window_{open,close}. This also fixes a bug: the CR0/PSL
reloads were inverted.
2019-11-13 10:13:41 +00:00
kre
a4e7b926c7 Appease gcc. Init "terminator".
It is plainly obvious that the init value cannot be used (the
var was never used uninit'd - could not be) but gcc apparently cannot
work that out.   Revert this if we ever get a compiler with a brain.
2019-11-13 00:19:46 +00:00
christos
29e2eaddc1 new files and bump version 2019-11-12 21:02:46 +00:00
christos
0a274e8662 merge conflicts 2019-11-12 21:02:28 +00:00
christos
ef36e74738 CHANGES FROM 2.9 to 2.9a
* Fix bugs in select-pane and the main-horizontal and main-vertical layouts.

CHANGES FROM 2.8 to 2.9

* Attempt to preserve horizontal cursor position as well as vertical with
  reflow.

* Rewrite main-vertical and horizontal and change layouts to better handle the
  case where all panes won't fit into the window size, reduce problems with
  pane border status lines and fix other bugs mostly found by Thomas Sattler.

* Add format variables for the default formats in the various modes
  (tree_mode_format and so on) and add a -a flag to display-message to list
  variables with values.

* Add a -v flag to display-message to show verbose messages as the format is
  parsed, this allows formats to be debugged

* Add support for HPA (\033[`).

* Add support for origin mode (\033[?6h).

* No longer clear history on RIS.

* Extend the #[] style syntax and use that together with previous format
  changes to allow the status line to be entirely configured with a single
  option.

  Now that it is possible to configure their content, enable the existing code
  that lets the status line be multiple lines in height. The status option can
  now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to
  configure more than one line. The new status-format array option configures
  the format of each line, the default just references the existing status-*
  options, although some of the more obscure status options may be eliminated
  in time.

  Additions to the #[] syntax are: "align" to specify alignment (left, centre,
  right), "list" for the window list and "range" to configure ranges of text
  for the mouse bindings.

  The "align" keyword can also be used to specify alignment of entries in tree
  mode and the pane status lines.

* Add E: and T: format modifiers to expand a format twice (useful to expand the
  value of an option).

* The individual -fg, -bg and -attr options have been removed; they
  were superseded by -style options in tmux 1.9.

* Allow more than one mode to be opened in a pane. Modes are kept on a stack
  and retrieved if the same mode is entered again. Exiting the active mode goes
  back to the previous one.

* When showing command output in copy mode, call it view mode instead (affects
  pane_mode format).

* Add -b to display-panes like run-shell.

* Handle UTF-8 in word-separators option.

* New "terminal" colour allowing options to use the terminal default colour
  rather than inheriting the default from a parent option.

* Do not move the cursor in copy mode when the mouse wheel is used.

* Use the same working directory rules for jobs as new windows rather than
  always starting in the user's home.

* Allow panes to be one line or column in size.

* Go to last line when goto-line number is out of range in copy mode.

* Yank previously cut text if any with C-y in the command prompt, only use the
  buffer if no text has been cut.

* Add q: format modifier to quote shell special characters.

* Add StatusLeft and StatusRight mouse locations (keys such as
  MouseDown1StatusLeft) for the status-left and status-right areas of the
  status line.

* Add -Z to find-window.

* Support for windows larger than the client. This adds two new options,
  window-size and default-size, and a new command, resize-window. The
  force-width and force-height options and the session_width and session_height
  formats have been removed.

  The new window-size option tells tmux how to work out the size of windows:
  largest means it picks the size of the largest session, smallest the smallest
  session (similar to the old behaviour) and manual means that it does not
  automatically resize windows. aggressive-resize modifies the choice of
  session for largest and smallest as it did before.

  If a window is in a session attached to a client that is too small, only part
  of the window is shown. tmux attempts to keep the cursor visible, so the part
  of the window displayed is changed as the cursor moves (with a small delay,
  to try and avoid excess redrawing when applications redraw status lines or
  similar that are not currently visible).

  Drawing windows which are larger than the client is not as efficient as those
  which fit, particularly when the cursor moves, so it is recommended to avoid
  using this on slow machines or networks (set window-size to smallest or
  manual).

  The resize-window command can be used to resize a window manually. If it is
  used, the window-size option is automatically set to manual for the window
  (undo this with "setw -u window-size"). resize-window works in a similar way
  to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a
  sets the window to the size of the smallest client (what it would be if
  window-size was smallest) and -A the largest.

  For the same behaviour as force-width or force-height, use resize-window -x
  or -y.

  If the global window-size option is set to manual, the default-size option is
  used for new windows. If -x or -y is used with new-session, that sets the
  default-size option for the new session.

  The maximum size of a window is 10000x10000. But expect applications to
  complain and higher memory use if making a window that big. The minimum size
  is the size required for the current layout including borders.

  The refresh-client command can be used to pan around a window, -U -D -L -R
  moves up, down, left or right and -c returns to automatic cursor
  tracking. The position is reset when the current window is changed.
2019-11-12 19:18:21 +00:00
joerg
76c7fc5f6b Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
tnn
6aff709faf silence sign-conversion warning from clang 2019-11-11 09:24:56 +00:00
mrg
5052e4c83f update a bunch of reality. 2019-11-10 10:31:38 +00:00
joerg
7330f729cc Import 01f3a59fb3e2542fce74c768718f594d0debd0da from the LLVM mono-repo:
clang (without test/, unittests/, www/)
llvm (without test/, unittests/)
2019-11-08 14:28:07 +00:00
hannken
c4ae6d2fe2 dtrace_trap() gets called from alltraps() -> trap() with interrupts enabled
so we cannot assert for interrupts disabled here.

Should fix PR kern/54603: kernel panic when running dtruss
2019-11-08 11:06:21 +00:00
wiz
66041a7b29 Add missing El. Use more markup. 2019-11-06 23:17:37 +00:00
mrg
2c291b342a oops, regen these again with right iconv prototype present. 2019-11-06 21:33:07 +00:00
christos
c7395fee77 Ordinarily, the continue clause of the for-loop would free 'line.' In this
case we instead return early, missing the free.  Add an explicit free to
avoid the leak. Found via coverity.

From Conrad Meyer @ FreeBSD r331230
2019-11-06 21:01:17 +00:00
christos
51d806a701 The original blacklist library supported two operations - a
notification of a failed auth attempt, and a notification of a
successful auth attempt.

Implements a third option - notification of abusive behavior, and
accepts, but does not act on a forth type - "bad username". It is
envisioned that a system administrator will configure a small list
of "known bad usernames" that should be blocked immediately.

From Kurt Lidl @ FreeBSD
2019-11-06 20:50:01 +00:00
para
84640cec8a fix stupid typo... 2019-11-06 20:33:30 +00:00
christos
ba6f1286be Add signal documentation from Kurt Lidl @ FreeBSD
s/don't/do not/
2019-11-06 20:29:46 +00:00
para
e36a941a83 blacklistd.conf.5: pluralization fix
(as currently comitted in FreeBSD)
2019-11-06 20:29:41 +00:00