freebsd-nq/usr.sbin
Eitan Adler 1d1d4a4727 Check the return error of set[ug]id. While this can never fail in the
current version of FreeBSD, this isn't guarenteed by the API.  Custom
security modules, or future implementations of the setuid and setgid
may fail.

PR:		bin/172289
PR:		bin/172290
PR:		bin/172291
Submittud by:	Erik Cederstrand <erik@cederstrand.dk>
Discussed by:	freebsd-security
Approved by:	cperciva
MFC after:	1 week
2012-10-22 03:31:22 +00:00
..
ac
accton
acpi
adduser
amd
ancontrol
apm
apmd
arp
arpaname
asf
audit
auditd
auditreduce
authpf
bluetooth
boot0cfg
boot98cfg
bootparamd
bsdconfig
bsdinstall
bsnmpd
btxld
burncd
cdcontrol
chkgrp
chown
chroot
ckdist
clear_locks
config
cpucontrol
crashinfo
cron
crunch
ctladm
ctm
daemon
dconschat
ddns-confgen
devinfo
digictl
diskinfo
dnssec-dsfromkey
dnssec-keyfromlabel
dnssec-keygen
dnssec-revoke
dnssec-settime
dnssec-signzone
dumpcis
editmap
edquota
eeprom
etcupdate
extattr
extattrctl
faithd
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
freebsd-update
ftp-proxy
fwcontrol
genrandom
getfmac
getpmac
gpioctl
gssd
gstat
i2c
ifmcstat
inetd
iostat
ip6addrctl
ipfwpcap
IPXrouted
isc-hmac-fixup
isfctl
jail
jexec
jls
kbdcontrol
kbdmap
keyserv
kgmon
kgzip
kldxref
lastlogin
lmcconfig
lpr
lptcontrol
mailstats
mailwrapper
makefs
makemap
manctl
memcontrol
mergemaster
mfiutil
mixer
mld6query
mlxcontrol
mount_nwfs
mount_portalfs
mount_smbfs
mountd
moused
mptable
mptutil
mtest
mtree
named
named-checkconf
named-checkzone
named-journalprint
nandsim
nandtool
ndiscvt
ndp
newsyslog
nfscbd
nfsd
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nologin
nscd
nsec3hash
ntp
nvram
ofwdump
pc-sysinstall
pciconf
periodic
pkg
pkg_install
pmcannotate
pmccontrol
pmcstat
pnpinfo
portsnap
powerd
ppp
pppctl
praliases
praudit
procctl
pstat
pw
pwd_mkdb
quot
quotaon
rarpd
repquota
rip6query
rmt
rndc
rndc-confgen
route6d
rpc.lockd
rpc.statd
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl
rtadvd
rtprio
rtsold
rwhod
sa
sade
sendmail
service
services_mkdb
setfib
setfmac
setpmac
sicontrol
smbmsg
snapinfo
spkrtest
spray
syslogd
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump
timed
traceroute
traceroute6
trpt
tzsetup
uathload
ugidfw
uhsoctl
usbconfig
usbdump
utx
vidcontrol
vipw
wake
watch
watchdogd
wlandebug
wlconfig
wpa
yp_mkdb
ypbind
yppoll
yppush
ypserv
ypset
zic
zzz
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64