freebsd-dev/usr.sbin
Martin Matuska d637f5bf9a Try resolving jail path with realpath(3).
jail(8) does a chdir(2) to the given path argument. Kernel evaluates the
jail path from the new cwd and not from the original cwd, which leads to
undesired behavior if given a relative path.

Reviewed by:	jamie
MFC after:	2 weeks
2012-01-24 08:04:38 +00:00
..
ac Fix double ;; 2010-12-06 10:24:06 +00:00
accton The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
acpi Remove unused ACPICA sources from userland makefiles. 2012-01-13 22:16:47 +00:00
adduser Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
amd MFtbemd: 2010-08-23 22:24:11 +00:00
ancontrol Remove duplicated header files 2011-06-24 07:05:20 +00:00
apm Mark global functions and/or variables in apm(8) static where possible. 2011-11-06 19:01:30 +00:00
apmd Don't generate input() since it's not used. 2010-11-22 14:16:22 +00:00
arp Do not hardcode (20*60), but use current ARP timeout value configured 2010-11-30 16:14:19 +00:00
arpaname bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
asf mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
audit The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
auditd Fixed static linkage. 2010-02-26 09:41:16 +00:00
auditreduce The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
authpf The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
bluetooth Touch up some more small typos missed in the previous round. 2012-01-05 21:36:45 +00:00
boot0cfg Allow boot0cfg to force a PXE boot via boot0 on the next boot. 2011-12-20 15:19:29 +00:00
boot98cfg
bootparamd Fix warning when compiling with gcc46: 2012-01-20 01:39:26 +00:00
bsdinstall Warn if trying to install over an existing partition, which usually fails 2012-01-18 15:59:23 +00:00
bsnmpd Implement an option to execute SNMP walks using GETBULK requests in bsnmpwalk(1) 2012-01-10 15:29:03 +00:00
btxld The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
burncd Reencode files to UTF-8. Drop CP1252 em-dash. 2011-12-30 00:59:08 +00:00
cdcontrol Make all functions and global variables static for cdcontrol(8). 2011-11-06 16:52:26 +00:00
chkgrp Reencode files to UTF-8. Drop CP1252 em-dash. 2011-12-30 00:59:08 +00:00
chown Mark global functions and/or variables in chown(8) static where possible. 2011-11-06 19:01:41 +00:00
chroot Eliminate global variables. 2011-11-06 16:40:17 +00:00
ckdist mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
clear_locks mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
config Fix copyright year 2012-01-13 09:08:41 +00:00
cpucontrol Fix warning when compiling with gcc46: 2012-01-20 01:39:16 +00:00
crashinfo Teach crashinfo(8) to look at the currently running kernel (based on the 2010-11-30 16:04:40 +00:00
cron Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
crunch mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
ctladm Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
ctm In usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c, cast a printf field width 2011-12-17 20:07:42 +00:00
daemon Allow daemon(8) to run pidfile_open() before relenquishing privileges 2012-01-05 22:48:36 +00:00
dconschat mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
ddns-confgen bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
devinfo Mark global functions and/or variables in devinfo(8) static where possible. 2011-11-06 19:01:48 +00:00
digictl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
diskinfo Fix diskinfo -t operation for disks smaller then 8GB or bigger then 2TB. 2011-07-21 19:39:40 +00:00
dnssec-dsfromkey The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-keyfromlabel The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-keygen The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-revoke bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
dnssec-settime bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
dnssec-signzone bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
dumpcis The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
editmap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
edquota Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
eeprom The NetBSD Foundation has given permission to remove clause 3 and 4 2010-02-16 21:47:05 +00:00
extattr extattr: Fix a signed/unsigned issue 2010-05-12 21:25:05 +00:00
extattrctl Close fd in initattr() and showattr(). 2010-12-08 10:27:07 +00:00
faithd Fix warning when compiling with gcc46: 2012-01-20 01:39:08 +00:00
fdcontrol mdoc: Remove leading garbage, empty lines and order preamble 2010-05-27 13:56:19 +00:00
fdformat The FD_FORM ioctl used to ignore errors from the floppy controller; now when 2011-02-21 09:56:08 +00:00
fdread Mark global functions and/or variables in fdread(8) static where possible. 2011-11-06 19:01:54 +00:00
fdwrite mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
fifolog Another couple of unsigned/ssize_t changes. 2011-03-01 08:52:10 +00:00
flowctl Conditionally compile in the IPv4/IPv6 address family support. 2011-07-06 15:18:32 +00:00
freebsd-update Add '%' and '@' to the set of characters which can appear in path names. 2011-10-23 06:23:11 +00:00
ftp-proxy Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
fwcontrol Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
genrandom bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
getfmac The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
getpmac The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
gpioctl Bump the date of the man page to the date of the actual commit. 2011-05-25 21:04:11 +00:00
gssd mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
gstat The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
i2c Fix warning when compiling with gcc46: 2012-01-20 01:38:44 +00:00
ifmcstat Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
inetd Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
iostat In usr.sbin/iostat/iostat.c, use printf format specifiers from 2011-12-17 20:25:23 +00:00
ip6addrctl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ipfwpcap Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
IPXrouted Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
isc-hmac-fixup bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
jail Try resolving jail path with realpath(3). 2012-01-24 08:04:38 +00:00
jexec The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
jls Fix jls backward compat mode broken in r222465, correctly 2011-08-13 13:49:11 +00:00
kbdcontrol Reencode files to UTF-8. Drop CP1252 em-dash. 2011-12-30 00:59:08 +00:00
kbdmap Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
keyserv In usr.sbin/keyserv, fix some implicit enum conversions, and use the 2011-12-17 20:53:06 +00:00
kgmon Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
kgzip
kldxref Reencode files to UTF-8. Drop CP1252 em-dash. 2011-12-30 00:59:08 +00:00
lastlogin Allow custom files to be opened and allow sorting by timestamp. 2011-06-06 18:40:01 +00:00
lmcconfig lmcconfig(8): bump to WARNS=3, fix typo in usage while here 2010-12-20 19:08:15 +00:00
lpr fgets(3) returns a pointer, so compare against NULL, not integer 0. 2012-01-13 06:51:15 +00:00
lptcontrol The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mailstats The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mailwrapper Create the /bin/rmail symlink (which mailers such as postfix 2010-10-12 21:01:26 +00:00
makefs Fix warning when compiling with gcc46: 2012-01-20 01:38:35 +00:00
makemap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
manctl
memcontrol Mark global functions and/or variables in memcontrol(8) static where possible. 2011-11-06 19:01:59 +00:00
mergemaster If using DISTDIR we need to be sure to create a ${DESTDIR}/var/db/zoneinfo 2011-11-29 08:22:12 +00:00
mfiutil Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP 2011-12-05 15:11:35 +00:00
mixer Mark global functions and/or variables in mixer(8) static where possible. 2011-11-06 19:02:13 +00:00
mld6query Add __unused. Ansi prototypes. 2010-12-20 08:54:30 +00:00
mlxcontrol Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
mount_nwfs mount_nwfs(8): make WARNS=6 clean 2010-03-04 16:07:14 +00:00
mount_portalfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_smbfs The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mountd Fix warning when compiling with gcc46: 2012-01-20 01:38:12 +00:00
moused Fix warning when compiling with gcc46: 2012-01-20 01:38:05 +00:00
mptable Add an missing argument to open(2). If O_CREAT flag is specified, 2012-01-04 07:04:43 +00:00
mptutil Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
mtest Don't die if either of INET or INET6 aren't in the running kernel. 2011-06-24 17:54:45 +00:00
mtree Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
named Upgrade to BIND version 9.8.1. Release notes at: 2011-09-03 07:13:45 +00:00
named-checkconf bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
named-checkzone The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
named-journalprint bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
ndiscvt Use NO_WCAST_ALIGN for usr.sbin/ndiscvt; because this is only built for 2011-12-17 22:16:27 +00:00
ndp - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
newsyslog Further fix a typo and spelling classic correctly in function names, 2012-01-05 21:36:36 +00:00
nfscbd Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
nfsd Remove duplicated header files 2011-06-24 07:05:20 +00:00
nfsdumpstate Fix handling of the "-l" argument for nfsdumpstate(8). 2010-07-20 00:32:11 +00:00
nfsrevoke Code cleanup for nfs4 utilities: 2009-05-29 22:19:45 +00:00
nfsuserd Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload the 2011-06-21 21:07:33 +00:00
ngctl Add __unused. Ansi prototypes. 2010-12-20 09:36:54 +00:00
nghook The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
nologin
nscd Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
nsec3hash bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
ntp Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
nvram The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ofwdump The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pc-sysinstall Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
pciconf Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
periodic mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
pkg_install X11BASE has been deprecated for a long time and will die soon 2012-01-09 00:48:19 +00:00
pmcannotate Fix a grammatical error connected to the previous commit. 2010-10-16 17:30:27 +00:00
pmccontrol In usr.sbin/pmccontrol/pmccontrol.c, fix a few warnings about format 2011-12-17 23:39:13 +00:00
pmcstat Fix warning when compiling with gcc46: 2012-01-20 01:37:56 +00:00
pnpinfo The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
portsnap Fix spelling of extract. 2011-11-13 06:39:49 +00:00
powerd Add missing static keyword. 2011-12-11 19:22:42 +00:00
ppp Fix warning when compiling with gcc46: 2012-01-20 01:37:49 +00:00
pppctl mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
praliases The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
praudit The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
procctl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pstat Get rid of major/minor number distinction. 2011-09-28 18:53:36 +00:00
pw Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
pwd_mkdb Mark global functions and/or variables in pwd_mkdb(8) static where possible. 2011-11-06 19:02:25 +00:00
quot The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities 2011-01-24 06:17:05 +00:00
quotaon Simply use getprogname() to obtain the name of the process. 2012-01-03 11:08:58 +00:00
rarpd Fix warning when compiling with gcc46: 2012-01-20 01:37:23 +00:00
repquota Debugging nits found while testing the new 64-bit quota code. 2010-03-16 06:12:30 +00:00
rip6query Mark global functions and/or variables in rip6query(8) static where possible. 2011-11-06 19:02:31 +00:00
rmt Mark global functions and/or variables in rmt(8) static where possible. 2011-11-06 19:02:37 +00:00
rndc bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
rndc-confgen bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
route6d Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
rpc.lockd Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
rpc.statd Fix the nfs related daemons so that they don't intermittently 2011-06-02 20:15:32 +00:00
rpc.umntall The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.yppasswdd Remove duplicated header files 2011-06-24 07:05:20 +00:00
rpc.ypupdated In usr.sbin/rpc.ypupdated/yp_dbupdate.c, since intmax_t is signed, just 2011-12-18 00:55:46 +00:00
rpc.ypxfrd Spelling fixes. 2010-08-01 09:37:36 +00:00
rpcbind Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
rrenumd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rtadvctl - Fix a bug that can lead to displaying an incorrect value. (r224210) 2011-09-12 23:52:55 +00:00
rtadvd Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
rtprio - Fail when the utility is not invoked as rtprio nor idprio. 2011-12-27 20:03:57 +00:00
rtsold Fix warning when compiling with gcc46: 2012-01-20 01:38:52 +00:00
rwhod Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
sa In usr.sbin/sa/db.c, avoid warnings about assigning two const char 2011-12-18 01:08:25 +00:00
sade Fix warning when compiling with gcc46: 2012-01-20 01:39:01 +00:00
sendmail Unfortunately, clang gives warnings about sendmail code that cannot be 2011-12-19 13:35:44 +00:00
service Fix a silly typo on my part. 2011-08-06 09:11:30 +00:00
services_mkdb Revise markup, mainly. 2010-10-05 06:31:11 +00:00
setfib Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
setfmac mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
setpmac mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
sicontrol Remove sicontrol(8)'s "ttystat". 2008-06-09 08:43:27 +00:00
smbmsg mdoc: Remove leading garbage, empty lines and order preamble 2010-05-27 13:56:19 +00:00
snapinfo Mark global functions and/or variables in snapinfo(8) static where possible. 2011-11-06 19:02:43 +00:00
spkrtest Update spkrtest(8) to use new dialog auto-sizing syntax. 2011-01-13 17:30:18 +00:00
spray Mark global functions and/or variables in spray(8) static where possible. 2011-11-06 19:02:49 +00:00
syslogd Add a new option, -N to disable the default and recommended syslogd(8) 2011-07-14 07:33:53 +00:00
tcpdchk The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
tcpdmatch The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
tcpdrop Include param.h for CACHE_LINE_SIZE to unbreak the build. 2011-06-06 17:07:38 +00:00
tcpdump Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
timed fgets(3) returns a pointer, so compare against NULL, not integer 0. 2012-01-13 06:51:15 +00:00
traceroute traceroute(8): make WARNS=3 clean 2010-12-04 14:19:27 +00:00
traceroute6 Remove the advertising clause from UCB copyrighted files in usr.sbin. This 2010-12-11 09:38:12 +00:00
trpt Fix LLVM compiler errors related to K&R declarations with ANSI prototypes. 2009-02-26 20:59:05 +00:00
tzsetup Fix #ifdef VERBOSE for UTC case 2012-01-18 04:37:35 +00:00
uathload Only use -z noexecstack for these explicit arches: i386, amd64, powerpc 2011-02-16 21:04:47 +00:00
ugidfw Fix a couple of typos. 2010-07-30 11:58:18 +00:00
uhsoctl Add an missing argument to open(2). If O_CREAT flag is specified, 2012-01-04 07:21:37 +00:00
usbconfig - Correct USB 3.0 wire-speed to 5.0Gbps 2011-02-26 09:28:52 +00:00
usbdump Make the usbdump utility work again by using the correct BPF structures. 2011-10-17 15:54:20 +00:00
utxrm Add a utility, utxrm(8). 2011-02-19 11:44:04 +00:00
vidcontrol Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
vipw The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wake Anything that casts struct sockaddr * to struct sockaddr_foo is safe 2010-02-09 17:16:13 +00:00
watch Convert the snp(4) driver to use cdevpriv. 2008-08-15 13:07:07 +00:00
watchdogd Protect the watchdog daemon against swap OOM killer. This is similar to 2010-09-26 01:45:33 +00:00
wlandebug The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wlconfig The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wpa Add missing line continuation \. It did not cause any issue because 2012-01-18 02:44:22 +00:00
yp_mkdb In usr.sbin/yp_mkdb/yp_mkdb.c, cast some printf field width parameters 2011-12-19 20:44:44 +00:00
ypbind Protect NIS client with madvise(2) since this daemon is required 2011-10-24 14:35:31 +00:00
yppoll The NetBSD Foundation has given permission to remove clause 3 and 4 2010-02-16 21:47:05 +00:00
yppush The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ypserv Revert changes in r228790. It prevented the ypserv daemon from working with 2012-01-17 20:39:33 +00:00
ypset The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
zic wollman@ has OK'd dropping his maintainership of zic(8) 2010-03-20 11:05:11 +00:00
zzz
Makefile Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
Makefile.amd64 Build sade on amd64 as well as i386 and sparc64. 2010-12-09 11:37:40 +00:00
Makefile.arm Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00
Makefile.i386 Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00
Makefile.ia64 Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00
Makefile.inc The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
Makefile.mips Fix n32 compile. 2011-01-27 14:16:12 +00:00
Makefile.powerpc Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00
Makefile.sparc64 Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00