Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2011 19:04:01 -0700
From:      mdf@FreeBSD.org
To:        d@delphij.net
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Sharing a file between kernel and userland?
Message-ID:  <CAMBSHm9vkxrcYZ1c0FBtRsTV7Bms9TiEtgEuzPYSBBq162gukQ@mail.gmail.com>
In-Reply-To: <4E8915B3.5050607@delphij.net>
References:  <4E8915B3.5050607@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Am I understanding correctly that there is currently no way to have a
> file that is shared between libkern and libc? =A0Or is there already a
> clean way to do that?

It's currently done with libsbuf -- sys/kern/subr_sbuf.c is built for
the kernel and for lib/libsbuf.  See lib/libsbuf/Makefile.

Cheers,
matthew



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