freebsd-dev/usr.sbin
Xin LI a2668e8128 Use chroot(2) instead of using prefixes for files.
Previously, the code prefixes the chroot path to actual file paths to
simulate the effect.  This, however, will not work for tzset(3) which
expects the current system have a working set of timezone data files,
and that is not always the case.

This changeset simplifies the handling of paths and use an actual
chroot(2) call to implement the effect.

PR:		bin/197313
MFC after:	2 weeks
2015-10-13 22:55:17 +00:00
..
ac Add META_MODE support. 2015-06-13 19:20:56 +00:00
accton Add META_MODE support. 2015-06-13 19:20:56 +00:00
acpi Remove unsupported S5 (power off) state since r170976. 2015-09-22 16:35:32 +00:00
adduser Add META_MODE support. 2015-06-13 19:20:56 +00:00
amd Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
ancontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
apm Add META_MODE support. 2015-06-13 19:20:56 +00:00
apmd META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
arp rtsock requests for deleting interface address lles started to return EPERM 2015-09-27 04:54:29 +00:00
asf Add META_MODE support. 2015-06-13 19:20:56 +00:00
audit Add META_MODE support. 2015-06-13 19:20:56 +00:00
auditd Add META_MODE support. 2015-06-13 19:20:56 +00:00
auditdistd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditreduce Add META_MODE support. 2015-06-13 19:20:56 +00:00
authpf Add META_MODE support. 2015-06-13 19:20:56 +00:00
autofs Add -noauto autofs map, for automatic handling of fstab entries 2015-03-13 12:44:46 +00:00
bhyve Clean up some harmless unimplemented-command warning messages. 2015-10-05 14:57:45 +00:00
bhyvectl Remove duplicate header string.h. 2015-07-04 18:36:02 +00:00
bhyveload Add option -l for specifying which OS loader to dlopen(3). By default 2015-10-08 02:28:22 +00:00
binmiscctl Add example for upcoming aarch64/arm64 targets. 2015-02-16 20:55:37 +00:00
bluetooth fix compare argument for address type. 2015-09-09 13:24:39 +00:00
boot0cfg It's 2015, and some people are still trying to use fdisk and then 2015-09-02 14:08:43 +00:00
boot98cfg META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
bootparamd Add META_MODE support. 2015-06-13 19:20:56 +00:00
bsdconfig META_MODE: Remove DEP_RELDIR from Makefile.depend files. 2015-09-25 19:26:08 +00:00
bsdinstall Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
bsnmpd META_MODE: Remove DEP_RELDIR from Makefile.depend files. 2015-09-25 19:26:08 +00:00
btxld Add META_MODE support. 2015-06-13 19:20:56 +00:00
cdcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
chkgrp Revert r286148 2015-08-01 10:40:17 +00:00
chown Add META_MODE support. 2015-06-13 19:20:56 +00:00
chroot Add META_MODE support. 2015-06-13 19:20:56 +00:00
ckdist Add META_MODE support. 2015-06-13 19:20:56 +00:00
clear_locks Add META_MODE support. 2015-06-13 19:20:56 +00:00
config Fix two memory leaks in config(8). 2015-10-13 20:25:03 +00:00
cpucontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
crashinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
cron Add META_MODE support. 2015-06-13 19:20:56 +00:00
crunch Fix rescue build after r284356 with STRIP= by using proper STRIPBIN per build(7). 2015-07-28 21:39:58 +00:00
ctladm Add to CTL initial support for CDROMs and removable devices. 2015-09-27 13:47:28 +00:00
ctld Document CD block size of 2048. 2015-10-02 11:27:34 +00:00
ctm Add META_MODE support. 2015-06-13 19:20:56 +00:00
daemon Add META_MODE support. 2015-06-13 19:20:56 +00:00
dconschat dconschat(8): Use NULL instead of 0 for the last argument in execl(3) 2015-06-28 20:32:03 +00:00
devctl Fix formatting. 2015-07-16 05:14:20 +00:00
devinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
digictl Add META_MODE support. 2015-06-13 19:20:56 +00:00
diskinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
dumpcis Add META_MODE support. 2015-06-13 19:20:56 +00:00
editmap Add META_MODE support. 2015-06-13 19:20:56 +00:00
edquota Add META_MODE support. 2015-06-13 19:20:56 +00:00
eeprom META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
etcupdate Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
extattr Add META_MODE support. 2015-06-13 19:20:56 +00:00
extattrctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdformat Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdread Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdwrite Add META_MODE support. 2015-06-13 19:20:56 +00:00
fifolog Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
flowctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
freebsd-update Add --currently-running <release> option to freebsd-update. 2015-10-09 12:34:33 +00:00
fstyp Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
ftp-proxy Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
fwcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
getfmac Add META_MODE support. 2015-06-13 19:20:56 +00:00
getpmac Add META_MODE support. 2015-06-13 19:20:56 +00:00
gpioctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
gssd Increase group limit for kerberized NFSv4 2015-09-26 16:30:16 +00:00
gstat Use strlcpy() in favor of strncpy() as it's defined to have a nul character 2015-09-11 06:52:57 +00:00
hyperv Turn off gcc's uninitialized warnings for this code. They 2015-08-21 14:15:54 +00:00
i2c Perform I2C transmission in a single burst when mode is "none" or not set 2015-09-15 11:21:16 +00:00
ifmcstat Add META_MODE support. 2015-06-13 19:20:56 +00:00
inetd - Remove unused union p_un. 2015-09-19 23:48:06 +00:00
iostat Add META_MODE support. 2015-06-13 19:20:56 +00:00
iovctl Replace use of .Po Pc with the preferred .Pq for single line 2015-07-08 16:16:44 +00:00
ip6addrctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
ipfwpcap Add META_MODE support. 2015-06-13 19:20:56 +00:00
iscsid Remove a few unused headers. 2015-10-06 22:45:23 +00:00
jail Fix transposed words in man page. 2015-07-25 11:10:49 +00:00
jexec Run a shell in the jail when no command is specified. 2015-07-12 17:03:50 +00:00
jls Add META_MODE support. 2015-06-13 19:20:56 +00:00
kbdcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
kbdmap Add META_MODE support. 2015-06-13 19:20:56 +00:00
keyserv Add META_MODE support. 2015-06-13 19:20:56 +00:00
kgmon Add META_MODE support. 2015-06-13 19:20:56 +00:00
kgzip META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
kldxref Add debug file extension to kldxref(8) after r288176 2015-10-02 13:16:06 +00:00
lastlogin Add META_MODE support. 2015-06-13 19:20:56 +00:00
lmcconfig Add META_MODE support. 2015-06-13 19:20:56 +00:00
lpr Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
lptcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
mailstats Add META_MODE support. 2015-06-13 19:20:56 +00:00
mailwrapper Add META_MODE support. 2015-06-13 19:20:56 +00:00
makefs makefs(8) leaves sblock.fs_providersize uninitialized (zero) that can be easily 2015-10-13 17:00:14 +00:00
makemap Add META_MODE support. 2015-06-13 19:20:56 +00:00
manctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
memcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
mergemaster All supported releases have the -m support from r186678, so remove 2015-09-29 17:54:01 +00:00
mfiutil mfiutil: increase buffer size to accommodate sprintf string 2015-07-03 01:43:11 +00:00
mixer Add META_MODE support. 2015-06-13 19:20:56 +00:00
mld6query Add META_MODE support. 2015-06-13 19:20:56 +00:00
mlxcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount_smbfs META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
mountd Staticize some stuff in mountd(8); no functional changes. 2015-07-04 08:40:48 +00:00
moused Add META_MODE support. 2015-06-13 19:20:56 +00:00
mptable Add META_MODE support. 2015-06-13 19:20:56 +00:00
mptutil Add META_MODE support. 2015-06-13 19:20:56 +00:00
mtest Add META_MODE support. 2015-06-13 19:20:56 +00:00
mtree Add META_MODE support. 2015-06-13 19:20:56 +00:00
nandsim mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
nandtool Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndiscvt Fix crash on parsing some inf files 2015-09-22 16:59:41 +00:00
ndp rtsock requests for deleting interface address lles started to return EPERM 2015-09-27 04:54:29 +00:00
newsyslog Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
nfscbd Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfsd Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfsdumpstate Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfsrevoke Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfsuserd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ngctl ngctl dot: Drop invalid trailing semi-colon 2015-09-22 01:31:01 +00:00
nghook Add META_MODE support. 2015-06-13 19:20:56 +00:00
nmtree Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
nologin new depends 2015-06-16 23:37:19 +00:00
nscd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ntp Replace afterinstall: hack from r54681 with 'make delete-old' functionality. 2015-09-19 03:51:19 +00:00
nvram use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ofwdump META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
pc-sysinstall Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
pciconf Prefer pciids database from ports if present 2015-09-06 20:05:29 +00:00
periodic Add META_MODE support. 2015-06-13 19:20:56 +00:00
pkg Remove extra debug that crept in 2015-09-08 22:24:20 +00:00
pmcannotate Add META_MODE support. 2015-06-13 19:20:56 +00:00
pmccontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
pmcstat Fix for r288176 changes related to debug symbols move. 2015-10-08 09:46:35 +00:00
pmcstudy Rough first mdoc, spelling and grammar cleanup pass. 2015-03-26 15:54:54 +00:00
pnpinfo META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
portsnap Add META_MODE support. 2015-06-13 19:20:56 +00:00
powerd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ppp Use existing CONFDIR instead of adding a new CONFIGDIR 2015-10-11 19:25:39 +00:00
pppctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
praliases Add META_MODE support. 2015-06-13 19:20:56 +00:00
praudit Add META_MODE support. 2015-06-13 19:20:56 +00:00
procctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
pstat Add META_MODE support. 2015-06-13 19:20:56 +00:00
pw Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
pwd_mkdb Fix a few mandoc warnings. 2015-08-12 10:34:05 +00:00
quot Add META_MODE support. 2015-06-13 19:20:56 +00:00
quotaon Add META_MODE support. 2015-06-13 19:20:56 +00:00
rarpd Add META_MODE support. 2015-06-13 19:20:56 +00:00
repquota Add META_MODE support. 2015-06-13 19:20:56 +00:00
rip6query Add META_MODE support. 2015-06-13 19:20:56 +00:00
rmt Add META_MODE support. 2015-06-13 19:20:56 +00:00
route6d Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.lockd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.statd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.umntall Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.yppasswdd The rpc.yppasswdd has an option to not allow shell changes (-s), but is 2015-10-02 08:58:50 +00:00
rpc.ypupdated Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.ypxfrd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpcbind Reallocate a maxlen-long buffer only when the current maxlen is 2015-10-06 08:43:48 +00:00
rrenumd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rtadvctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
rtadvd Now that we own the code, use arc4random(3) unconditionally 2015-10-06 23:42:58 +00:00
rtprio Add META_MODE support. 2015-06-13 19:20:56 +00:00
rtsold Now that we own the code, use arc4random(3) unconditionally 2015-10-06 23:42:58 +00:00
rwhod Add META_MODE support. 2015-06-13 19:20:56 +00:00
sa Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
sendmail Temporarily disable WARNS while addressing a non-issue with the upstream code 2015-07-07 02:30:35 +00:00
service Add an additional check to service(8) -e incase rcvar is blank 2015-09-08 22:50:17 +00:00
services_mkdb Add META_MODE support. 2015-06-13 19:20:56 +00:00
sesutil Rename some functions and variables inside sesutil(8) to make gcc happy 2015-09-19 18:41:24 +00:00
setfib Add META_MODE support. 2015-06-13 19:20:56 +00:00
setfmac Add META_MODE support. 2015-06-13 19:20:56 +00:00
setpmac Add META_MODE support. 2015-06-13 19:20:56 +00:00
sicontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
smbmsg Add META_MODE support. 2015-06-13 19:20:56 +00:00
snapinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
spkrtest Add META_MODE support. 2015-06-13 19:20:56 +00:00
spray Add META_MODE support. 2015-06-13 19:20:56 +00:00
syslogd die() would never return, mark it as so. 2015-08-27 18:11:00 +00:00
sysrc Remove redundant beforeinstall. 2015-09-18 23:34:47 +00:00
tcpdchk Add META_MODE support. 2015-06-13 19:20:56 +00:00
tcpdmatch Add META_MODE support. 2015-06-13 19:20:56 +00:00
tcpdrop Add META_MODE support. 2015-06-13 19:20:56 +00:00
tcpdump MFV r285191: tcpdump 4.7.4. 2015-07-08 16:19:32 +00:00
tests Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
timed Add META_MODE support. 2015-06-13 19:20:56 +00:00
traceroute Add META_MODE support. 2015-06-13 19:20:56 +00:00
traceroute6 Add META_MODE support. 2015-06-13 19:20:56 +00:00
trpt Check and fail if drop of privileges failed. 2015-09-01 06:32:02 +00:00
tzsetup Use chroot(2) instead of using prefixes for files. 2015-10-13 22:55:17 +00:00
uathload Add META_MODE support. 2015-06-13 19:20:56 +00:00
uefisign uefisign(8) ships with 10.2. 2015-07-18 12:03:17 +00:00
ugidfw Add META_MODE support. 2015-06-13 19:20:56 +00:00
uhsoctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
unbound Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
usbconfig Add META_MODE support. 2015-06-13 19:20:56 +00:00
usbdump Add META_MODE support. 2015-06-13 19:20:56 +00:00
utx Add META_MODE support. 2015-06-13 19:20:56 +00:00
vidcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
vigr Add missing CLEANFILES. 2015-09-24 23:15:24 +00:00
vipw Add META_MODE support. 2015-06-13 19:20:56 +00:00
wake Fix a few mandoc warnings. 2015-08-12 10:34:05 +00:00
watch Use strlcpy() when the string is expected to be nul-terminated. 2015-10-06 22:49:25 +00:00
watchdogd Add a new exit-timeout option to watchdogd. 2015-08-19 21:46:12 +00:00
wlandebug Belatedly fix documentation on which interface to use as argument. 2015-08-17 09:18:54 +00:00
wlconfig META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
wpa Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
yp_mkdb Staticfy and constify some variables and clean up the code a bit to make it 2015-07-28 02:32:40 +00:00
ypbind Fix a warning spotted by gcc4.9: dereferencing type-punned pointer will break 2015-07-16 02:34:22 +00:00
yppoll Update META_MODE dependencies. 2015-09-17 05:06:34 +00:00
yppush Staticfy and constify some variables and clean up the code a bit to make it 2015-07-28 02:32:40 +00:00
ypserv Sync ypwhich(1) code with the OpenBSD version that is more modern. 2015-08-25 15:27:32 +00:00
ypset Rename YP to NIS in the manpages. 2015-09-03 07:18:52 +00:00
zic Add META_MODE support. 2015-06-13 19:20:56 +00:00
zzz Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile Revert r288268. Wrong change committed. 2015-09-26 14:27:21 +00:00
Makefile.amd64 Add MK_BHYVE knob for building and installing bhyve(4), et al 2015-01-26 06:44:48 +00:00
Makefile.arm
Makefile.arm64 Also build ofwdump on arm64. 2015-10-01 09:40:33 +00:00
Makefile.i386 Disable hyperv on pc98. 2014-10-18 08:07:17 +00:00
Makefile.inc
Makefile.mips Build ofwdump(8) on MIPS too 2015-09-25 20:26:59 +00:00
Makefile.powerpc
Makefile.sparc64