/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_drv.c | 340 zoneid_t zoneid = crgetzoneid(cred); in drv_ioc_attr() 383 zoneid_t zoneid = crgetzoneid(cred); in drv_ioc_phys_attr() 436 zoneid_t zoneid = crgetzoneid(cred); in drv_ioc_hwgrpget() 570 zoneid_t zoneid = crgetzoneid(cred); in drv_ioc_macaddrget() 640 zoneid_t zoneid = crgetzoneid(cred); in drv_ioc_prop_common() 861 zoneid_t zoneid = crgetzoneid(cred); in drv_ioc_rename() 1346 if (crgetzoneid(cred) != dls_devnet_getownerzid(dlh)) { in drv_ioc_gettran() 1402 if (crgetzoneid(cred) != dls_devnet_getownerzid(dlh)) { in drv_ioc_readtran() 1454 if (crgetzoneid(cred) != dls_devnet_getownerzid(dlh)) { in drv_ioc_getled() 1500 if (crgetzoneid(cred) != dls_devnet_getownerzid(dlh)) { in drv_ioc_setled()
|
H A D | dld_flow.c | 108 if (crgetzoneid(credp) != GLOBAL_ZONEID) in dld_walk_flow()
|
/illumos-gate/usr/src/uts/intel/io/amdzen/ |
H A D | usmn.c | 50 if (crgetzoneid(credp) != GLOBAL_ZONEID || in usmn_open() 88 if (crgetzoneid(credp) != GLOBAL_ZONEID || in usmn_ioctl()
|
H A D | zen_udf.c | 50 if (crgetzoneid(credp) != GLOBAL_ZONEID || in zen_udf_open() 89 if (crgetzoneid(credp) != GLOBAL_ZONEID || in zen_udf_ioctl()
|
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | cred.h | 80 extern zoneid_t crgetzoneid(const cred_t *);
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | cred.c | 109 crgetzoneid(const cred_t *cr) in crgetzoneid() function
|
H A D | mapfile-vers | 64 crgetzoneid;
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_sys.c | 49 crgetzoneid(CRED()) != GLOBAL_ZONEID) in autofssys()
|
/illumos-gate/usr/src/uts/common/io/simnet/ |
H A D | simnet.c | 409 sdev->sd_zoneid = crgetzoneid(cred); in simnet_ioc_create() 434 crgetzoneid(cred))) != 0) { in simnet_ioc_create() 488 if (sdev->sd_zoneid != crgetzoneid(cred)) { in simnet_ioc_modify() 562 if (sdev->sd_zoneid != crgetzoneid(cred)) { in simnet_ioc_delete() 606 crgetzoneid(cred)); in simnet_ioc_delete() 637 if (!dls_devnet_islinkvisible(info_arg->sii_link_id, crgetzoneid(cred))) in simnet_ioc_info()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cred.h | 95 extern zoneid_t crgetzoneid(const cred_t *);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | core.c | 301 ASSERT(crgetzoneid(oldcr) == crgetzoneid(newcr)); in set_cred() 310 zoneid_t zoneid = crgetzoneid(newcr); in set_cred()
|
H A D | policy.c | 562 if (crgetzoneid(cr) == GLOBAL_ZONEID) in priv_policy_global() 708 zoneid_t zoneid = crgetzoneid(cr); in secpolicy_fs_common() 771 if (crgetzoneid(cr) == GLOBAL_ZONEID || !amsuper) in secpolicy_fs_mount_clearopts() 1587 if (crgetzoneid(cr) != ip->ipc_zoneid || in secpolicy_ipc_owner() 2548 if (crgetzoneid(credp) == GLOBAL_ZONEID) in secpolicy_sadopen()
|
H A D | streamio.c | 256 zoneid = crgetzoneid(crp); in xpg4_fixup() 549 zoneid = crgetzoneid(crp); in stropen() 579 zoneid = crgetzoneid(crp); in stropen() 586 zoneid = crgetzoneid(crp); in stropen() 4012 if (stp->sd_anchorzone != crgetzoneid(crp)) in strioctl() 4162 stp->sd_anchorzone != crgetzoneid(crp)) in strioctl() 4217 stp->sd_anchorzone != crgetzoneid(crp)) { in strioctl() 4328 stp->sd_anchorzone != crgetzoneid(crp)) in strioctl() 4370 stp->sd_anchorzone != crgetzoneid(crp)) { in strioctl() 4448 stp->sd_anchorzone != crgetzoneid(crp)) { in strioctl() [all …]
|
H A D | cred.c | 726 crgetzoneid(const cred_t *cr) in crgetzoneid() function 958 uc->uc_zoneid = crgetzoneid(cr); in cred2ucred()
|
H A D | fork.c | 689 upcount_dec(crgetruid(cp->p_cred), crgetzoneid(cp->p_cred)); in fork_fail() 1059 zoneid = crgetzoneid(cr); in getproc()
|
/illumos-gate/usr/src/uts/common/inet/ipd/ |
H A D | ipd.c | 667 zid = crgetzoneid(cr); in ipd_ioctl_perturb() 728 zid = crgetzoneid(cr); in ipd_ioctl_remove() 821 zid = crgetzoneid(cr); in ipd_ioctl_list()
|
/illumos-gate/usr/src/uts/common/io/ksensor/ |
H A D | ksensor_drv.c | 60 if (crgetzoneid(credp) != GLOBAL_ZONEID || drv_priv(credp) != 0) { in ksensor_open()
|
/illumos-gate/usr/src/uts/common/io/vnic/ |
H A D | vnic_dev.c | 573 err = dls_devnet_create(vnic->vn_mh, vnic->vn_id, crgetzoneid(credp)); in vnic_dev_create() 682 crgetzoneid(credp)); in vnic_dev_delete() 1258 if (!dls_devnet_islinkvisible(info->vn_vnic_id, crgetzoneid(credp))) in vnic_info()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | log.c | 172 zoneid = (cr != NULL) ? crgetzoneid(cr) : GLOBAL_ZONEID; in log_wput()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_plugin.c | 375 if (crgetzoneid(cred) == GLOBAL_ZONEID && !SDEV_IS_GLOBAL(sdvp)) in sdev_plugin_vop_readdir() 438 if (crgetzoneid(cred) == GLOBAL_ZONEID && !SDEV_IS_GLOBAL(sdvp)) in sdev_plugin_vop_lookup()
|
/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_vfsops.c | 212 if (is_system_labeled() && crgetzoneid(cr) == GLOBAL_ZONEID) { in lo_mount()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_dev.c | 494 sdp->zoneid = crgetzoneid(cr); in nsmb_open()
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 1251 crgetzoneid(credp) : GLOBAL_ZONEID; in iptun_conn_create() 1374 zoneid_t zoneid = crgetzoneid(credp); in iptun_create() 1515 if (iptun->iptun_zoneid != crgetzoneid(credp)) { in iptun_delete() 1596 if (iptun->iptun_zoneid != crgetzoneid(credp)) { in iptun_modify() 1650 crgetzoneid(credp))) in iptun_info()
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_main.c | 609 crgetzoneid(CRED())); in softmac_create_datalink() 1035 crgetzoneid(CRED())); in softmac_destroy()
|
/illumos-gate/usr/src/uts/common/io/overlay/ |
H A D | overlay.c | 1349 crgetzoneid(cred)); in overlay_i_create() 1512 crgetzoneid(cred)); in overlay_i_delete()
|