diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-04-18 11:51:18 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-04-18 11:51:18 +0000 |
commit | 0a8d233b5a2f60bcd449b707cc466d17560dec34 (patch) | |
tree | 2e60f99714a1681f8961c7ac537c7791334ec02e /sys/dev/vscsivar.h | |
parent | c69678059df7cbd9d0d400a81c0b2430847a6436 (diff) |
Have each thread keeps its own (counted!) reference to the process's ucreds
to avoid possible use-after-free references when swapping ids in threaded
processes. "Do I have the right creds?" checks are always made with the
threads creds.
Inspired by FreeBSD and NetBSD
"right time" deraadt@
Diffstat (limited to 'sys/dev/vscsivar.h')
0 files changed, 0 insertions, 0 deletions