Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Is SendNullByte needed? #28

Closed
jessevdk opened this issue Oct 25, 2013 · 1 comment
Closed

Is SendNullByte needed? #28

jessevdk opened this issue Oct 25, 2013 · 1 comment

Comments

@jessevdk
Copy link
Contributor

I'm trying to use go.dbus on OS X which doesn't support syscall.Ucred. However, I found that SendNullByte is currently not used anywhere. Can it be removed altogether?

@guelfey
Copy link
Owner

guelfey commented Oct 27, 2013

Nice catch. I did some digging and found out that the daemon implementation can be compiled without support for credentials passing via cmsg (falling back to getsockopt with SO_PEERCRED), which is the case on my system, so it isn't actually needed to send the credentials. Nevertheless, I'll leave it in for the time being. I'll look into the Darwin issue later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants