Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2007 14:25:30 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/linux linux_stats.c
Message-ID:  <200712291425.lBTEPUsf051295@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2007-12-29 14:25:29 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_stats.c 
  Log:
  Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls.
  Without it, code has two problems:
  - behaviour of the old and new [l]stat are different with regard of
    the /compat/linux
  - directly accessing the userspace data from the kernel asks for
    the panics.
  
  Reported and tested by: Peter Holm
  Reviewed by:    rdivacky
  MFC after:      3 days
  
  Revision  Changes    Path
  1.89      +12 -3     src/sys/compat/linux/linux_stats.c



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