Skip to content

__CFSocketCreateWakeupSocketPair calls fcntl to set close-on-exec on the fd instead of SOCK_CLOEXEC #5205

Open
@jakepetroules

Description

@jakepetroules

Using SOCK_CLOEXEC in the type parameter to socketpair should be atomic, unlike separate calls to fcntl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions