summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.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/udp_usrreq.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/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 4af1870..a9efeab 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -641,7 +641,7 @@ udp_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