kern/117010: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Tue Sep 9 16:20:04 UTC 2008


The following reply was made to PR kern/117010; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: kern/117010: commit references a PR
Date: Tue,  9 Sep 2008 16:00:49 +0000 (UTC)

 rdivacky    2008-09-09 16:00:17 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/compat/linux     linux_file.c 
   Log:
   SVN rev 182892 on 2008-09-09 16:00:17Z by rdivacky
   
   Getdents requires padding with 2 bytes instead of 1 byte
   as with getdents64. The last byte is used for storing
   the d_type, add this to plain getdents case where it was
   missing before. Also change the code to use strlcpy instead
   of plain strcpy. This changes fix the getdents crash we
   had reports about (hl2 server etc.)
   
   PR:             kern/117010
   MFC after:      1 week
   Submitted by:   Dmitry Chagin (dchagin@)
   Tested by:      MITA Yoshio <mita ee.t.u-tokyo.ac jp>
   Approved by:    kib (mentor)
   
   Revision  Changes    Path
   1.115     +54 -33    src/sys/compat/linux/linux_file.c
 _______________________________________________
 cvs-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
 


More information about the freebsd-emulation mailing list