Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2008 20:19:54 +0000 (UTC)
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/linux linux_file.c
Message-ID:  <200809222020.m8MKK5Ht012267@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rdivacky    2008-09-22 20:19:54 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/compat/linux     linux_file.c 
  Log:
  SVN rev 183278 on 2008-09-22 20:19:54Z by rdivacky
  
  Merge r182892 from head to stable/7, I had to manually
  change the code to include "thread" argument to the vn_lock()
  which got removed in HEAD:
  
          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)
          Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.105.2.3  +54 -33    src/sys/compat/linux/linux_file.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809222020.m8MKK5Ht012267>