From owner-freebsd-hackers Thu Jul 4 20:47:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B59337B401 for ; Thu, 4 Jul 2002 20:47:28 -0700 (PDT) Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 596C943E3B for ; Thu, 4 Jul 2002 20:47:23 -0700 (PDT) (envelope-from kan@mail.ru) Received: from mx1.mail.ru (mx1.int [10.0.0.32]) by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id E19E21AC7E8 for ; Fri, 5 Jul 2002 07:46:49 +0400 (MSD) Received: from [141.154.54.200] (helo=kan.dnsalias.net) by mx1.mail.ru with esmtp (Exim SMTP.1) id 17QK27-000LwM-00; Fri, 05 Jul 2002 07:45:23 +0400 Received: from kan.dnsalias.net (localhost [IPv6:::1]) by kan.dnsalias.net (8.12.4/8.12.4) with ESMTP id g653jFld033606; Thu, 4 Jul 2002 23:45:15 -0400 (EDT) (envelope-from kan@kan.dnsalias.net) Received: (from kan@localhost) by kan.dnsalias.net (8.12.5/8.12.4/Submit) id g653j9Us033605; Thu, 4 Jul 2002 23:45:09 -0400 (EDT) Date: Thu, 4 Jul 2002 23:45:09 -0400 From: Alexander Kabaev To: Pawel Jakub Dawidek Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Problem with malloc(). Message-Id: <20020704234509.15c168e0.kabaev@bellatlantic.net> In-Reply-To: <20020705031837.GF347@garage.freebsd.pl> References: <20020705031837.GF347@garage.freebsd.pl> X-Mailer: Sylpheed version 0.7.8claws41 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Linuxulator uses stackgap for this purpose, AFAIK. > > This of course will return EFAULT. How to allocate memory that will be > used in userspace when I'm in kernelspace? Yes, "foobar" is longer > than "foo":) > -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message