Skip to content
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

man: Correct and clarify things about openfd #692

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

LukeShu
Copy link

@LukeShu LukeShu commented Jan 2, 2025

  • It uses pipe(3), which actually returns an AF_UNIX socket, not a pipe; so the "no-RDWR" restriction is a lie.
  • The unixfd field of the Ropenfd is a lie; and the control-message should be used instead
  • Specifically call out in openfd(9p) (in addition to the existing call-out in 9pclient(3)) that there's no special version string.

@LukeShu LukeShu force-pushed the lukeshu/man-openfd branch from d831fe8 to 636adf3 Compare January 2, 2025 01:38
@LukeShu LukeShu force-pushed the lukeshu/man-openfd branch from 636adf3 to e784648 Compare January 2, 2025 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant