freebsd-nq/usr.sbin
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
..
ac
accton
acpi DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
adduser
amd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
ancontrol
apm
apmd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
arp
asf
audit
auditd
auditdistd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
auditreduce
authpf
autofs DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
bhyve Cleanup unused-but-set-variable spotted by gcc-4.9. 2016-01-26 07:17:21 +00:00
bhyvectl Add a basic bhyvectl manpage. 2016-01-12 10:16:15 +00:00
bhyveload
binmiscctl
bluetooth DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
boot0cfg Adjust previous fix to conform to the existing style in this file. 2016-01-14 15:49:24 +00:00
boot98cfg
bootparamd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
bsdconfig f_substr(): Optimized recipe if running under bash 2016-02-03 04:02:50 +00:00
bsdinstall The zfsboot automated part of bsdinstall now supports UEFI 2016-01-30 15:53:28 +00:00
bsnmpd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
btxld
camdd
cdcontrol
chkgrp
chown
chroot
ckdist
clear_locks
config DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
cpucontrol
crashinfo
cron crontab: ftruncate() with ftello() instead of ftell(). 2016-02-16 21:19:39 +00:00
crunch DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
ctladm
ctld DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
ctm
daemon
dconschat
devctl - Note that devctl(8) will appear in 10.3 first. 2016-02-02 22:55:03 +00:00
devinfo
digictl
diskinfo
dumpcis
editmap DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
edquota
eeprom
etcupdate
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
flowctl
fmtree
freebsd-update Provide a future release as an example, instead of a historical one. 2016-02-05 21:57:50 +00:00
fstyp
ftp-proxy
fwcontrol
getfmac
getpmac
gpioctl
gssd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
gstat
hyperv
i2c
ifmcstat
inetd
iostat Fix the usr.sbin/iostat build with GCC, broken by r295768 2016-02-22 21:40:53 +00:00
iovctl
ip6addrctl
ipfwpcap
iscsid Improve reporting of connection problems in iscsid(8). 2016-01-27 18:12:42 +00:00
jail DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
jexec
jls mdoc: sort Xr 2016-01-18 20:21:38 +00:00
kbdcontrol DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
kbdmap
keyserv DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
kgmon
kgzip
kldxref Add support for relocating AArch64 modules to kldxref. This fixes an error 2016-01-13 21:34:15 +00:00
lastlogin
lmcconfig
lpr
lptcontrol
mailstats DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mailwrapper
makefs Require /sbin/mount_cd9660 when running the cd9660 tests 2016-01-27 06:14:20 +00:00
makemap DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
manctl
memcontrol
mergemaster
mfiutil
mixer
mld6query
mlxcontrol
mount_smbfs
mountd Allow /etc/exports to contain usernames/groups with spaces in them. 2016-01-07 05:34:39 +00:00
moused
mpsutil
mptable
mptutil
mtest
nandsim
nandtool
ndiscvt DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
ndp
newsyslog
nfscbd
nfsd
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree
nologin
nscd
ntp DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
nvram
ofwdump
pc-sysinstall
pciconf Fix possible out-of-bounds access detected by Ulrich Spörleins "scan-build". 2016-02-19 14:01:35 +00:00
periodic
pkg Remove some unneeded headers 2016-01-13 17:59:12 +00:00
pmcannotate
pmccontrol
pmcstat
pmcstudy
pnpinfo
portsnap
powerd
ppp
pppctl
praliases DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
praudit
procctl
pstat
pw
pwd_mkdb Following revision r295924, the changes to a db file should be fsynced 2016-02-23 15:28:13 +00:00
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
rpc.statd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
rpc.umntall
rpc.yppasswdd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
rpc.ypupdated DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
rpc.ypxfrd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
rpcbind Fix Coverity warnings regarding r293229 2016-01-13 17:33:50 +00:00
rrenumd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
rtadvctl
rtadvd
rtprio
rtsold Use the _SAFE loop variant, since the loop body may remove queue entries. 2016-02-18 01:58:26 +00:00
rwhod
sa
sendmail DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
service
services_mkdb Remove O_SYNC from the options passed to dbmopen(). 2016-02-10 09:40:45 +00:00
sesutil DIRDEPS_BUILD: Update dependencies. 2016-01-07 19:58:23 +00:00
setfib
setfmac
setpmac
sicontrol
smbmsg
snapinfo
spkrtest
spray
syslogd syslogd: Enable repeated line compression for lines of any length. 2016-01-27 16:17:15 +00:00
sysrc Revert r295169 and switch \ ' to " "' 2016-02-02 23:54:07 +00:00
tcpdchk
tcpdmatch
tcpdrop
tcpdump Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
tests
timed
traceroute DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
traceroute6
trpt
tzsetup
uathload
uefisign
ugidfw
uhsoctl
unbound Use the new insecure-lan-zones option instead of listing each AS112 zone 2016-02-11 17:37:02 +00:00
usbconfig
usbdump
utx
vidcontrol Add "vidcontrol -i active", to print out active vty number, 2016-01-19 13:09:20 +00:00
vigr
vipw
wake
watch
watchdogd
wlandebug
wlconfig
wpa
yp_mkdb
ypbind
ypldap Switch from FD_SETSIZE to getdtablesize(2) as it can make the FD to be 2016-01-22 03:02:38 +00:00
yppoll
yppush DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
ypserv DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
ypset
zic
zzz
Makefile Remove uathload from build due to issue with GCC 5.2.0: 2016-01-26 14:34:40 +00:00
Makefile.amd64
Makefile.arm
Makefile.arm64
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64