Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2011 16:02:25 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/compat/freebsd32 freebsd32_ioctl.c
Message-ID:  <201104021602.p32G2cuC017441@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

kib         2011-04-02 16:02:25 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/freebsd32 freebsd32_ioctl.c 
  Log:
  SVN rev 220281 on 2011-04-02 16:02:25Z by kib
  
  Implement compat32 shims for PCIOCGETCONF.
  
  There is a generic problem with the shims for ioctls that receive
  pointers to the usermode data areas in the data argument. We either have
  to modify the handler to accept UIO_USERSPACE/UIO_SYSSPACE indicator, or
  allocate and fill a usermode memory for data buffer in the host format.
  The change goes the second route, in particular because we do not need
  to modify the handler.
  
  Submitted by:   John Wehle <john feith com>
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.9       +106 -0    src/sys/compat/freebsd32/freebsd32_ioctl.c



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