Skip to content

Add SO_PASSRIGHTS constant to socket module #135357

Open
@ltworf

Description

@ltworf

Feature or enhancement

Proposal:

Linux recently added support to SO_PASSRIGHTS, to prevent unix sockets from receiving file descriptors.

Python should have this constant to be able to use it with setsockopt.

import socket
socket.SO_PASSRIGHTS

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions