mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
c501d73c7e
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
347 lines
5.0 KiB
Plaintext
347 lines
5.0 KiB
Plaintext
# $FreeBSD$
|
|
#
|
|
# Please see the file src/etc/mtree/README before making changes to this file.
|
|
#
|
|
|
|
/set type=dir uname=root gname=wheel mode=0755
|
|
.
|
|
arpa
|
|
..
|
|
atf-c
|
|
..
|
|
atf-c++
|
|
..
|
|
bsm
|
|
..
|
|
bsnmp
|
|
..
|
|
c++
|
|
4.2
|
|
backward
|
|
..
|
|
bits
|
|
..
|
|
debug
|
|
..
|
|
ext
|
|
pb_ds
|
|
detail
|
|
basic_tree_policy
|
|
..
|
|
bin_search_tree_
|
|
..
|
|
binary_heap_
|
|
..
|
|
binomial_heap_
|
|
..
|
|
binomial_heap_base_
|
|
..
|
|
cc_hash_table_map_
|
|
..
|
|
eq_fn
|
|
..
|
|
gp_hash_table_map_
|
|
..
|
|
hash_fn
|
|
..
|
|
left_child_next_sibling_heap_
|
|
..
|
|
list_update_map_
|
|
..
|
|
list_update_policy
|
|
..
|
|
ov_tree_map_
|
|
..
|
|
pairing_heap_
|
|
..
|
|
pat_trie_
|
|
..
|
|
rb_tree_map_
|
|
..
|
|
rc_binomial_heap_
|
|
..
|
|
resize_policy
|
|
..
|
|
splay_tree_
|
|
..
|
|
thin_heap_
|
|
..
|
|
tree_policy
|
|
..
|
|
trie_policy
|
|
..
|
|
unordered_iterator
|
|
..
|
|
..
|
|
..
|
|
..
|
|
tr1
|
|
..
|
|
..
|
|
v1
|
|
experimental
|
|
..
|
|
ext
|
|
..
|
|
tr1
|
|
..
|
|
..
|
|
..
|
|
cam
|
|
ata
|
|
..
|
|
scsi
|
|
..
|
|
..
|
|
casper
|
|
..
|
|
crypto
|
|
..
|
|
dev
|
|
acpica
|
|
..
|
|
agp
|
|
..
|
|
an
|
|
..
|
|
bktr
|
|
..
|
|
ciss
|
|
..
|
|
filemon
|
|
..
|
|
firewire
|
|
..
|
|
hwpmc
|
|
..
|
|
ic
|
|
..
|
|
iicbus
|
|
..
|
|
io
|
|
..
|
|
lmc
|
|
..
|
|
mfi
|
|
..
|
|
mpt
|
|
mpilib
|
|
..
|
|
..
|
|
nand
|
|
..
|
|
nvme
|
|
..
|
|
ofw
|
|
..
|
|
pbio
|
|
..
|
|
pci
|
|
..
|
|
powermac_nvram
|
|
..
|
|
ppbus
|
|
..
|
|
smbus
|
|
..
|
|
speaker
|
|
..
|
|
usb
|
|
..
|
|
utopia
|
|
..
|
|
vkbd
|
|
..
|
|
wi
|
|
..
|
|
..
|
|
edit
|
|
readline
|
|
..
|
|
..
|
|
fs
|
|
cuse
|
|
..
|
|
devfs
|
|
..
|
|
fdescfs
|
|
..
|
|
msdosfs
|
|
..
|
|
nandfs
|
|
..
|
|
nfs
|
|
..
|
|
nullfs
|
|
..
|
|
procfs
|
|
..
|
|
smbfs
|
|
..
|
|
udf
|
|
..
|
|
unionfs
|
|
..
|
|
..
|
|
gcc
|
|
4.2
|
|
..
|
|
..
|
|
geom
|
|
cache
|
|
..
|
|
concat
|
|
..
|
|
eli
|
|
..
|
|
gate
|
|
..
|
|
journal
|
|
..
|
|
label
|
|
..
|
|
mirror
|
|
..
|
|
mountver
|
|
..
|
|
multipath
|
|
..
|
|
nop
|
|
..
|
|
raid
|
|
..
|
|
raid3
|
|
..
|
|
shsec
|
|
..
|
|
stripe
|
|
..
|
|
virstor
|
|
..
|
|
..
|
|
gnu
|
|
posix
|
|
..
|
|
..
|
|
gssapi
|
|
..
|
|
infiniband
|
|
complib
|
|
..
|
|
iba
|
|
..
|
|
opensm
|
|
..
|
|
vendor
|
|
..
|
|
..
|
|
isofs
|
|
cd9660
|
|
..
|
|
..
|
|
kadm5
|
|
..
|
|
krb5
|
|
..
|
|
lib80211
|
|
..
|
|
libmilter
|
|
..
|
|
libxo
|
|
..
|
|
lzma
|
|
..
|
|
machine
|
|
pc
|
|
..
|
|
..
|
|
net
|
|
altq
|
|
..
|
|
..
|
|
net80211
|
|
..
|
|
netgraph
|
|
atm
|
|
..
|
|
bluetooth
|
|
include
|
|
..
|
|
..
|
|
netflow
|
|
..
|
|
..
|
|
netinet
|
|
cc
|
|
..
|
|
..
|
|
netinet6
|
|
..
|
|
netipsec
|
|
..
|
|
netnatm
|
|
api
|
|
..
|
|
msg
|
|
..
|
|
saal
|
|
..
|
|
sig
|
|
..
|
|
..
|
|
netpfil
|
|
pf
|
|
..
|
|
..
|
|
netsmb
|
|
..
|
|
nfs
|
|
..
|
|
nfsclient
|
|
..
|
|
nfsserver
|
|
..
|
|
openssl
|
|
..
|
|
pcap
|
|
..
|
|
protocols
|
|
..
|
|
rdma
|
|
..
|
|
rpc
|
|
..
|
|
rpcsvc
|
|
..
|
|
security
|
|
audit
|
|
..
|
|
mac_biba
|
|
..
|
|
mac_bsdextended
|
|
..
|
|
mac_lomac
|
|
..
|
|
mac_mls
|
|
..
|
|
mac_partition
|
|
..
|
|
..
|
|
ssp
|
|
..
|
|
sys
|
|
..
|
|
teken
|
|
..
|
|
ufs
|
|
ffs
|
|
..
|
|
ufs
|
|
..
|
|
..
|
|
vm
|
|
..
|
|
xlocale
|
|
..
|
|
..
|