aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-04-09Update primary bootstrapBjörn Gustavsson
2018-04-09Merge pull request #1777 from PragTob/fix-timer.tc-documentationLukas Larsson
Reflect actual timer:tc behaviour in documentation
2018-04-08Reflect actual timer:tc behaviour in documentationTobias Pfeiffer
It was switched to monotnic_time from timestamp 3 years ago in d927209aa36fe370eb4ecf0a081923b0b951458b
2018-04-06erts: Fix doc typo for enif_free_iovecSverker Eriksson
2018-04-06Merge pull request #1773 from bjorng/bjorn/compiler/beam_validator-receiveBjörn Gustavsson
Check that messages outside of the heap are not corrupted
2018-04-06Check that messages outside of the heap are not corruptedBjörn Gustavsson
Waiting messages for a process may be stored in a queue outside of any heap or heap fragment belonging to the process. This is an optimization added in a recent major release to avoid garbage collection messages again and again if there is a long message queue. Until such message has been matched and accepted by the remove_message/0 instruction, the message must not be included in the root set for a garbage collection, as that would corrupt the message. The loop_rec/2 instruction explicitly turns off garbage collection of the process as long messages are being matched. However, if the compiler were to put references to a message outside of the heap in an Y register (on the stack) and there happened to be a GC when the process had been scheduled out, the message would be corrupted and the runtime system would crash sooner or later. To ensure that doesn't happen, teach beam_validator to check for references on the stack to messages outside of the heap.
2018-04-06Merge pull request #1774 from bjorng/bjorn/erts/dump-literal-funsBjörn Gustavsson
Support dumping of external fun literals to a crash dump
2018-04-06Merge branch 'maint'Hans Nilsson
* maint: Updated OTP version Prepare release ssh: Fix ssh_sftpd:handle_op not returning State
2018-04-06Merge branch 'maint-19' into maintHans Nilsson
* maint-19: Updated OTP version Prepare release ssh: Fix ssh_sftpd:handle_op not returning State Conflicts: OTP_VERSION lib/ssh/doc/src/notes.xml lib/ssh/vsn.mk otp_versions.table
2018-04-06Merge pull request #1775 from MonsieurV/patch-1Lukas Larsson
Doc: use that node name between code and commands
2018-04-05Doc: use that node name between code and commandsYoan Tournade
The server_node() function in the sample code was referring to messenger@bill, while the commands that follow use messenger@super as node name. Making both names consistent make it easier for newbies to test the code.
2018-04-05Support dumping of external fun literals to a crash dumpBjörn Gustavsson
63e1c58d27ab (PR #1725) started to compile external funs as literals. This commit updates the dumping of literal areas to dump external fun literals to the crash dump.
2018-04-05Updated OTP versionOTP-19.3.6.8Erlang/OTP
2018-04-05Prepare releaseErlang/OTP
2018-04-05Merge branch 'hans/ssh/sftpd_rm_dir_err_19/OTP-15004' into maint-19Erlang/OTP
* hans/ssh/sftpd_rm_dir_err_19/OTP-15004: ssh: Fix ssh_sftpd:handle_op not returning State
2018-04-05Merge pull request #1769 from bjorng/bjorn/compiler/beam_utilsBjörn Gustavsson
Fix unsafe optimization of record test
2018-04-05ssh: Fix ssh_sftpd:handle_op not returning StateHans Nilsson
2018-04-04Fix unsafe optimization of record testBjörn Gustavsson
beam_record would make an unsafe optimization for the not_used_p/4 function added to beam_utils_SUITE in this commit. The bug is in beam_utils, which would falsely report that {x,4} was unused when it in fact was used. The bug was in the function not_used/1. The purpose of not_used/1 is to return a 'not_used' result unless the actual result is 'used'. Unfortunately it was not implemented in that way. It would let a 'transparent' result slip through, which the caller in this case would convert to 'killed' (because the register was killed on all other paths). Reported-by: Richard Carlsson
2018-04-04Merge branch 'sverker/monitor-frenzy-fix'Sverker Eriksson
2018-04-04Merge pull request #1725 from michalmuskala/fun-literalsBjörn Gustavsson
Compile external fun expressions to literals OTP-15003
2018-03-29Merge branch 'lukas/erts/tcp_send_return_closed/OTP-15001'Lukas Larsson
* lukas/erts/tcp_send_return_closed/OTP-15001: erts: tcp send should return {error,closed}
2018-03-29Merge branch 'lukas/ei/fix_tmo_test'Lukas Larsson
* lukas/ei/fix_tmo_test: ei: Include stdlib.h to fix malloc usage in ei test
2018-03-29Merge pull request #1765 from peterdmv/split_inets/OTP-14113Péter Dimitrov
Split inets OTP-14113
2018-03-29Merge branch 'hans/ssh/dbg/OTP-14896'Hans Nilsson
* hans/ssh/dbg/OTP-14896: ssh: New test suite ssh_dbg_SUITE for testing ssh_dbg ssh: Use the new ssh_dbg module ssh: New ssh_dbg module ssh: Add ssh_connection_handler:alg/1 for test purposes ssh: Unused fields #ssh.hkey and #ssh.kex removed ssh: Simplify ssh_connection and ssh_connection_handler and their internal interfaces
2018-03-29ssh: New test suite ssh_dbg_SUITE for testing ssh_dbgHans Nilsson
2018-03-29ssh: Use the new ssh_dbg moduleHans Nilsson
2018-03-29ssh: New ssh_dbg moduleHans Nilsson
2018-03-29ssh: Add ssh_connection_handler:alg/1 for test purposesHans Nilsson
2018-03-29ssh: Unused fields #ssh.hkey and #ssh.kex removedHans Nilsson
2018-03-29ssh: Simplify ssh_connection and ssh_connection_handler and their internal ↵Hans Nilsson
interfaces
2018-03-29Merge branch 'hans/erl_docgen/datatype_title/OTP-15000'Hans Nilsson
* hans/erl_docgen/datatype_title/OTP-15000: erl_docgen: Add datatype-title tag to datatype tag
2018-03-29Merge branch 'ingela/ssl/DTLS-ECC'Ingela Anderton Andin
* ingela/ssl/DTLS-ECC: ssl: Cleaner test setup to avoid unintentional test case dependencies ssl: Correct ECC suite and DTLS ECC handling
2018-03-28erl_docgen: Add datatype-title tag to datatype tagHans Nilsson
2018-03-28ftp,tftp: Update initial version 1.0.0 -> 1.0Péter Dimitrov
Change-Id: I014b191da144c299d056eb155ed99ace710112b1
2018-03-28ftp,tftp: Add AUTHORS to ftp and tftpPéter Dimitrov
Change-Id: Ie0f52e82484462f8f7ec58c37ce16081af432797
2018-03-28tftp: Improve documentationPéter Dimitrov
Change-Id: Ie23a40e7159fe632cf5514ac617de17c5d5b5ce2
2018-03-28common_test: Remove dependency to inets ftpPéter Dimitrov
- Update ct_ftp to use the new FTP application. Change-Id: I84223107361132ea3144cdf7421738c4bebffa40
2018-03-28tftp: Add tests (app, appup, start_tftpd)Péter Dimitrov
Change-Id: I585ba5097632d460705257f03cb44adf8038f0be
2018-03-28inets: Fix inets:services()Péter Dimitrov
Change-Id: I20d44e771577b19060fbba0b2e83f64909c60faa
2018-03-28tftp: Fix dialyzer warningsPéter Dimitrov
Change-Id: Ie1e8a3fa458ee38a1c0b6a0f19e27e76c267688e
2018-03-28inets,tftp: Break out TFTP from inetsPéter Dimitrov
- Create directory structure - Move code, tests, documentation from inets - Add inets_tftp_wrapper - Add tftp app to run-dialyzer script Change-Id: I6a142ae66cecb9a1821cbf9ea6a45f66a836763d
2018-03-28ftp: Fix dialyzer warningsPéter Dimitrov
Change-Id: I695066755f8394619d5f231a1060e467f2c82edf
2018-03-28ftp: Add ftp app to run-dialyzer scriptPéter Dimitrov
Change-Id: Ie0a67ad22904ce9701f23bbf5573a182b4936790
2018-03-28ftp: Fix ftp test suitePéter Dimitrov
- vsftpd =< 3.0.2 does not support ECDHE ciphers and the ssl application removed ciphers with RSA key exchange from its default cipher list. To allow interoperability with old versions of vsftpd, cipher suites with RSA key exchange are appended to the default cipher list. - Fix regex in ftp.appup.src Change-Id: I53ce3b7f198ae95825eb0b5d39e94bdcebe78391
2018-03-28stdlib: Remove reference to inets:ftp in erl_tar.xmlPéter Dimitrov
Change-Id: I5328d5feeac3b7279a8770e8fc27e2d9e8eed359
2018-03-28inets: Fix broken link warningPéter Dimitrov
Change-Id: I9ec81e25d8135fa624554b5d011b2c554b3481d5
2018-03-28ftp: Update app.src filePéter Dimitrov
Change-Id: I4939a45cde292347975d8b870caeff15724046d2
2018-03-28inets: Fix missing anchor warningsPéter Dimitrov
Change-Id: Ifc3359b62e14b68320645f5d7c90bf1b9ccae016
2018-03-28ftp: Remove references to inetsPéter Dimitrov
Change-Id: I19bd2f1d4a35cbc5c233ebc8b2a9d52bbd37f047
2018-03-28ftp: Remove legacy tracing macrosPéter Dimitrov
Change-Id: Ie9cfc5902f3ec7f97df6f0764ff88b954139d87b