Merge branch 'ia/ssl/public_key/crypto/elliptic_curve/OTP-11009' into maint

* ia/ssl/public_key/crypto/elliptic_curve/OTP-11009: (39 commits)
  ssl: Fix dialyzer spec
  crypto: Remove debug printouts
  ssl: Only send ECC-hello extension if ECC-cipher suites are advertised
  ssl & public_key: Use standard name
  ssl & crypto: Generalize the remaining crypto API
  public_key: Add new API functions to the documentation
  ssl & public_key: Use new crypto API functions
  crypto: New API for ciphers
  crypto: Deprecate functions, update doc and specs
  ssl: Fix Curve selection
  ssl, crypto: Eliminate remaining mpint and EC resource key from API
  ssl, public_key, crypto: General generate_key and compute_key functions
  crypto: Add generic functions generate_key and compute_key
  crypto: Change ecdh_compute_key to have 3 arguments
  ssl: Improve extention handling
  ssl: test case fix
  ssl & public_key: API refinement
  public_key: use new crypto
  crypto: Fix ec_key resource to be upgradeable
  crypto: Combine ec_key_new into ecdh_generate_key
  ...
Merge branch 'nox/wide-chars/OTP-11088' into maint

* nox/wide-chars/OTP-11088:
  Support wide characters in the shell through wcwidth()
  Fix bogus DEBUGLOG() incantations in ttsl_drv
erl_interface: check if file descriptor is valid before closing
Use _DARWIN_UNLIMITED_SELECT in erl_poll

This allows erl_poll to select() on file descriptors greater than
FD_SETSIZE (1024) on Darwin. The fd sets are manually (re)allocated and
freed.
Merge branch 'bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r16' into maint-r16

* bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r16:
  [megaco] Appup cleanup
  [megaco] Retroactive version bump
  [megaco] Used wrong downgrade tag for (flex) handler
  [megaco] Fixrd appup sub-test suite
  [megaco] Debug printouts in megaco test server
  [megaco] Internal test server not handling failing cases
  [megaco] Fix merge
  [megaco] Misc codec tickets test case fixes
  [megaco] Misc fixes of the (internal) megaco test server
  Changed name of test case functions (from seq12263 to otp10998)
  Assign correct version and updated release notes accordingly.
  Removed comments
  Ensure of incorrect number of terms when scanning property groups
  Uncommented test cases
  Add new messages
  Calculation of term_spec size (initial and next) changed
  Minor test case rework
  Test case cleanup
  Add rule for test beam'es
  Preliminary test case updates
Print process memory usage info in crash dump
[common_test] Add telnet server to use for testing
[common_test] Add test for ct_telnet using own telnet server

The new test suite ct_telnet_SUITE_data/ct_telnet_own_server_SUITE
uses the very simple telnet_server.erl located in the common_test test
directory.
[common_test] Backed out wait_for_linebreak option from ct_telnet
Properly guard WIDE_TAG use with HAVE_WCWIDTH in ttsl_drv
[common_test] Add debug printouts in ct_telnet_client
Merge branch 'dgud/mnesia/schema_info_in_table/OTP-11030' into maint

* dgud/mnesia/schema_info_in_table/OTP-11030:
  mnesia: Fixed bad data in table
Merge branch 'lukas/erts/win32_io_flush_hangs/OTP-11096' into maint

* lukas/erts/win32_io_flush_hangs/OTP-11096:
  Repeat flush loop at timeout intervals
Change rwlock to rlock where possible

Having rwlock could cause high unneccesary contention on the
dist table when calling erlang:nodes() from many schedulers at
the same time.
Merge branch 'lukas/erts/nodes_rwlock_contentions/OTP-11097' into maint

* lukas/erts/nodes_rwlock_contentions/OTP-11097:
  Change rwlock to rlock where possible
Merge branch 'lukas/erts/process_memory_crash_dump/OTP-11098' into maint

* lukas/erts/process_memory_crash_dump/OTP-11098:
  Print process memory usage info in crash dump
Merge branch 'sla/reltool_copy_file_not_owner_fix/OTP-11099' into maint

* sla/reltool_copy_file_not_owner_fix/OTP-11099:
  Fix possibly "not owner" error while file copy with reltool.
Merge branch 'fredrik/close_socket_ei' into maint

* fredrik/close_socket_ei:
  erl_interface: check if file descriptor is valid before closing
[stdlib] Fix pretty printing of invalid forms

Thanks to Tomáš Janoušek.
Merge branch 'rickard/inet_db/OTP-11074' into maint

* rickard/inet_db/OTP-11074:
  Do not treat port_set_data/port_get_data as signals

Conflicts:
	erts/preloaded/ebin/erlang.beam
	erts/preloaded/ebin/erts_internal.beam