<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libcapsicum/Makefile, branch releng/11.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-03-23T16:15:07Z</updated>
<entry>
<title>MFC r306657, r306673, r306726, r307737, r309366, r310135, r323990, r324414</title>
<updated>2018-03-23T16:15:07Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2018-03-23T16:15:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6af4abb8796235567b09aadcf28b750755f1b7f9'/>
<id>urn:sha1:6af4abb8796235567b09aadcf28b750755f1b7f9</id>
<content type='text'>
r306657:
libcapsicum: introduce Capsicum helpers

Capsicum helpers are a set of inline functions which goal is to reduce
duplicated patterns used to Capsicumize applications.

Reviewed by:	cem, AllanJude, bapt, ed, emaste
Differential Revision:	https://reviews.freebsd.org/D8013

r306673:
libcapsicum: limit stderr

Don't limit stdout twice, instead limit stderr.

Pointed out by:	rpokala@

r306726:
Add man pages for Capsicum helpers.

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

r307737:
Fix few sentence in the man page.

Pointed out by:	wblock

r309366:
capsicum_helpers: Squash errors from closed fds

Squash EBADF from closed stdin, stdout, or stderr in caph_limit_stdio().
Any program used during special shell scripts may commonly be forked
from a parent process with closed standard stream.  Do the common sense
thing for this common use.

Reported by:	Iblis Lin &lt;iblis AT hs.ntnu.edu.tw&gt;
Reviewed by:	oshogbo@ (earlier version)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D8657

r310135:
capsicum_helpers: Add LOOKUP flag

Add a helper routine for opening a directory that is restricted to being
used for opening relative files as stdio streams.

I think this will really help basic adaptation of multi-file programs to
Capsicum. Rather than having each program initialize a rights object and
ioctl/fcntl arrays for their root fd for relative opens, consolidate in the
logical place.

Reviewed by:	oshogbo@
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D8743

r323990:
capsicum_helpers: Add SEEK to default stdio rights set

PR:		219173
Sponsored by:	Dell EMC Isilon

r324414:
capsicum_helpers: Add EVENT to default stdio rights set

Without it, calling caph_limit_stdio(3) breaks Irssi.

Reviewed by:	oshogbo
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D12622
</content>
</entry>
<entry>
<title>Remove lib/libcapsicum and libexec/casper, brought back as</title>
<updated>2016-04-17T02:51:04Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2016-04-17T02:51:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=659a0a5d644f71023b0af7d124ca00b87f1947ad'/>
<id>urn:sha1:659a0a5d644f71023b0af7d124ca00b87f1947ad</id>
<content type='text'>
part of a merge mishap.

Reported by:	junovitch
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>First pass through library packaging.</title>
<updated>2016-02-04T21:16:35Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2016-02-04T21:16:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a70cba95822f662d3f9da5119b6a0c433e8f70af'/>
<id>urn:sha1:a70cba95822f662d3f9da5119b6a0c433e8f70af</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Convert libraries to use LIBADD</title>
<updated>2014-11-25T11:07:26Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-11-25T11:07:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6b129086dcee14496517fae085b448e3edc69bc7'/>
<id>urn:sha1:6b129086dcee14496517fae085b448e3edc69bc7</id>
<content type='text'>
While here reduce a bit overlinking
</content>
</entry>
<entry>
<title>Both libcasper and libcapsicum libraries have to be installed in /lib/,</title>
<updated>2013-12-02T17:07:22Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2013-12-02T17:07:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0f984a92603471f9d202d13e397a32cbccabaf03'/>
<id>urn:sha1:0f984a92603471f9d202d13e397a32cbccabaf03</id>
<content type='text'>
as they are used by /sbin/casperd.
</content>
</entry>
<entry>
<title>Please welcome casperd daemon. It (and its services) will be responsible for</title>
<updated>2013-12-02T08:21:28Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2013-12-02T08:21:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=42a859525652decb08bba47ffaceb769d394175e'/>
<id>urn:sha1:42a859525652decb08bba47ffaceb769d394175e</id>
<content type='text'>
giving access to functionality that is not available in capability mode
sandbox. The functionality can be precisely restricted.

Start with the following services:
- system.dns - provides API compatible to:
	- gethostbyname(3),
	- gethostbyname2(3),
	- gethostbyaddr(3),
	- getaddrinfo(3),
	- getnameinfo(3),
- system.grp - provides getgrent(3)-compatible API,
- system.pwd - provides getpwent(3)-compatible API,
- system.random - allows to obtain entropy from /dev/random,
- system.sysctl - provides sysctlbyname(3-compatible API.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
</feed>
