/illumos-gate/usr/src/cmd/initpkg/ |
H A D | umountall.sh | 191 # criteria to match and we are in the global zone 322 # should not see any zone options 325 if [ "$option" = "zone=$ZONENAME" ]; then 329 if [ "$option" != "zone=$ZONENAME" ]; then 332 # we are called from the global zone 336 zone=*) 337 option="zone=" 343 if [ "$option" = "zone=" -a -z "$ZFLAG" ]; then 346 # skip mounts from the global zone if ZFLAG is set 347 if [ "$option" != "zone [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | solaris.c | 457 cmn_err(CE_CONT, "IP Filter:stack_create zone=%d", ifs->ifs_zone); 489 * Create two ipfilter stacks for a zone - the first can only be 490 * controlled from the global zone, and the second is owned by 491 * the zone itself. There is no need to create a GZ-controlled 492 * stack for the global zone, since we're already in the global 493 * zone. See the "GZ-controlled and per-zone stacks" comment block in 503 * Find an ipfilter stack for the given zone. Return the GZ-controlled or 504 * per-zone stack if set by an earlier SIOCIPFZONESET ioctl call. See the 505 * "GZ-controlled and per-zone stack 517 zoneid_t zone; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ipnet.h | 44 #include <sys/zone.h> 65 * that represents the network interface for each zone that shares its 67 * present in each zone. Multiple ipnetif_addr_t's may point to a single 68 * ipnetif_t using ifa_shared. The typical case is the global zone has 96 * is the global zone sharing its instance of IP with other local zones. 161 netstack_t *ipnet_ns; /* netstack of zone we were opened in */
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | flock.h | 44 #include <sys/zone.h>
|
H A D | lofi.h | 39 #include <sys/zone.h>
|
/illumos-gate/usr/src/cmd/fs.d/nfs/svc/ |
H A D | nfs-server | 33 zone=`smf_zonename` 69 # The NFS server is not supported in a local zone 72 echo "The NFS server is not supported in a local zone" 113 /usr/bin/pkill -x -u 0,1 -z $zone '(nfsd|mountd)'
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 57 #include <sys/zone.h> 346 zone_t *zone = curproc->p_zone; local 422 * Determine the zone we're being mounted into. 424 zone_hold(mntzone = zone); /* start with this assumption */ 429 if (mntzone != zone) { 436 * Stop the mount from going any further if the zone is going away. 487 * Convert the anonymous zone hold acquired via zone_hold() above 488 * into a zone reference. 878 * Cross-zone calls are OK here, since this translates to a 879 * VOP_PUTPAGE(B_ASYNC), which gets picked up by the right zone [all...] |
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_event.c | 106 zone_t *zone, int rprivchk) 110 zuniqid = zone->zone_uniqid; 105 ctfs_endpoint_ioctl(ctfs_endpoint_t *endpt, int cmd, intptr_t arg, cred_t *cr, zone_t *zone, int rprivchk) argument
|
/illumos-gate/usr/src/cmd/svc/svcprop/ |
H A D | svcprop.c | 46 #include <zone.h> 146 "[-C | -c | -s snapshot] [-z zone] " 149 " %1$s -w [-fqtv] [-z zone] [-p [name/]name] " 1075 scf_value_t *zone; local 1080 "from the global zone\n")); 1082 if ((zone = scf_value_create(h)) == NULL) 1085 if (scf_value_set_astring(zone, optarg) != SCF_SUCCESS) 1088 if (scf_handle_decorate(h, "zone", zone) != SCF_SUCCESS) 1089 uu_die(gettext("invalid zone ' [all...] |
/illumos-gate/usr/src/cmd/tsol/misc/ |
H A D | txzonemgr.sh | 29 # It must be run in the global zone as root. 75 msg_getzone=$(gettext "Select a zone from the list below: 76 (select global for zone creation and shared settings)") 235 set zonepath=/zone/$zonename" 289 --text="$msg_getlabel $zonename zone:" \ 302 --text="$msg_inuse $z zone.") 313 --text="$msg_getmin $zonename zone:" \ 324 --text="$msg_getmax $zonename zone:" \ 454 # The zone's shadow file may be read-only 527 msg_clone=$(gettext "Clone the $zonename zone usin [all...] |
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_subr.c | 44 #include <sys/zone.h> 58 * and maps. Each zone runs its own copy of automountd, with its own timeouts, 60 * loopback transport (tl) will prevent a zone from communicating with another 61 * zone's automountd. 63 * Each zone has its own "rootfnnode" and associated tree of auto nodes. 65 * Each zone also has its own set of "unmounter" kernel threads; these are 66 * created and run within the zone's context (ie, they are created via 69 * Cross-zone mount triggers are disallowed. There is a check in 73 * autofssys() enables a caller in the global zone to clean up in-kernel (as 75 * routinely done when all mounts are removed as part of zone shutdow 1929 zone_t *zone = NULL; local 2526 zone_t *zone = curproc->p_zone; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_stub_vnops.c | 759 zone_t *zone = curproc->p_zone; local 773 ntg = zone_getspecific(nfs4_ephemeral_key, zone); 790 * We need to add it to the zone specific list for 1849 zone_t *zone = curproc->p_zone; local 1865 * Get rid of zone's root path 1867 if (zone != global_zone) { 1871 if (strncmp(zone->zone_rootpath, orig_mntpt, 1872 zone->zone_rootpathlen - 1) == 0) { 1873 orig_mntpt += (zone->zone_rootpathlen - 2); 2152 zone_t *zone local 3081 zone_t *zone = curproc->p_zone; local 3238 zone_t *zone = curproc->p_zone; local [all...] |
H A D | nfs3_vfsops.c | 53 #include <sys/zone.h> 496 zone_t *zone = nfs_zone(); local 911 * Determine the zone we're being mounted into. 913 zone_hold(mntzone = zone); /* start with this assumption */ 918 if (mntzone != zone) { 938 * Stop the mount from going any further if the zone is going away. 1011 int flags, cred_t *cr, zone_t *zone) 1030 ASSERT(nfs_zone() == zone); 1124 mi->mi_zone = zone; 1126 zone_hold_ref(zone, 1010 nfs3rootvp(vnode_t **rtvpp, vfs_t *vfsp, struct servinfo *svp, int flags, cred_t *cr, zone_t *zone) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf.c | 53 * DLT_IPNET in local zone | Read | Read | Read | 55 * Raw access to local zone NIC | None | Read/Write | Read/Write | 77 #include <sys/zone.h> 248 zoneid_t zone; local 256 zone = d->bd_zone; 263 error = MBPF_OPEN(bpr, ifname, &mh, zone); 286 if (zonematch && niczone != zone) { 302 if (zonematch && (zone == GLOBAL_ZONEID)) { 305 * zone using the global zoneid, try again in case 306 * the network interface is owned by a local zone [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | shm.c | 47 * Control: zone.max-shm-ids (rc_zone_shmmni) 48 * Description: Maximum number of shared memory ids allowed a zone. 63 * Control: zone.max-shm-memory (rc_zone_shmmax) 64 * Description: Total amount of shared memory allowed a zone. 108 #include <sys/zone.h> 375 * in the predict-ISM zone. 815 * Remove all shared memory segments associated with a given zone. 816 * Called by zone_shutdown when the zone is halted. 856 * Check rsize and the per-project and per-zone limit on 1258 zone_t *zone; local [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | utssys.c | 67 #include <sys/zone.h> 271 * See if it's the root of our zone. 324 zone_t *zone = curproc->p_zone; local 340 if (inglobal || prp->p_zone == zone) 858 * root node of a mounted file system, or the root of a zone.
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.xs | 11 #include <zone.h>
|
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvnops.c | 68 * The snapshot is implemented by a "database", unique to each zone, that 183 * Add space for "zone=<zone_name>" if required. 187 size += sizeof ("zone=") - 1; 232 buf += snprintf(buf, MAX_MNTOPT_STR, "zone=%s", 276 * We know the mount point is visible from within the zone, 277 * otherwise it wouldn't be on the zone's vfs list. 307 mntfs_text_len(vfs_t *vfsp, zone_t *zone) argument 315 mntsize = strlen(ZONE_PATH_TRANSLATE(mntpt, zone)) + 1; 325 } else if (!ZONE_PATH_VISIBLE(resource, zone)) { 327 * Same as the zone' 1557 zone_t *zone = mntdata->mnt_zone_ref.zref_zone; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_dev.c | 56 #include <sys/zone.h> 65 #include <sys/zone.h> 335 * Dont give access if the zone id is not as the same as we 336 * set in the nsmb_open or dont belong to the global zone. 337 * Check if the user belongs to this zone.. 344 * in a zone that's shutting down. That action will cause 346 * check the zone status here on every ioctl call.
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs_clnt.h | 39 #include <sys/zone.h> 422 struct zone *mi_zone; /* Zone in which FS is mounted */ 423 zone_ref_t mi_zone_ref; /* Reference to aforementioned zone */ 424 list_node_t mi_zone_node; /* Linkage into per-zone mi list */ 578 * Macro to detect forced unmount or a zone shutdown. 636 * Per-zone data for managing client handles. Included here solely for the
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_clts.c | 67 #include <sys/zone.h> 220 struct rpc_clts_client *cku_stats; /* counters for the zone */ 1236 * tuple, which means that a zone may not reuse another zone's idle endpoints 1239 * A zone's endpnt_type_ts are destroyed when a zone is shut down; e_async_cv 1943 * be holding open connections for this zone (all processes and kernel 2165 * the same zone that it was sent from. 2193 zone_t *zone; local 2201 * This is unfortunate, but we need to lookup the zone s [all...] |
/illumos-gate/usr/src/lib/lvm/libpreen/common/ |
H A D | mdpreen.c | 44 #include <zone.h> 157 * non-global zone so we just return the top level metadevice back
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mem.c | 32 #include <zone.h>
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_finddev.c | 43 #include <zone.h>
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pexecname.c | 38 #include <zone.h> 128 * is in a zone, try again with the zone path instead of our cwd. 149 * path inside a zone is a relative path from the global 150 * zone perspective. So we turn a non-global zone's
|