From 3f2f09c1efd66f6d2995998ea72c5df8c70c9a97 Mon Sep 17 00:00:00 2001 From: dp Date: Thu, 22 Jun 2006 14:42:46 -0700 Subject: PSARC/2006/269 Zone Boot Arguments II 4943812 init improperly respawning stuff during reboot 4994285 RFE: zones should support boot arguments 6315349 halt.c contains an uninitialized variable 6395642 missing global zone checks for menu updates in uadmin(2) 6415633 krtld calls printf(), goes boom 6421372 libc's lintlib doesn't include 6433526 zoneadm should use statvfs64 --- usr/src/uts/common/sys/uadmin.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'usr/src/uts/common/sys/uadmin.h') diff --git a/usr/src/uts/common/sys/uadmin.h b/usr/src/uts/common/sys/uadmin.h index 408a56a0aa..d88f247a93 100644 --- a/usr/src/uts/common/sys/uadmin.h +++ b/usr/src/uts/common/sys/uadmin.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -76,6 +75,13 @@ extern "C" { #define AD_FTRACE_START 1 #define AD_FTRACE_STOP 2 +/* + * When 'mdep' (the second argument to uadmin(2)) is initialized for A_REBOOT, + * A_SHUTDOWN or A_DUMP, it represents the boot arguments string of at most + * 256 characters. + */ +#define BOOTARGS_MAX 256 + #if !defined(_ASM) #if defined(_KERNEL) -- cgit v1.2.3