diff options
Diffstat (limited to 'sys/sys/unpcb.h')
-rw-r--r-- | sys/sys/unpcb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/sys/unpcb.h b/sys/sys/unpcb.h index 7363e5e47d03..9583da646d81 100644 --- a/sys/sys/unpcb.h +++ b/sys/sys/unpcb.h @@ -166,4 +166,13 @@ struct xunpgen { } __aligned(8);; #endif /* _SYS_SOCKETVAR_H_ */ +#if defined(_KERNEL) +struct thread; + +/* In uipc_userreq.c */ +void +unp_copy_peercred(struct thread *td, struct unpcb *client_unp, + struct unpcb *server_unp, struct unpcb *listen_unp); +#endif + #endif /* _SYS_UNPCB_H_ */ |