diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-07-10 13:31:11 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-07-10 13:31:11 +0000 |
commit | 078b704233f7475fde72cacc4f843c8a2a312bba (patch) | |
tree | 465d7c3dd198bb4a6aefe767a4b80dc63c877b5a /sys/netinet/in_pcb.h | |
parent | dd99983988a1e40f0d94a8fe20c2003e76a6237f (diff) | |
download | src-078b704233f7475fde72cacc4f843c8a2a312bba.tar.gz src-078b704233f7475fde72cacc4f843c8a2a312bba.zip |
Pass the ucred along into in{,6}_pcblookup_local for upcoming
prison checks.
Reviewed by: rwatson
Notes
Notes:
svn path=/head/; revision=180427
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r-- | sys/netinet/in_pcb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index b72d1e5c2210..d41284356d4b 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -452,7 +452,7 @@ void in_pcbfree(struct inpcb *); int in_pcbinshash(struct inpcb *); struct inpcb * in_pcblookup_local(struct inpcbinfo *, - struct in_addr, u_short, int); + struct in_addr, u_short, int, struct ucred *); struct inpcb * in_pcblookup_hash(struct inpcbinfo *, struct in_addr, u_int, struct in_addr, u_int, int, struct ifnet *); |