History log of /freebsd/lib/libcapsicum/capsicum_helpers.3 (Results 1 – 10 of 10)
Revision Date Author Comments
# 3cb6c6c9 16-May-2024 Mariusz Zaborski <oshogbo@FreeBSD.org>

libcapsicum: document return values

Reviewed by: emaste
Requested by: des
Differential Revision: https://reviews.freebsd.org/D45222


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 990beb03 02-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

capsicum_helpers: split stream cap bits out of caph_limit_stream()

The goal here is to make it so applications can take the rights one would
normally get by calling caph_limit_stream() on a descript

capsicum_helpers: split stream cap bits out of caph_limit_stream()

The goal here is to make it so applications can take the rights one would
normally get by calling caph_limit_stream() on a descriptor and build on
them as needed.

The tentatively planned use-case is an application that takes a socket and
hooks it up to std{err,out,in} for a fork()d child. It may be feasible to
apply limitations to such descriptors as long as it's a superset of those
normally applied to stdio.

Reviewed by: markj, oshobo (prior version; sans manpage addition)
Differential Revision: https://reviews.freebsd.org/D22993

show more ...


# 504b5801 21-Jan-2019 Mark Johnston <markj@FreeBSD.org>

List caph_limit_stream() in the synopsis.

Fix typos while here.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation


# 5a453d5f 04-Nov-2018 Mariusz Zaborski <oshogbo@FreeBSD.org>

libcapsicum: Introduce caph_{rights,ioctls,fcntls}_limit

The idea behind those functions is not to force consumers to remember that there
is a need to check errno on failure. We already have a caph_

libcapsicum: Introduce caph_{rights,ioctls,fcntls}_limit

The idea behind those functions is not to force consumers to remember that there
is a need to check errno on failure. We already have a caph_enter(3) function
which does the same for cap_enter(2).

MFC after: 2 weeks

show more ...


# a304238b 18-Jul-2018 Mariusz Zaborski <oshogbo@FreeBSD.org>

Fix description.


# 2bd7c570 15-Jul-2018 Mariusz Zaborski <oshogbo@FreeBSD.org>

Fix declaration.


# cfb13e0a 07-May-2018 Mariusz Zaborski <oshogbo@FreeBSD.org>

Introduce caph_enter and caph_enter_casper.

The caph_enter function should made it easier to sandbox application
and not force us to remember that we need to check errno on failure.
Another function

Introduce caph_enter and caph_enter_casper.

The caph_enter function should made it easier to sandbox application
and not force us to remember that we need to check errno on failure.
Another function is also checking if casper is present.

Reviewed by: emaste, cem (partially)
Differential Revision: https://reviews.freebsd.org/D14557

show more ...


# afc7ee85 21-Oct-2016 Mariusz Zaborski <oshogbo@FreeBSD.org>

Fix few sentence in the man page.

Pointed out by: wblock


# c3eed03d 05-Oct-2016 Mariusz Zaborski <oshogbo@FreeBSD.org>

Add man pages for Capsicum helpers.

Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D8154