Home
last modified time | relevance | path

Searched refs:myzone (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dklpd.c733 zone_t *myzone = crgetzone(CRED()); in pfexec_reg() local
748 mutex_enter(&myzone->zone_lock); in pfexec_reg()
749 pfx = klpd_link(pfx, &myzone->zone_pfexecd, B_TRUE); in pfexec_reg()
750 mutex_exit(&myzone->zone_lock); in pfexec_reg()
762 zone_t *myzone = crgetzone(CRED()); in pfexec_unreg() local
769 mutex_enter(&myzone->zone_lock); in pfexec_unreg()
770 pfd = myzone->zone_pfexecd; in pfexec_unreg()
777 mutex_exit(&myzone->zone_lock); in pfexec_unreg()
856 zone_t *myzone = crgetzone(CRED()); in pfexec_call() local
860 mutex_enter(&myzone->zone_lock); in pfexec_call()
[all …]
H A Dzone.c6336 zone_t *zone, *myzone; in zone_list() local
6344 myzone = curproc->p_zone; in zone_list()
6346 if (myzone != global_zone) { in zone_list()
6353 zoneids[0] = myzone->zone_id; in zone_list()
6361 mybslab = label2bslabel(myzone->zone_slabel); in zone_list()
6367 if (zone != myzone && in zone_list()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c125 static zoneid_t myzone = MIN_ZONEID - 1; /* invalid */ in find_ucred_opt() local
184 if (myzone == MIN_ZONEID - 1) in find_ucred_opt()
185 myzone = getzoneid(); in find_ucred_opt()
188 return (ucred_getzoneid(uc) == myzone ? 0 : -1); in find_ucred_opt()
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcbind.h141 extern zoneid_t myzone;
H A Drpcb_svc_com.c99 zoneid_t myzone; variable
1570 (ucred_getzoneid(uc)) != myzone) { in rpcb_caller_uid()
H A Drpcbind.c258 myzone = getzoneid(); in main()
/illumos-gate/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh1824 myzone=$(/sbin/zonename)
1825 if [ $myzone != "global" ] ; then
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c5648 char myzone[MAXNAMELEN]; in zone_get_brand() local
5661 if (zone_getattr(myzoneid, ZONE_ATTR_NAME, myzone, in zone_get_brand()
5662 sizeof (myzone)) < 0) in zone_get_brand()
5664 if (!zonecfg_is_scratch(myzone)) { in zone_get_brand()
5665 if (strncmp(zone_name, myzone, MAXNAMELEN) != 0) in zone_get_brand()