40#include <sys/kernel.h>
44#include <sys/socket.h>
51#include <security/audit/audit.h>
52#include <security/mac/mac_framework.h>
63 error = prison_check(cred, inp->
inp_cred);
68 error = mac_inpcb_check_visible(cred, inp);
72 if (cr_canseeotheruids(cred, inp->
inp_cred))
74 if (cr_canseeothergids(cred, inp->
inp_cred))
#define INP_LOCK_ASSERT(inp)
int cr_canseeinpcb(struct ucred *cred, struct inpcb *inp)