diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-09-20 21:45:31 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-09-20 21:45:31 +0000 |
| commit | 94088977c94a44e63547af4152b92f9acd6da507 (patch) | |
| tree | a91305fc979ebb58f26db42285a18e470210a797 /sys/netinet/tcp_subr.c | |
| parent | e492f0350512c569572be909228bbb7421e90097 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
| -rw-r--r-- | sys/netinet/tcp_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 8896f3f400e2..b575415632fa 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -922,7 +922,7 @@ tcp_getcred(SYSCTL_HANDLER_ARGS) error = ENOENT; goto out; } - error = u_cansee(req->p->p_ucred, inp->inp_socket->so_cred); + error = cr_cansee(req->p->p_ucred, inp->inp_socket->so_cred); if (error) goto out; bzero(&xuc, sizeof(xuc)); @@ -978,7 +978,7 @@ tcp6_getcred(SYSCTL_HANDLER_ARGS) error = ENOENT; goto out; } - error = u_cansee(req->p->p_ucred, inp->inp_socket->so_cred); + error = cr_cansee(req->p->p_ucred, inp->inp_socket->so_cred); if (error) goto out; bzero(&xuc, sizeof(xuc)); |
