Disabling SCM_CREDS usage on DragonFly BSD.
DragonFly BSD supports SCM_CREDS and SCM_RIGHTS, but only the first control message is passed correctly while the second one isn't processed by the kernel. This closes #599 issue on GitHub.
This commit is contained in:
@@ -166,6 +166,7 @@ if [ $nxt_found = no ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ $NXT_SYSTEM != DragonFly ]; then
|
||||||
nxt_feature="sockopt SO_PASSCRED"
|
nxt_feature="sockopt SO_PASSCRED"
|
||||||
nxt_feature_name=NXT_HAVE_SOCKOPT_SO_PASSCRED
|
nxt_feature_name=NXT_HAVE_SOCKOPT_SO_PASSCRED
|
||||||
nxt_feature_run=
|
nxt_feature_run=
|
||||||
@@ -209,6 +210,7 @@ nxt_feature_test="#define _GNU_SOURCE
|
|||||||
return sizeof(struct cmsgcred);
|
return sizeof(struct cmsgcred);
|
||||||
}"
|
}"
|
||||||
. auto/feature
|
. auto/feature
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
nxt_feature="sys/filio.h"
|
nxt_feature="sys/filio.h"
|
||||||
|
|||||||
@@ -59,6 +59,12 @@ appeared in 1.26.0.
|
|||||||
</para>
|
</para>
|
||||||
</change>
|
</change>
|
||||||
|
|
||||||
|
<change type="bugfix">
|
||||||
|
<para>
|
||||||
|
fatal errors on DragonFly BSD; the bug had appeared in 1.26.0.
|
||||||
|
</para>
|
||||||
|
</change>
|
||||||
|
|
||||||
</changes>
|
</changes>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user