Bug 19432 - Broken handling of the cmsgcred structure
Summary: Broken handling of the cmsgcred structure
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: All FreeBSD
: high critical
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords:
: 9067 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-06 23:52 UTC by Hasso Tepper
Modified: 2009-07-13 11:27 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
The patch to fix the problem (3.31 KB, patch)
2009-01-06 23:52 UTC, Hasso Tepper
Details | Splinter Review

Description Hasso Tepper 2009-01-06 23:52:55 UTC
Created attachment 21737 [details] [review]
The patch to fix the problem

The code using cmsgcred structure to get socket credentials (in use on FreeBSD and DragonFly systems) doesn't really work.

The attached patch is obtained from FreeBSD ports tree, has been in there several years and is also tested by DragonFly users.
Comment 1 Colin Walters 2009-01-15 09:39:02 UTC
Looks related to (duplicate of?) bug 3931.
Comment 2 Colin Walters 2009-07-13 11:27:30 UTC
Ok.

commit 7bf132c7d15c1d8214b11442f053f7d53bca9a8f
Author: Hasso Tepper <hasso@estpak.ee>
Date:   Mon Jul 13 14:23:40 2009 -0400

    Bug 19432 - Fix handling of HAVE_CMSGCRED case (FreeBSD)
    
    Fixes dbus on FreeBSD and DragonFly systems.
    
    The patch is obtained from FreeBSD ports tree.
    
    Signed-off-by: Colin Walters <walters@verbum.org>

Comment 3 Colin Walters 2009-07-13 11:27:52 UTC
*** Bug 9067 has been marked as a duplicate of this bug. ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.