summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_socket.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-22 17:05:04 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-22 17:05:04 +0000
commitd37648bc1fa202ca6ba0cfb549bdd91c0e4d916c (patch)
tree3146046dd3d76d114a26fe68bd3f5d2b11ed01c7 /sys/kern/sys_socket.c
parent01be595ab33612b855914baf3ef7b67166cbe2ed (diff)
downloadFreeBSD-src-d37648bc1fa202ca6ba0cfb549bdd91c0e4d916c.zip
FreeBSD-src-d37648bc1fa202ca6ba0cfb549bdd91c0e4d916c.tar.gz
suser() accepts a thread argument; as suser() dereferences td_ucred, a
thread-local pointer, in practice that thread needs to be curthread. If we're running with INVARIANTS, generate a warning if not. If we have KDB compiled in, generate a stack trace. This doesn't fire at all in my local test environment, but could be irritating if it fires frequently for someone, so there will be motivation to fix things quickly when it does.
Diffstat (limited to 'sys/kern/sys_socket.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud