[Bug 421] compile error on Debian slink
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Jan 10 05:38:59 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=421
------- Additional Comments From carl at chage.com 2003-01-10 05:38 -------
I noticed the same problem with a compile error where ucred is undefined in
SUSE Linux 6.1. The problem is the test for SO_PEERCRED-- the feature is not
available even though the define is present. In my linux/socket.h there is
a "#define SCM_CREDENTIALS" next to the ucred definition, so the change from
#if defined(SO_PEERCRED)
to
#if defined(SO_PEERCRED) && defined(SCM_CREDENTIALS)
solves the compile problem, but I don't know which other distributions have the
same. It may be SCM_CREDS or SCM_RIGHTS.
Perhaps the only good way to check is with a new autoconfigure variable.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list