| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In erl_interface there are three uses of `sprintf` to construct host
name strings. GCC 12 gives a `‘%s’ directive writing up to 254 bytes
into a region of size between 1 and 256` warning at these locations,
as it isn't smart enough to see that the manual bounds check is
correct and that the write is safe.
By switching to `snprintf` and removing the manual size calculation of
the resulting string, we can both simplify the relevant code and avoid
the warnings.
|
| |
|
|\ |
|
| |
| |
| |
| | |
Partially reverts commit c804bd8c7f840ecfa2397c836235363c112d79b4.
|
| | |
|
|/ |
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | |
| | | |
OTP-17987
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
unless --enable-ei-dynamic-lib
96e8bea9c7f4e6071ae16588a6b2d3bbebff67f8
introduced --enable-ei-dynamic-lib, but always built dynamic libs
and only suppressed _installation_ if not enabled.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| |/|
| | | |
OTP-17975
|
| | | |
|
| |/ |
|
| | |
|
|\ \
| | |
| | | |
vxworks: remove remaining traces
|
| | |
| | |
| | |
| | | |
Erlang/OTP no longer support VxWorks. Cleanup mentions to avoid confusion.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add DEVELOPMENT.md and expand gh actions to run tests
|
| | | | |
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | | | |
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
This configure option makes it so that a shared library is
build as well as the archive to be included in ei.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* maint:
Update copyright year
|
| | | |
|
| |/
|/| |
|
| | |
|
| |
| |
| |
| | |
as well as old tiny values 1,2,3.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is technically an incompatible API change. But in practice
with existing calling conventions it should work. We may get some
garbage bits in the high 16 bits of the 'creation' argument,
but that doesn't really matter as the actual value used for creation
is not critical.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
During distribution connect setup between two nodes, the nodes exchange
flags words encoding their capabilities. The connection setup is aborted
if one of the node lacks a capability that the other node requires.
In version 5 of the protocol (introduced in OTP R6), there are 32
possible capabilities (each encoded in a single bit). Since it seemed
that we would soon run out of capabilitiy bits, protocol version 6
(introduced in OTP 23) expanded the number of possible capability bits
to 64.
To avoid having to extend the number of capabilites yet again from 64
to 128 in some future release, this commit introduces a scheme to
allow reusing the bit numbers for capabilities that are now
mandatory. The scheme is described in lib/kernel/include/dist.hrl.
There are 10 mandatory capability bits as of OTP 25. This scheme will
allow reusing 9 of those capability bits as early as in OTP 27.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The three applications that supports Erlang distribution (erts,
erl_interface, and jinterface), do not agree which the mandatory
distribution flags are.
For example, DFLAG_NEW_FLOATS (support for the "new" external format
for floats introduced in R11B-5) is considered mandatory in
erl_interface, but not in the Erlang emulator. jinterface does not
test the flag, but encodes all floats in the new external format.
Update erts, erl_interface, and jinterface to all use the same set of
mandatory distribution flags.
Also make the following distribution flags mandatory:
* DFLAG_EXPORT_PTR_TAG
* DFLAG_BIT_BINARIES
* DFLAG_MAP_TAG
Support for them in erl_interface and jinterface was added in OTP 22
or earlier. Making them mandatory allows us to remove ugly fallback
code.
|
| | |
|
|/
|
|
| |
Replace obsolete macros and fix warnings
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lukas/24/testcase-fixes:
ei: Put erl_call debug printsout behind HARD_DEBUG
edoc: Fix eep48 suite when cover compiled
kernel: Fix race in logger std h SUITE sync testcase
erts: Fix dump_SUITE:signal_abort
erts: Fix lcnt testcase after esock.protocols addition
otp: Make public_key part of bootstrap
erts: Fix perf_SUITE when unknown version
|
| |
| |
| |
| |
| | |
When doing a debug build we do not want the printouts
as they will mess with testcases.
|
|\ \
| |/
|/| |
|
| |\
| | |
| | |
| | |
| | | |
* lukas/erl_interface/send-inf-tmo-fix/OTP-17358:
ei: Correctly check timeout value vs EI_SCLBK_INF_TMO
|
| | |
| | |
| | |
| | |
| | |
| | | |
For the timeout (passed as `ms`) zero does not represent
infinity, but rather no sleeping at all. So that is what
we should check against and not 0.
|
| | |
| | |
| | |
| | |
| | | |
Lift in erl_start.h and erl_start.c into erl_call.c and remove
erl_start.h and erl_start.c to make erl_call.c self contained.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|