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

SO_PEERCRED/SO_PASSCRED porting + allow NULL bytes in the UDS name #277

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Someguynamedpie
Copy link

I ported @sathieu's PR to the latest LuaSocket version and allowed for null bytes in the stream name to allow for abstract sockets (UDS not on the filesystem but on the current namespace) and added some ifdefs to account for Windows.

Should likely add test cases for both changes; NYI/taking suggestions

From lua_tostring to lua_tolstring since the names can start with null for namespaces.
SO_PASSCRED by @sathieu
SO_PEERCRED, cont'd.
SO_PEERCRED, cont'd.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant