b37f6c9805
libregex is a regex(3) implementation intended to feature GNU extensions and any other non-POSIX compliant extensions that are deemed worthy. These extensions are separated out into a separate library for the sake of not cluttering up libc further with them as well as not deteriorating the speed (or lack thereof) of the libc implementation. libregex is implemented as a build of the libc implementation with LIBREGEX defined to distinguish this from a libc build. The reasons for implementation like this are two-fold: 1.) Maintenance- This reduces the overhead induced by adding yet another regex implementation to base. 2.) Ease of use- Flipping on GNU extensions will be as simple as linking against libregex, and POSIX-compliant compilations can be guaranteed with a REG_POSIX cflag that should be ignored by libc/regex and disables extensions in libregex. It is also easier to keep REG_POSIX sane and POSIX pure when implemented in this fashion. Tests are added for future functionality, but left disconnected for the time being while other testing is done. Reviewed by: cem (previous version) Differential Revision: https://reviews.freebsd.org/D12934
781 lines
13 KiB
Plaintext
781 lines
13 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
|
|
.
|
|
bin
|
|
cat
|
|
..
|
|
chflags
|
|
..
|
|
chmod
|
|
..
|
|
date
|
|
..
|
|
dd
|
|
..
|
|
echo
|
|
..
|
|
expr
|
|
..
|
|
ln
|
|
..
|
|
ls
|
|
..
|
|
mkdir
|
|
..
|
|
mv
|
|
..
|
|
pax
|
|
..
|
|
pkill
|
|
..
|
|
pwait
|
|
..
|
|
rmdir
|
|
..
|
|
sh
|
|
builtins
|
|
..
|
|
errors
|
|
..
|
|
execution
|
|
..
|
|
expansion
|
|
..
|
|
invocation
|
|
..
|
|
parameters
|
|
..
|
|
parser
|
|
..
|
|
set-e
|
|
..
|
|
..
|
|
sleep
|
|
..
|
|
test
|
|
..
|
|
..
|
|
cddl
|
|
lib
|
|
..
|
|
sbin
|
|
..
|
|
usr.bin
|
|
ctfconvert
|
|
..
|
|
..
|
|
usr.sbin
|
|
dtrace
|
|
common
|
|
aggs
|
|
..
|
|
arithmetic
|
|
..
|
|
arrays
|
|
..
|
|
assocs
|
|
..
|
|
begin
|
|
..
|
|
bitfields
|
|
..
|
|
buffering
|
|
..
|
|
builtinvar
|
|
..
|
|
cg
|
|
..
|
|
clauses
|
|
..
|
|
cpc
|
|
..
|
|
decls
|
|
..
|
|
drops
|
|
..
|
|
dtraceUtil
|
|
..
|
|
end
|
|
..
|
|
env
|
|
..
|
|
enum
|
|
..
|
|
error
|
|
..
|
|
exit
|
|
..
|
|
fbtprovider
|
|
..
|
|
funcs
|
|
..
|
|
grammar
|
|
..
|
|
include
|
|
..
|
|
inline
|
|
..
|
|
io
|
|
..
|
|
ip
|
|
..
|
|
java_api
|
|
..
|
|
json
|
|
..
|
|
lexer
|
|
..
|
|
llquantize
|
|
..
|
|
mdb
|
|
..
|
|
mib
|
|
..
|
|
misc
|
|
..
|
|
multiaggs
|
|
..
|
|
offsetof
|
|
..
|
|
operators
|
|
..
|
|
pid
|
|
..
|
|
plockstat
|
|
..
|
|
pointers
|
|
..
|
|
pragma
|
|
..
|
|
predicates
|
|
..
|
|
preprocessor
|
|
..
|
|
print
|
|
..
|
|
printa
|
|
..
|
|
printf
|
|
..
|
|
privs
|
|
..
|
|
probes
|
|
..
|
|
proc
|
|
..
|
|
profile-n
|
|
..
|
|
providers
|
|
..
|
|
raise
|
|
..
|
|
rates
|
|
..
|
|
safety
|
|
..
|
|
scalars
|
|
..
|
|
sched
|
|
..
|
|
scripting
|
|
..
|
|
sdt
|
|
..
|
|
sizeof
|
|
..
|
|
speculation
|
|
..
|
|
stability
|
|
..
|
|
stack
|
|
..
|
|
stackdepth
|
|
..
|
|
stop
|
|
..
|
|
strlen
|
|
..
|
|
strtoll
|
|
..
|
|
struct
|
|
..
|
|
sugar
|
|
..
|
|
syscall
|
|
..
|
|
sysevent
|
|
..
|
|
tick-n
|
|
..
|
|
trace
|
|
..
|
|
tracemem
|
|
..
|
|
translators
|
|
..
|
|
typedef
|
|
..
|
|
types
|
|
..
|
|
uctf
|
|
..
|
|
union
|
|
..
|
|
usdt
|
|
..
|
|
ustack
|
|
..
|
|
vars
|
|
..
|
|
version
|
|
..
|
|
..
|
|
..
|
|
zfsd
|
|
..
|
|
..
|
|
..
|
|
etc
|
|
rc.d
|
|
..
|
|
..
|
|
games
|
|
..
|
|
gnu
|
|
lib
|
|
..
|
|
usr.bin
|
|
diff
|
|
..
|
|
..
|
|
..
|
|
lib
|
|
atf
|
|
libatf-c
|
|
detail
|
|
..
|
|
..
|
|
libatf-c++
|
|
detail
|
|
..
|
|
..
|
|
test-programs
|
|
..
|
|
..
|
|
libarchive
|
|
..
|
|
libc
|
|
c063
|
|
..
|
|
db
|
|
..
|
|
gen
|
|
execve
|
|
..
|
|
posix_spawn
|
|
..
|
|
..
|
|
hash
|
|
data
|
|
..
|
|
..
|
|
iconv
|
|
..
|
|
inet
|
|
..
|
|
locale
|
|
..
|
|
net
|
|
getaddrinfo
|
|
data
|
|
..
|
|
..
|
|
..
|
|
nss
|
|
..
|
|
regex
|
|
data
|
|
..
|
|
..
|
|
resolv
|
|
..
|
|
rpc
|
|
..
|
|
ssp
|
|
..
|
|
setjmp
|
|
..
|
|
stdio
|
|
..
|
|
stdlib
|
|
..
|
|
string
|
|
..
|
|
sys
|
|
..
|
|
time
|
|
..
|
|
tls
|
|
dso
|
|
..
|
|
..
|
|
termios
|
|
..
|
|
ttyio
|
|
..
|
|
..
|
|
libcam
|
|
..
|
|
libcasper
|
|
services
|
|
cap_dns
|
|
..
|
|
cap_grp
|
|
..
|
|
cap_pwd
|
|
..
|
|
cap_sysctl
|
|
..
|
|
..
|
|
..
|
|
libcrypt
|
|
..
|
|
libdevdctl
|
|
..
|
|
libkvm
|
|
..
|
|
libmp
|
|
..
|
|
libnv
|
|
..
|
|
libproc
|
|
..
|
|
libregex
|
|
data
|
|
..
|
|
..
|
|
librt
|
|
..
|
|
libsbuf
|
|
..
|
|
libthr
|
|
dlopen
|
|
..
|
|
..
|
|
libutil
|
|
..
|
|
libxo
|
|
..
|
|
msun
|
|
..
|
|
..
|
|
libexec
|
|
atf
|
|
atf-check
|
|
..
|
|
atf-sh
|
|
..
|
|
..
|
|
rtld-elf
|
|
..
|
|
..
|
|
sbin
|
|
dhclient
|
|
..
|
|
devd
|
|
..
|
|
growfs
|
|
..
|
|
ifconfig
|
|
..
|
|
mdconfig
|
|
..
|
|
pfctl
|
|
files
|
|
..
|
|
..
|
|
..
|
|
secure
|
|
lib
|
|
..
|
|
libexec
|
|
..
|
|
usr.bin
|
|
..
|
|
usr.sbin
|
|
..
|
|
..
|
|
share
|
|
examples
|
|
tests
|
|
atf
|
|
..
|
|
plain
|
|
..
|
|
tap
|
|
..
|
|
..
|
|
..
|
|
zoneinfo
|
|
..
|
|
..
|
|
sys
|
|
acl
|
|
..
|
|
aio
|
|
..
|
|
fifo
|
|
..
|
|
file
|
|
..
|
|
fs
|
|
tmpfs
|
|
..
|
|
..
|
|
geom
|
|
class
|
|
concat
|
|
..
|
|
eli
|
|
..
|
|
gate
|
|
..
|
|
gpt
|
|
..
|
|
mirror
|
|
..
|
|
nop
|
|
..
|
|
raid3
|
|
..
|
|
shsec
|
|
..
|
|
stripe
|
|
..
|
|
uzip
|
|
etalon
|
|
..
|
|
..
|
|
..
|
|
..
|
|
kern
|
|
acct
|
|
..
|
|
execve
|
|
..
|
|
pipe
|
|
..
|
|
..
|
|
kqueue
|
|
libkqueue
|
|
..
|
|
..
|
|
mac
|
|
bsdextended
|
|
..
|
|
portacl
|
|
..
|
|
..
|
|
mqueue
|
|
..
|
|
netinet
|
|
..
|
|
netipsec
|
|
tunnel
|
|
..
|
|
..
|
|
netpfil
|
|
pf
|
|
..
|
|
..
|
|
opencrypto
|
|
..
|
|
pjdfstest
|
|
chflags
|
|
..
|
|
chmod
|
|
..
|
|
chown
|
|
..
|
|
ftruncate
|
|
..
|
|
granular
|
|
..
|
|
link
|
|
..
|
|
mkdir
|
|
..
|
|
mkfifo
|
|
..
|
|
mknod
|
|
..
|
|
open
|
|
..
|
|
rename
|
|
..
|
|
rmdir
|
|
..
|
|
symlink
|
|
..
|
|
truncate
|
|
..
|
|
unlink
|
|
..
|
|
utimensat
|
|
..
|
|
..
|
|
posixshm
|
|
..
|
|
sys
|
|
..
|
|
vfs
|
|
..
|
|
vm
|
|
..
|
|
..
|
|
usr.bin
|
|
apply
|
|
..
|
|
awk
|
|
..
|
|
basename
|
|
..
|
|
bmake
|
|
archives
|
|
fmt_44bsd
|
|
..
|
|
fmt_44bsd_mod
|
|
..
|
|
fmt_oldbsd
|
|
..
|
|
..
|
|
basic
|
|
t0
|
|
..
|
|
t1
|
|
..
|
|
t2
|
|
..
|
|
t3
|
|
..
|
|
..
|
|
execution
|
|
ellipsis
|
|
..
|
|
empty
|
|
..
|
|
joberr
|
|
..
|
|
plus
|
|
..
|
|
..
|
|
shell
|
|
builtin
|
|
..
|
|
meta
|
|
..
|
|
path
|
|
..
|
|
path_select
|
|
..
|
|
replace
|
|
..
|
|
select
|
|
..
|
|
..
|
|
suffixes
|
|
basic
|
|
..
|
|
src_wild1
|
|
..
|
|
src_wild2
|
|
..
|
|
..
|
|
syntax
|
|
directive-t0
|
|
..
|
|
enl
|
|
..
|
|
funny-targets
|
|
..
|
|
semi
|
|
..
|
|
..
|
|
sysmk
|
|
t0
|
|
2
|
|
1
|
|
..
|
|
..
|
|
mk
|
|
..
|
|
..
|
|
t1
|
|
2
|
|
1
|
|
..
|
|
..
|
|
mk
|
|
..
|
|
..
|
|
t2
|
|
2
|
|
1
|
|
..
|
|
..
|
|
mk
|
|
..
|
|
..
|
|
..
|
|
variables
|
|
modifier_M
|
|
..
|
|
modifier_t
|
|
..
|
|
opt_V
|
|
..
|
|
t0
|
|
..
|
|
..
|
|
..
|
|
bsdcat
|
|
..
|
|
calendar
|
|
..
|
|
cmp
|
|
..
|
|
compress
|
|
..
|
|
cpio
|
|
..
|
|
col
|
|
..
|
|
comm
|
|
..
|
|
csplit
|
|
..
|
|
cut
|
|
..
|
|
dc
|
|
..
|
|
diff
|
|
..
|
|
dirname
|
|
..
|
|
du
|
|
..
|
|
file2c
|
|
..
|
|
find
|
|
..
|
|
fold
|
|
..
|
|
getconf
|
|
..
|
|
grep
|
|
..
|
|
gzip
|
|
..
|
|
head
|
|
..
|
|
hexdump
|
|
..
|
|
ident
|
|
..
|
|
indent
|
|
..
|
|
join
|
|
..
|
|
jot
|
|
..
|
|
lastcomm
|
|
..
|
|
limits
|
|
..
|
|
m4
|
|
..
|
|
mkimg
|
|
..
|
|
ncal
|
|
..
|
|
opensm
|
|
..
|
|
pr
|
|
..
|
|
printf
|
|
..
|
|
procstat
|
|
..
|
|
rs
|
|
..
|
|
sdiff
|
|
..
|
|
sed
|
|
regress.multitest.out
|
|
..
|
|
..
|
|
soelim
|
|
..
|
|
stat
|
|
..
|
|
tail
|
|
..
|
|
tar
|
|
..
|
|
timeout
|
|
..
|
|
tr
|
|
..
|
|
truncate
|
|
..
|
|
units
|
|
..
|
|
uudecode
|
|
..
|
|
uuencode
|
|
..
|
|
uniq
|
|
..
|
|
vmstat
|
|
..
|
|
xargs
|
|
..
|
|
xinstall
|
|
..
|
|
xo
|
|
..
|
|
yacc
|
|
yacc
|
|
..
|
|
..
|
|
..
|
|
usr.sbin
|
|
chown
|
|
..
|
|
etcupdate
|
|
..
|
|
extattr
|
|
..
|
|
fstyp
|
|
..
|
|
makefs
|
|
..
|
|
newsyslog
|
|
..
|
|
nmtree
|
|
..
|
|
pw
|
|
..
|
|
rpcbind
|
|
..
|
|
sa
|
|
..
|
|
..
|
|
..
|
|
|
|
# vim: set expandtab ts=4 sw=4:
|