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

Add FreeBSD support (implement SCM_CREDS/cmsgcred). #105

Merged
merged 1 commit into from
May 26, 2020

Conversation

grembo
Copy link

@grembo grembo commented May 26, 2020

Depends on jnr/jnr-posix#150 to work at runtime.

  • This implements sending/receiving credentials using in a cmsgcred struct like dbus does on FreeBSD.
  • Also stops using abstract in DirectConnection on FreeBSD (macOS might have the same issue).
  • Tried to centralize and contain anything specific to the platform in FreeBSDHelpers.java.
  • All unit tests pass on FreeBSD, assuming that a patched version of jnr-posix is used.
  • Tested using signal-cli (see Unable to connect to the D-Bus system bus on FreeBSD AsamK/signal-cli#287).
  • Probably has style issues.

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.

2 participants