Changeset View
Changeset View
Standalone View
Standalone View
lib/libcasper/libcasper/libcasper.3
Show All 21 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd October 5, 2016 | .Dd January 2, 2018 | ||||
.Dt LIBCASPER 3 | .Dt LIBCASPER 3 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm cap_init , | .Nm cap_init , | ||||
.Nm cap_wrap , | .Nm cap_wrap , | ||||
.Nm cap_unwrap , | .Nm cap_unwrap , | ||||
.Nm cap_sock , | .Nm cap_sock , | ||||
.Nm cap_clone , | .Nm cap_clone , | ||||
▲ Show 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | |||||
.Pp | .Pp | ||||
The | The | ||||
.Fn cap_service_open | .Fn cap_service_open | ||||
function opens casper service of the given name through casper capability | function opens casper service of the given name through casper capability | ||||
obtained via the | obtained via the | ||||
.Fn cap_init | .Fn cap_init | ||||
function. | function. | ||||
The function returns capability that provides access to opened service. | The function returns capability that provides access to opened service. | ||||
Casper supports the following services in the base system: | |||||
bcr: I would rephrase this to:
Casper supports the following services in the base system: | |||||
.Bl -tag -width "system.random" -compact -offset indent | |||||
.Pp | |||||
.It system.dns | |||||
provides DNS libc compatible API | |||||
.It system.grp | |||||
provides | |||||
.Xr getgrent 3 | |||||
compatible API | |||||
.It system.pwd | |||||
provides | |||||
.Xr getpwent 3 | |||||
compatible API | |||||
.It system.random | |||||
allows to obtain entropy from /dev/random | |||||
.It system.sysctl | |||||
provides | |||||
.Xr sysctlbyname 3 | |||||
compatible API | |||||
.It system.syslog | |||||
provides | |||||
.Xr syslog 3 | |||||
compatible API | |||||
.Sh RETURN VALUES | .Sh RETURN VALUES | ||||
The | The | ||||
.Fn cap_clone , | .Fn cap_clone , | ||||
.Fn cap_init , | .Fn cap_init , | ||||
.Fn cap_recv_nvlist , | .Fn cap_recv_nvlist , | ||||
.Fn cap_service_open , | .Fn cap_service_open , | ||||
.Fn cap_wrap | .Fn cap_wrap | ||||
and | and | ||||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |
I would rephrase this to:
Casper supports the following services in the base system: