summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/uadmin.h
diff options
context:
space:
mode:
authordp <none@none>2006-06-22 14:42:46 -0700
committerdp <none@none>2006-06-22 14:42:46 -0700
commit3f2f09c1efd66f6d2995998ea72c5df8c70c9a97 (patch)
treea448462ab9a0fbd66c7b27399e879ef8feb9f9cf /usr/src/uts/common/sys/uadmin.h
parentd6365b49a41a032fe959b6c2fbf75dd48da8f7be (diff)
downloadillumos-joyent-3f2f09c1efd66f6d2995998ea72c5df8c70c9a97.tar.gz
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 <sys/uadmin.h> 6433526 zoneadm should use statvfs64
Diffstat (limited to 'usr/src/uts/common/sys/uadmin.h')
-rw-r--r--usr/src/uts/common/sys/uadmin.h14
1 files changed, 10 insertions, 4 deletions
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)