zoneadmd.c (0209230bf1261579beab4f55226bb509e6b850cb) | zoneadmd.c (e767a340776ab621d2b82ee83e1755c45fa979c8) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22/* | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22/* |
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. | 23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
24 * Use is subject to license terms. 25 */ 26 27#pragma ident "%Z%%M% %I% %E% SMI" 28 29/* 30 * zoneadmd manages zones; one zoneadmd process is launched for each 31 * non-global zone on the system. This daemon juggles four jobs: --- 623 unchanged lines hidden (view full) --- 655 return (-1); 656 } 657 658 /* 659 * Get the brand's boot callback if it exists. 660 */ 661 if (zone_get_zonepath(zone_name, zroot, sizeof (zroot)) != Z_OK) { 662 zerror(zlogp, B_FALSE, "unable to determine zone root"); | 24 * Use is subject to license terms. 25 */ 26 27#pragma ident "%Z%%M% %I% %E% SMI" 28 29/* 30 * zoneadmd manages zones; one zoneadmd process is launched for each 31 * non-global zone on the system. This daemon juggles four jobs: --- 623 unchanged lines hidden (view full) --- 655 return (-1); 656 } 657 658 /* 659 * Get the brand's boot callback if it exists. 660 */ 661 if (zone_get_zonepath(zone_name, zroot, sizeof (zroot)) != Z_OK) { 662 zerror(zlogp, B_FALSE, "unable to determine zone root"); |
663 brand_close(bh); |
|
663 return (-1); 664 } 665 (void) strcpy(cmdbuf, EXEC_PREFIX); 666 if (brand_get_boot(bh, zone_name, zroot, cmdbuf + EXEC_LEN, 667 sizeof (cmdbuf) - EXEC_LEN, 0, NULL) != 0) { 668 zerror(zlogp, B_FALSE, 669 "unable to determine branded zone's boot callback"); 670 brand_close(bh); --- 1110 unchanged lines hidden --- | 664 return (-1); 665 } 666 (void) strcpy(cmdbuf, EXEC_PREFIX); 667 if (brand_get_boot(bh, zone_name, zroot, cmdbuf + EXEC_LEN, 668 sizeof (cmdbuf) - EXEC_LEN, 0, NULL) != 0) { 669 zerror(zlogp, B_FALSE, 670 "unable to determine branded zone's boot callback"); 671 brand_close(bh); --- 1110 unchanged lines hidden --- |