<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libcapsicum, 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-04-07T03:51:19Z</updated>
<entry>
<title>MFC r322324: capsicum_helpers: Add FIODTYPE to default ioctls allowed</title>
<updated>2018-04-07T03:51:19Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2018-04-07T03:51:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bd76c9eb3dffb6b95c113b902664900b2d223669'/>
<id>urn:sha1:bd76c9eb3dffb6b95c113b902664900b2d223669</id>
<content type='text'>
FIODTYPE will be needed by hexdump(1) to speed up the -s flag on devices
that should be able to support fseek(3); specifically, in an attempt to
correct for the fact that most tape drives don't support seeking yet don't
indicate as such when fseeko(3) is invoked.
</content>
</entry>
<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>META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.</title>
<updated>2015-11-25T19:10:28Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-11-25T19:10:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7b3ea376a27ada7a61eb0c3102f13040fb8c16cb'/>
<id>urn:sha1:7b3ea376a27ada7a61eb0c3102f13040fb8c16cb</id>
<content type='text'>
This both avoids some dependencies on xinstall.host and allows
bootstrapping on older releases to work due to lack of at least 'install -l'
support.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Let the nv.h and dnv.h includes be only in sys directory.</title>
<updated>2015-07-02T21:58:10Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2015-07-02T21:58:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c36e54bb328697af1e6113812caecbd3bac89fe0'/>
<id>urn:sha1:c36e54bb328697af1e6113812caecbd3bac89fe0</id>
<content type='text'>
Change consumers to include those files from sys.
Add duplicated files to ObsoleteFiles.

Approved by:	pjd (mentor)
</content>
</entry>
<entry>
<title>Revert r284417 it is not necessary anymore</title>
<updated>2015-06-15T19:28:07Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-06-15T19:28:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18b2ee82db77066fdb18c8183e02e02f79499328'/>
<id>urn:sha1:18b2ee82db77066fdb18c8183e02e02f79499328</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enforce overwritting SHLIBDIR</title>
<updated>2015-06-15T15:34:20Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-06-15T15:34:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4232f826683298e85d469c0ef17259cecd13b2c7'/>
<id>urn:sha1:4232f826683298e85d469c0ef17259cecd13b2c7</id>
<content type='text'>
Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading
bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere.

This makes /lib being populated again.

Reported by:	many
</content>
</entry>
<entry>
<title>Add META_MODE support.</title>
<updated>2015-06-13T19:20:56Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-06-13T19:20:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ccfb965433c67f3bda935a3cdf334be2e3c4348d'/>
<id>urn:sha1:ccfb965433c67f3bda935a3cdf334be2e3c4348d</id>
<content type='text'>
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
</content>
</entry>
<entry>
<title>dirdeps.mk now sets DEP_RELDIR</title>
<updated>2015-06-08T23:35:17Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-06-08T23:35:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=44d314f704764f0247a540648a4b4fc3e8012133'/>
<id>urn:sha1:44d314f704764f0247a540648a4b4fc3e8012133</id>
<content type='text'>
</content>
</entry>
</feed>
