Displaying 1 result from an estimated 1 matches for "scm_cred".
Did you mean:
scm_creds
2003 Jan 09
1
[Bug 421] compile error on Debian slink
...mments 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 g...