From owner-freebsd-questions Tue Aug 27 17:11:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFDC537B407 for ; Tue, 27 Aug 2002 17:11:14 -0700 (PDT) Received: from hermes.jf.intel.com (fmr05.intel.com [134.134.136.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2618B43E65 for ; Tue, 27 Aug 2002 17:11:14 -0700 (PDT) (envelope-from pavan.balaji@intel.com) Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by hermes.jf.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.49 2002/08/23 20:32:26 root Exp $) with ESMTP id g7S09OU27924 for ; Wed, 28 Aug 2002 00:09:24 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by talaria.jf.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.23 2002/08/23 20:31:44 root Exp $) with SMTP id g7S05Hs10368 for ; Wed, 28 Aug 2002 00:05:17 GMT Received: from orsmsx26.jf.intel.com ([192.168.65.26]) by orsmsxvs040.jf.intel.com (NAVGW 2.5.2.11) with SMTP id M2002082717130118109 for ; Tue, 27 Aug 2002 17:13:01 -0700 Received: by orsmsx26.jf.intel.com with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Aug 2002 17:11:13 -0700 Message-ID: <3D386AED1B47D411A94300508B11F18704AD69C7@fmsmsx116.fm.intel.com> From: "Balaji, Pavan" To: "'freebsd-questions@freebsd.org'" Subject: Copy from Kernel Space to User Space Date: Tue, 27 Aug 2002 17:11:06 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, My copy from kernel space to user space seems to be giving some problems. I use copyout(), which returns a success. I checked the source buffer in the kernel -- it contains the right data, but after the copy, the destination buffer does not contain the data. Am I missing something here? Pavan Balaji, Intel Corporation Email: pavan.balaji@intel.com "Only the Paranoid Survive" -- Andy Grove To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message