summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib/t_exit.c
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2014-10-04 08:08:56 +0000
committermjg <mjg@FreeBSD.org>2014-10-04 08:08:56 +0000
commitc0fe514f041daa8ac93204d67c4261bb177c2668 (patch)
treeede37a195fc624ef66a60c214495b63c37f05678 /contrib/netbsd-tests/lib/libc/stdlib/t_exit.c
parent64595536f12e0c6835b51d11556e9fda8cc7596d (diff)
downloadFreeBSD-src-c0fe514f041daa8ac93204d67c4261bb177c2668.zip
FreeBSD-src-c0fe514f041daa8ac93204d67c4261bb177c2668.tar.gz
Plug capability races.
fp and appropriate capability lookups were not atomic, which could result in improper capabilities being checked. This could result either in protection bypass or in a spurious ENOTCAPABLE. Make fp + capability check atomic with the help of sequence counters. Reviewed by: kib MFC after: 3 weeks
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/t_exit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud