Home
last modified time | relevance | path

Searched refs:so_peercred (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockcommon.c462 so->so_peercred = NULL; in sonode_constructor()
515 ASSERT(so->so_peercred == NULL); in sonode_destructor()
583 ASSERT(so->so_peercred == NULL); in sonode_init()
649 if (so->so_peercred != NULL) { in sonode_fini()
650 crfree(so->so_peercred); in sonode_fini()
651 so->so_peercred = NULL; in sonode_fini()
H A Dsockstr.c873 if (so->so_peercred != NULL) { in soisdisconnected()
874 crfree(so->so_peercred); in soisdisconnected()
875 so->so_peercred = NULL; in soisdisconnected()
2229 if (so->so_peercred != NULL) in strsock_proto()
2230 crfree(so->so_peercred); in strsock_proto()
2231 so->so_peercred = msg_getcred(mp, &so->so_cpid); in strsock_proto()
2232 if (so->so_peercred != NULL) in strsock_proto()
2233 crhold(so->so_peercred); in strsock_proto()
H A Dsockcommon_subr.c1536 } else if (so->so_peercred != NULL) { in socket_ioctl_common()
1538 kp->pc_cr = so->so_peercred; in socket_ioctl_common()
1540 crhold(so->so_peercred); in socket_ioctl_common()
2233 VERIFY(cur->so_peercred == orig->so_peercred); in so_integrity_check()
H A Dsockcommon_sops.c1023 if (so->so_peercred != NULL) in so_connected()
1024 crfree(so->so_peercred); in so_connected()
1026 so->so_peercred = peer_cred; in so_connected()
1138 nso->so_peercred = peer_cred; in so_newconn()
H A Dsocktpi.c1808 nso->so_peercred = cr; in sotpi_accept()
1831 nso->so_peercred = msg_extractcred(mp, &nso->so_cpid); in sotpi_accept()
5947 } else if (so->so_peercred != NULL) { in sotpi_ioctl()
5949 kp->pc_cr = so->so_peercred; in sotpi_ioctl()
5951 crhold(so->so_peercred); in sotpi_ioctl()
/titanic_41/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c1535 } else if (so->so_peercred != NULL) { in sosctp_ioctl()
1537 kp->pc_cr = so->so_peercred; in sosctp_ioctl()
1539 crhold(so->so_peercred); in sosctp_ioctl()
/titanic_41/usr/src/uts/common/sys/
H A Dsocketvar.h196 cred_t *so_peercred; /* connected socket peer cred */ member