diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2008-10-14 18:27:30 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2008-10-14 18:27:30 +0000 |
commit | 842c943d0b9533fb5f723d2e8d941739ee0898a8 (patch) | |
tree | 4d960b53281ef12ca29875d02b3074b0e8c3d260 /sys/netbt/sco_socket.c | |
parent | 92fa2f6c129706b56b14aa9120b49ced73d4a6ab (diff) |
Back-in; problems were apparently elsewhere.
Put a reference count in struct process to prevent use-after-free
if the main thread reaches the reaper ahead of some other thread
in the process. Use the reference count to update the user process
count correctly when changin real uid.
"please re-commit before something else nasty comes in" deraadt@
Diffstat (limited to 'sys/netbt/sco_socket.c')
0 files changed, 0 insertions, 0 deletions