Home
last modified time | relevance | path

Searched refs:ioc_cr (Results 1 – 25 of 42) sorted by relevance

12

/titanic_44/usr/src/uts/common/inet/
H A Dnd.c100 err = (*nde->nde_get_pfi)(q, mp1, nde->nde_data, iocp->ioc_cr); in nd_getset()
123 if ((iocp->ioc_cr != NULL) && in nd_getset()
124 ((err = secpolicy_ip_config(iocp->ioc_cr, B_FALSE)) in nd_getset()
127 nde->nde_data, iocp->ioc_cr); in nd_getset()
145 nd_get_default(queue_t *q, MBLKP mp, caddr_t data, cred_t *ioc_cr) in nd_get_default() argument
160 nd_get_long(queue_t *q, MBLKP mp, caddr_t data, cred_t *ioc_cr) in nd_get_long() argument
171 nd_get_names(queue_t *q, MBLKP mp, caddr_t nd_param, cred_t *ioc_cr) in nd_get_names() argument
285 nd_set_default(queue_t *q, MBLKP mp, char *value, caddr_t data, cred_t *ioc_cr) in nd_set_default() argument
292 nd_set_long(queue_t *q, MBLKP mp, char *value, caddr_t data, cred_t *ioc_cr) in nd_set_long() argument
/titanic_44/usr/src/uts/common/io/
H A Dvcons.c910 tem_set_fbmode(pvc->vc_tem, (uchar_t)arg, iocp->ioc_cr); in vt_ioctl()
963 if ((error = secpolicy_console(iocp->ioc_cr)) != 0) in vt_ioctl()
988 error = vt_reldisp(pvc, arg, iocp->ioc_cr); in vt_ioctl()
993 if ((error = secpolicy_console(iocp->ioc_cr)) != 0) in vt_ioctl()
1002 if ((error = secpolicy_console(iocp->ioc_cr)) != 0) in vt_ioctl()
1006 error = vt_activate(arg, iocp->ioc_cr); in vt_ioctl()
1061 if ((error = secpolicy_console(iocp->ioc_cr)) != 0) in vt_ioctl()
1102 if ((error = secpolicy_console(iocp->ioc_cr)) != 0) in vt_ioctl()
1118 if ((error = secpolicy_console(iocp->ioc_cr)) != 0) in vt_ioctl()
H A Dpckt.c620 caddr32_t ioc_cr; in add_ctl_info() member
640 niocblk_32.ioc_cr = (caddr32_t)(uintptr_t) in add_ctl_info()
641 iocblk_64->ioc_cr; in add_ctl_info()
H A Ddedump.c141 "err %d\n", hdr, ic->ioc_cmd, (void *)ic->ioc_cr, ic->ioc_id, in dedump_iocblk()
H A Dwscons.c795 if ((iocp->ioc_error = secpolicy_console(iocp->ioc_cr)) != 0) in wcioctl()
823 iocp->ioc_cr); in wcioctl()
868 if ((iocp->ioc_error = secpolicy_console(iocp->ioc_cr)) != 0) in wcioctl()
H A Dptm.c529 if ((error = drv_priv(iocp->ioc_cr)) != 0) { in ptmwput()
H A Dkbd.c749 iocp->ioc_cr); in kbdioctl()
771 iocp->ioc_cr); in kbdioctl()
H A Dtimod.c2964 ASSERT(iocb->ioc_cr == NULL || iocb->ioc_cr == DB_CRED(tmp)); in tim_send_ioctl_tpi_msg()
H A Dconskbd.c855 if ((error = secpolicy_sys_config(iocp->ioc_cr, B_FALSE))) { in conskbd_ioctl()
/titanic_44/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c784 if (iop->ioc_cr == NULL || in sppp_uwput()
785 secpolicy_ppp_config(iop->ioc_cr) != 0) { in sppp_uwput()
1057 if (iop->ioc_cr == NULL || in sppp_inner_ioctl()
1058 ppa->ppa_zoneid != crgetzoneid(iop->ioc_cr)) { in sppp_inner_ioctl()
1094 if (iop->ioc_cr == NULL || in sppp_inner_ioctl()
1095 secpolicy_ppp_config(iop->ioc_cr) != 0) { in sppp_inner_ioctl()
1126 if (iop->ioc_cr == NULL || in sppp_inner_ioctl()
1127 secpolicy_ppp_config(iop->ioc_cr) != 0) { in sppp_inner_ioctl()
1428 if (iop->ioc_cr == NULL || in sppp_outer_ioctl()
1429 secpolicy_ppp_config(iop->ioc_cr) != 0) { in sppp_outer_ioctl()
[all …]
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip_rts.c275 ip_rts_request_common(mblk_t *mp, conn_t *connp, cred_t *ioc_cr) in ip_rts_request_common() argument
345 (ioc_cr == NULL || in ip_rts_request_common()
346 secpolicy_ip_config(ioc_cr, B_FALSE) != 0)) { in ip_rts_request_common()
657 if (ioc_cr) in ip_rts_request_common()
658 tsl = crgetlabel(ioc_cr); in ip_rts_request_common()
665 crgetzoneid(ioc_cr) != GLOBAL_ZONEID && in ip_rts_request_common()
725 if (tsl != NULL && tsl != crgetlabel(ioc_cr)) in ip_rts_request_common()
1157 ip_rts_request(queue_t *q, mblk_t *mp, cred_t *ioc_cr) in ip_rts_request() argument
1198 error = ip_rts_request_common(mp, connp, ioc_cr); in ip_rts_request()
H A Dip_helper_stream.c93 ip_helper_share_conn(q, mp, iocp->ioc_cr); in ip_helper_wput()
H A Dip_ire.c411 ip_ire_delete(queue_t *q, mblk_t *mp, cred_t *ioc_cr) in ip_ire_delete() argument
432 if (ioc_cr != NULL && secpolicy_ip_config(ioc_cr, B_FALSE) != 0) in ip_ire_delete()
H A Drts.c188 ioc->ioc_cr = NULL; in rts_ioctl_alloc()
/titanic_44/usr/src/uts/common/io/mac/
H A Dmac_ndd.c362 ((iocp->ioc_cr == NULL) || in mac_ndd_set_ioctl()
363 ((status = secpolicy_net_config(iocp->ioc_cr, B_FALSE)) != 0))) in mac_ndd_set_ioctl()
/titanic_44/usr/src/uts/common/sys/
H A Dstream.h480 cred_t *ioc_cr; /* full credentials */ member
490 cred_t *ioc_cr; /* full credentials */ member
/titanic_44/usr/src/uts/common/inet/tcp/
H A Dtcp_misc.c444 if (secpolicy_ip_config(iocp->ioc_cr, B_FALSE) != 0) { in tcp_ioctl_abort_conn()
/titanic_44/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c924 (struct kiockey *)mp->b_cont->b_rptr, iocp->ioc_cr); in kbtrans_ioctl()
947 (struct kiockeymap *)mp->b_cont->b_rptr, iocp->ioc_cr); in kbtrans_ioctl()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_gld.c608 err = secpolicy_net_config(iocp->ioc_cr, B_FALSE); in ql_m_ioctl()
/titanic_44/usr/src/uts/sun/io/ttymux/
H A Dttymux.c1307 secpolicy_sys_config(iobp->ioc_cr, B_FALSE) != 0 ? in sm_uwput()
1313 if (secpolicy_sys_config(iobp->ioc_cr, B_FALSE) != 0) { in sm_uwput()
/titanic_44/usr/src/uts/common/xen/io/
H A Dxencons.c1022 error = secpolicy_console(iocp->ioc_cr); in xcasync_ioctl()
/titanic_44/usr/src/uts/sun/io/eri/
H A Deri.c1121 err = secpolicy_net_config(iocp->ioc_cr, B_FALSE); in eri_m_ioctl()
4462 err = (*nde->nde_get_pfi)(q, mp1, nde->nde_data, iocp->ioc_cr); in eri_nd_getset()
4497 nde->nde_data, iocp->ioc_cr); in eri_nd_getset()
/titanic_44/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_cmn_func.c1194 if (drv_priv(iocp->ioc_cr) != 0) { in oplmsu_wcmn_chknode()
/titanic_44/usr/src/uts/common/io/rge/
H A Drge_main.c1157 err = secpolicy_net_config(iocp->ioc_cr, B_FALSE); in rge_m_ioctl()
/titanic_44/usr/src/uts/common/io/mii/
H A Dmii.c631 rv = secpolicy_net_config(iocp->ioc_cr, B_FALSE); in mii_m_loop_ioctl()

12