git: AMD64 - Fix file descriptor passing.

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 13 16:11:46 PDT 2009


commit 72ed5f2f081eb30411768668554eec72f55c6174
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Aug 13 16:07:55 2009 -0700

    AMD64 - Fix file descriptor passing.
    
    * The kernel was improperly assuming that the cmsghdr structure is
      aligned.  It is not on 64-bit architectures.
    
    Reported-by: Antonio Huete <ahuete.devel at gmail.com>

Summary of changes:
 sys/kern/uipc_usrreq.c |   38 +++++++++++++++++++++++---------------
 1 files changed, 23 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/72ed5f2f081eb30411768668554eec72f55c6174


-- 
DragonFly BSD source repository





More information about the Commits mailing list