diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-11-08 02:13:18 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-11-08 02:13:18 +0000 |
| commit | ce17880650c885f827d45b3d783bffcb2ba5e198 (patch) | |
| tree | f48964de5180c6b27c3272456da3b93d16bd1ea3 /sys/kern/uipc_usrreq.c | |
| parent | fd471588f4bae1dea4a29b2550400500c2de4aca (diff) | |
Notes
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
| -rw-r--r-- | sys/kern/uipc_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index c8dc5fc4adf9..b8b7044e7137 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -850,7 +850,7 @@ unp_pcblist(SYSCTL_HANDLER_ARGS) for (unp = LIST_FIRST(head), i = 0; unp && i < n; unp = LIST_NEXT(unp, unp_link)) { if (unp->unp_gencnt <= gencnt) { - if (cr_cansee(req->p->p_ucred, + if (cr_cansee(req->td->td_proc->p_ucred, unp->unp_socket->so_cred)) continue; unp_list[i++] = unp; |
