diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-22 03:31:22 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-22 03:31:22 +0000 |
commit | 4bc19b04c5658de751c40ddf1399ab0dd1d895e7 (patch) | |
tree | 3aa86a2f61ac3b57647e44878110dc60da9069e7 /libexec/atf | |
parent | f4d42efdb90dc9f022d3764a5d1ddcfe4a846713 (diff) | |
download | FreeBSD-src-4bc19b04c5658de751c40ddf1399ab0dd1d895e7.zip FreeBSD-src-4bc19b04c5658de751c40ddf1399ab0dd1d895e7.tar.gz |
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
Diffstat (limited to 'libexec/atf')
0 files changed, 0 insertions, 0 deletions