]> CyberLeo.Net >> Repos - FreeBSD/stable/8.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)
commitd26b4a57aa3fbdc87d43329905b253ca6a355e6a
tree4306ffcfe3f9fa933ee175bca0c97d4ba583702b
parent9e6cd4331bcd89eff3f265bbc3c885c0cf1e1478
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/8@242164 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