Skip to content

sendmsg fails with 'Invalid argument' in OpenBSD #21

@ghost

Description

The following special handling of *BSD in authenticate.rb fails on OpenBSD with error 'Invalid argument'. We solved the problem by commenting out the special code and just calling @socket.write as on other systems.

if (RbConfig::CONFIG["target_os"] =~ /bsd/)
    @socket.sendmsg(0.chr, 0, nil, [:SOCKET, :SCM_CREDS, ""])

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions