freebsd-skq/share/mk
Mariusz Zaborski c501d73c7e Convert casperd(8) daemon to the libcasper.
After calling the cap_init(3) function Casper will fork from it's original
process, using pdfork(2). Forking from a process has a lot of advantages:
1. We have the same cwd as the original process.
2. The same uid, gid and groups.
3. The same MAC labels.
4. The same descriptor table.
5. The same routing table.
6. The same umask.
7. The same cpuset(1).
From now services are also in form of libraries.
We also removed libcapsicum at all and converts existing program using Casper
to new architecture.

Discussed with:		pjd, jonathan, ed, drysdale@google.com, emaste
Partially reviewed by:	drysdale@google.com, bdrewery
Approved by:		pjd (mentor)
Differential Revision:	https://reviews.freebsd.org/D4277
2016-02-25 18:23:40 +00:00
..
atf.test.mk Remove unused atf.test.mk variables 2015-12-06 07:30:18 +00:00
auto.obj.mk Import latest auto.obj.mk 1.12 from contrib/bmake/mk. 2016-01-25 18:16:41 +00:00
bsd.arch.inc.mk
bsd.compiler.mk For determining the compiler version, quote the string to be echo'd, 2015-12-31 21:01:06 +00:00
bsd.confs.mk Use proper CONFDIR after r289148 2015-10-27 23:49:32 +00:00
bsd.cpu.mk Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
bsd.crunchgen.mk There seems to be no reason to duplicate CANONICALOBJDIR logic from bsd.obj.mk, 2015-11-23 23:04:52 +00:00
bsd.dep.mk FAST_DEPEND: Still need to remove DEPENDFILE when rebuilding. 2016-02-24 20:28:45 +00:00
bsd.doc.mk bsd.doc.mk: Similar to r289391, make installing to a missing directory an error. 2015-11-13 17:27:23 +00:00
bsd.dtb.mk Add infrastructure to build dtb files from dts files. 2015-01-08 18:28:06 +00:00
bsd.endian.mk Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
bsd.files.mk META MODE: Fix FILESNAME not being respected sans other FILES_group overrides. 2015-10-26 23:28:35 +00:00
bsd.incs.mk Fix style and remove excess / for installing SYMLINKS. 2016-02-04 01:08:51 +00:00
bsd.info.mk Make installing to a non-existent directory an error. 2015-10-15 22:49:56 +00:00
bsd.init.mk Consolidate common beforebuild logic. 2016-02-16 02:09:48 +00:00
bsd.kmod.mk Eliminate bsd.sys.mk on purpose. Do not put it back. 2015-01-01 04:26:45 +00:00
bsd.lib.mk FAST_DEPEND: Rework how guessed dependencies are handled. 2016-02-24 17:19:05 +00:00
bsd.libnames.mk Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
bsd.links.mk Fix style and remove excess / for installing SYMLINKS. 2016-02-04 01:08:51 +00:00
bsd.man.mk MLINKS: Deduplicate some of the logic, simplify, and unhide install commands. 2016-02-04 01:08:48 +00:00
bsd.mkopt.mk Appy := to dependent opts once value determined. 2015-06-22 19:01:09 +00:00
bsd.nls.mk Don't let NLSLINKS contain itself. 2016-02-03 23:37:14 +00:00
bsd.obj.mk Consolidate common beforebuild logic. 2016-02-16 02:09:48 +00:00
bsd.opts.mk Hook the meta/nofilemon build into using FAST_DEPEND. 2016-02-24 17:19:13 +00:00
bsd.own.mk Stop looking up the same id(1) results in sub-makes. 2015-11-25 19:44:58 +00:00
bsd.port.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.prog.mk FAST_DEPEND: Rework how guessed dependencies are handled. 2016-02-24 17:19:05 +00:00
bsd.progs.mk PROGS: Only the main process will install INCS. 2016-02-24 20:28:48 +00:00
bsd.README Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
bsd.snmpmod.mk Allow overriding FILESDIRs for snmp files. 2015-12-14 22:42:05 +00:00
bsd.stand.mk Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags. 2015-08-27 23:46:42 +00:00
bsd.subdir.mk Add more STANDALONE_SUBDIR_TARGETS. 2016-02-24 22:27:22 +00:00
bsd.symver.mk
bsd.sys.mk Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
bsd.test.mk Test directories can build in parallel fine. 2016-02-16 02:13:59 +00:00
dirdeps.mk Default MK_META_MODE from MK_DIRDEPS_BUILD 2015-11-16 22:50:23 +00:00
gendirdeps.mk Import latest gendirdeps.mk 1.29 from contrib/bmake/mk 2016-01-25 18:40:25 +00:00
host-target.mk Import latest host-target.mk 1.11 from contrib/bmake/mk 2016-01-25 18:43:21 +00:00
install-new.mk DIRDEPS_BUILD: Install new Makefile.depend files atomically. 2015-12-04 03:17:07 +00:00
local.autodep.mk Revert r288966 as it is redundant and not right. 2015-12-03 22:39:42 +00:00
local.dirdeps.mk DIRDEPS_BUILD: Support bootstrapping from PROGS.(DPADD|LIBADD). 2015-12-15 02:51:05 +00:00
local.gendirdeps.mk META MODE: Don't trim out lib/clang/include dependency. 2015-12-01 05:18:55 +00:00
local.init.mk Define .MAKE.MODE to normal to avoid the need for :U later. 2016-01-19 22:41:44 +00:00
local.meta.sys.mk Hook the meta/nofilemon build into using FAST_DEPEND. 2016-02-24 17:19:13 +00:00
local.sys.env.mk Move include of make.conf back to its old position. 2015-06-19 14:56:24 +00:00
local.sys.mk Define .MAKE.MODE to normal to avoid the need for :U later. 2016-01-19 22:41:44 +00:00
Makefile Don't create a Makefile.depend in share/mk. 2015-12-04 03:17:10 +00:00
meta2deps.py Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta2deps.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.autodep.mk META MODE: Don't add staged DPADDs to DIRDEPS when bootstrapping gendirdeps. 2015-11-25 19:13:45 +00:00
meta.stage.mk META MODE: Don't double stage SYMLINKS for shared libraries. 2015-11-13 22:27:24 +00:00
meta.subdir.mk Import latest meta.subdir.mk 1.11 from contrib/bmake/mk 2016-01-25 18:34:15 +00:00
meta.sys.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
netbsd-tests.test.mk Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
plain.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
src.init.mk The 'buildenv' target can safely be ran with '+'. 2015-11-06 21:49:17 +00:00
src.libnames.mk Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
src.opts.mk Support use of LLVM's libunwind for exception unwinding 2016-01-09 00:42:07 +00:00
src.sys.env.mk RELDIR is useful without META_MODE. Always define it. 2015-09-23 23:30:57 +00:00
src.sys.mk Only include src.conf if _WITHOUT_SRCCONF not defined. 2015-12-01 20:56:16 +00:00
stage-install.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
suite.test.mk Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
sys.dependfile.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
sys.mk META_MODE: Ensure bmake does not use filemon if it is not loaded. 2016-01-19 22:41:55 +00:00
tap.test.mk - Use LOCALBASE instead of KYUA_PREFIX for the --prefix to kyua(1) 2015-12-20 06:26:15 +00:00
version_gen.awk