8000 GH-135357: Add SO_PASSRIGHTS constant by ltworf · Pull Request #135355 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-135357: Add SO_PASSRIGHTS constant #135355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add SO_PASSRIGHTS
  • Loading branch information
ltworf committed Jun 10, 2025
commit 5529578821da79a1b2b81d2bd7421d8f3b927f0a
3 changes: 3 additions & 0 deletions Modules/socketmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -8257,6 +8257,9 @@ socket_exec(PyObject *m)
#ifdef SO_BINDTODEVICE
ADD_INT_MACRO(m, SO_BINDTODEVICE);
#endif
#ifdef SO_PASSRIGHTS
ADD_INT_MACRO(m, SO_PASSRIGHTS);
#endif
#ifdef SO_BINDTOIFINDEX
ADD_INT_MACRO(m, SO_BINDTOIFINDEX);
#endif
Expand Down
0