Bug 19432

Summary: Broken handling of the cmsgcred structure
Product: dbus Reporter: Hasso Tepper <hasso>
Component: coreAssignee: Havoc Pennington <hp>
Status: RESOLVED FIXED QA Contact: John (J5) Palmieri <johnp>
Severity: critical    
Priority: high CC: hp, walters
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:
Attachments: The patch to fix the problem

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.