]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r241848:
authoreadler <eadler@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 27 Oct 2012 01:20:48 +0000 (01:20 +0000)
committereadler <eadler@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 27 Oct 2012 01:20:48 +0000 (01:20 +0000)
commiteff257c57f31d1dcdc91facff630bc32c1b200df
tree8217da9bd2248b4d8f7c616b0c76a62eaf1d06d7
parent4004c7054ffb1597f36cb058c126c72d8616bbf3
MFC r241848:
Check the return error of set[e][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.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@242166 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libexec/tftpd/tftpd.c
sbin/ccdconfig/ccdconfig.c
sbin/restore/tape.c
usr.bin/lock/lock.c
usr.bin/msgs/msgs.c
usr.bin/wall/wall.c
usr.sbin/edquota/edquota.c
usr.sbin/kgmon/kgmon.c