summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-09-20 21:45:31 +0000
committerrwatson <rwatson@FreeBSD.org>2001-09-20 21:45:31 +0000
commit7a4775391d50e1c0b95b4257c27f6ddac5045127 (patch)
treea91305fc979ebb58f26db42285a18e470210a797 /sys/netinet/tcp_subr.c
parent151b089e557038e96bc55875ed62c5ea7a30da37 (diff)
downloadFreeBSD-src-7a4775391d50e1c0b95b4257c27f6ddac5045127.zip
FreeBSD-src-7a4775391d50e1c0b95b4257c27f6ddac5045127.tar.gz
o Rename u_cansee() to cr_cansee(), making the name more comprehensible
in the face of a rename of ucred to cred, and possibly generally. Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 8896f3f..b575415 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));
OpenPOWER on IntegriCloud