From owner-freebsd-arch@FreeBSD.ORG Thu Jun 11 05:13:24 2015 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F12F0313 for ; Thu, 11 Jun 2015 05:13:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC6131AF6 for ; Thu, 11 Jun 2015 05:13:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iebmu5 with SMTP id mu5so46578943ieb.1 for ; Wed, 10 Jun 2015 22:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4BHT4r2d/7Tjoy9Vp8wNN2t8tp9GmLv0ZGzeTAqgvkg=; b=A/M7ix38wxJMMnO4+4FtLvM/ofRWc27w36x1rYhrY0OTzYPVROuWTAZ+rHzD5VLzq/ MPX9DlgsWEa1bNw+3NGa3GlHwdkbMOjsSHVHKWj8BZH02r8GRkXRws0/GixwFG2wBc5A GKq7cidf20K70i+DC0DFJ2PeiIXIGxWKSEeJlhhMjzP3nO+0IF/JtEhLYZSBvuVI4cGV aap9vjHIgSNIwZBFzLj8ox3fW+W9I9zc8+//b6m9aaN/9SKSXNJbZZg4cLgRmRkcU2xM d72XA6LfY2bCbWzeZnk26lw54kJM5qmWQq9vr4JOekSxKvTcTUvB5M39o3OyFozi/Rdp 1ffA== MIME-Version: 1.0 X-Received: by 10.50.97.105 with SMTP id dz9mr10269418igb.49.1433999604090; Wed, 10 Jun 2015 22:13:24 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Wed, 10 Jun 2015 22:13:24 -0700 (PDT) In-Reply-To: <20150610224654.GM86224@funkthat.com> References: <20150610224654.GM86224@funkthat.com> Date: Wed, 10 Jun 2015 22:13:24 -0700 X-Google-Sender-Auth: 3YEd5fzkoXvibkTPy501ZvswtBY Message-ID: Subject: Re: compiling parts of kernel in userland From: Adrian Chadd To: John-Mark Gurney Cc: "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 05:13:25 -0000 Hi, please look at libuinet. I'd really like the libuinet framework to be in freebsd-head so we can build various forms of the freebsd kernel as userland support code. -a On 10 June 2015 at 15:46, John-Mark Gurney wrote: > I'm not the only one doing this (libzpool does this w/ zfs_context.h), > but what do we need to do to make it easier/more standard to be able > to compile kernel code into a userland program for testing and other > purposes. > > I know I'm now the only one to do it, but I can't seem to find any > docs on how people are doing this, and exactly what issues people have > run into when doing this. > > My goal is to have documentation and integrated necessary code into > FreeBSD to make this as simple as possible. My main goal is to make > it easier to compile kernel code into userland test harnesses. > > Thanks. > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"