1eac7052fSMatt Macy /* 2eac7052fSMatt Macy * CDDL HEADER START 3eac7052fSMatt Macy * 4eac7052fSMatt Macy * The contents of this file are subject to the terms of the 5eac7052fSMatt Macy * Common Development and Distribution License (the "License"). 6eac7052fSMatt Macy * You may not use this file except in compliance with the License. 7eac7052fSMatt Macy * 8eac7052fSMatt Macy * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9eac7052fSMatt Macy * or http://www.opensolaris.org/os/licensing. 10eac7052fSMatt Macy * See the License for the specific language governing permissions 11eac7052fSMatt Macy * and limitations under the License. 12eac7052fSMatt Macy * 13eac7052fSMatt Macy * When distributing Covered Code, include this CDDL HEADER in each 14eac7052fSMatt Macy * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15eac7052fSMatt Macy * If applicable, add the following below this CDDL HEADER, with the 16eac7052fSMatt Macy * fields enclosed by brackets "[]" replaced with your own identifying 17eac7052fSMatt Macy * information: Portions Copyright [yyyy] [name of copyright owner] 18eac7052fSMatt Macy * 19eac7052fSMatt Macy * CDDL HEADER END 20eac7052fSMatt Macy */ 21eac7052fSMatt Macy /* 22eac7052fSMatt Macy * Copyright 2006 Ricardo Correia. All rights reserved. 23eac7052fSMatt Macy * Use is subject to license terms. 24eac7052fSMatt Macy */ 25eac7052fSMatt Macy 26eac7052fSMatt Macy #include <zone.h> 27eac7052fSMatt Macy 28eac7052fSMatt Macy zoneid_t 29*c03c5b1cSMartin Matuska getzoneid(void) 30eac7052fSMatt Macy { 31eac7052fSMatt Macy return (GLOBAL_ZONEID); 32eac7052fSMatt Macy } 33