You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
OpenBSD: SO_PEERCRED requires the sockpeercred struct #4196
Activity
michaelrsweet commentedon Oct 1, 2012
CUPS.org User: mike
Fixed in Subversion repository.
michaelrsweet commentedon Oct 1, 2012
"patch-scheduler_auth_c":
--- scheduler/auth.c.orig Wed Aug 31 06:58:33 2011
+++ scheduler/auth.c Wed Jul 25 17:28:20 2012
@@ -89,7 +89,11 @@ extern const char _cssmErrorString(int error);
typedef struct xucred cupsd_ucred_t;
define CUPSD_UCRED_UID(c) (c).cr_uid
#else
+# ifndef OpenBSD
typedef struct ucred cupsd_ucred_t;
+# else
+typedef struct sockpeercred cupsd_ucred_t;
+# endif
define CUPSD_UCRED_UID(c) (c).uid
#endif /_ HAVE_SYS_UCRED_H */
#ifdef HAVE_KRB5_IPC_CLIENT_SET_TARGET_UID