diff options
author | Ava Chow <github@achow101.com> | 2024-06-20 13:44:56 -0400 |
---|---|---|
committer | Ava Chow <github@achow101.com> | 2024-06-20 13:44:56 -0400 |
commit | a961ad1bebc54912b88d072abf22ab7d3cf46bf1 (patch) | |
tree | 54fa13dcf159d7fef65ef2005e9d4374f3c6418c /src/zmq/zmqabstractnotifier.h | |
parent | 21656e99b5f489c881f9fe90b28edc4aac870ab0 (diff) | |
parent | 1245d1388b003c46092937def7041917aecec8de (diff) |
Merge bitcoin/bitcoin#30202: netbase: extend CreateSock() to support creating arbitrary sockets
1245d1388b003c46092937def7041917aecec8de netbase: extend CreateSock() to support creating arbitrary sockets (Vasil Dimov)
Pull request description:
Allow the callers of `CreateSock()` to pass all 3 arguments to the `socket(2)` syscall. This makes it possible to create sockets of any domain/type/protocol. In addition to extending arguments, some extra safety checks were put in place.
The need for this came up during the discussion in https://github.com/bitcoin/bitcoin/pull/30043#discussion_r1618837102
ACKs for top commit:
achow101:
ACK 1245d1388b003c46092937def7041917aecec8de
tdb3:
re ACK 1245d1388b003c46092937def7041917aecec8de
theStack:
re-ACK 1245d1388b003c46092937def7041917aecec8de
Tree-SHA512: cc86b56121293ac98959aed0ed77812d20702ed7029b5a043586f46e74295779c5354bb0d5f9e80be6c29e535df980d34c1dbf609064fb7ea3e5ca0f0ed54d6b
Diffstat (limited to 'src/zmq/zmqabstractnotifier.h')
0 files changed, 0 insertions, 0 deletions