From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 2 16:55:03 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39F2016A400 for ; Mon, 2 Jul 2007 16:55:03 +0000 (UTC) (envelope-from n.cormier@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 88FFF13C43E for ; Mon, 2 Jul 2007 16:55:02 +0000 (UTC) (envelope-from n.cormier@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3160957pyb for ; Mon, 02 Jul 2007 09:55:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FaZqDjJ7/EILdd1aYBaMzd3CPa52bTE4BNBLuTUNb3ek53lGx69OXvQfVSeRz0WpxdCvImXiwKVnnukpuYrP8J7szNSW2KdH8qOU6Rhk/S2zUo5HipD5aXU8HwOupkeeZtc9WpkpJmPa7uETSV2CoGaaNFefFaXto9Gn6bP54U0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=r80cyIAqVIMGA4KaBc42C11Vs3wDCyexQLb3cvSuyIiwrSUCWAGoHKNJ5eYql3QveFYamnjoSThF8Ab9NGrENHSjkGA7I/VdFMe6xEiYgk8y6IQGyNs8n9YMkq5Op3TPSZzy7mGHxa13QxoT9VQUeHaWwPbZquywV3b8VUmMzvE= Received: by 10.35.41.8 with SMTP id t8mr6216156pyj.1183395301876; Mon, 02 Jul 2007 09:55:01 -0700 (PDT) Received: by 10.35.40.11 with HTTP; Mon, 2 Jul 2007 09:54:56 -0700 (PDT) Message-ID: Date: Mon, 2 Jul 2007 18:54:56 +0200 From: "Nicolas Cormier" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: p_vmspace in syscall X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2007 16:55:03 -0000 Hi, I am trying to map some data allocated in kernel to a user process (via a syscall). I need the proc's vmspace, but the value of p_vmspace of the input proc argument is NULL ... How can I get a valid vmspace ? Thanks ! -- Nicolas Cormier