Home GnuPG

socket: Don't call pre/post_syscall for bind.

Description

socket: Don't call pre/post_syscall for bind.

* src/assuan-socket.c (_assuan_sock_bind): Don't call
_assuan_pre_syscall and _assuan_post_syscall.

In the current use cases in GnuPG, the socket is bound *before*
calling npth_init and gpgrt_set_syscall_clamp, which results no
syscall clamping. It's OK for bind to use with no syscall clamping as
it is not blocked longer.

Details

Provenance
gniibeAuthored on Jul 24 2023, 6:31 AM
Parents
rAdd7e0c57e48c: build: Prepare release with API change.
Branches
Unknown
Tags
Unknown