4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 * Copyright (c) 2001 by Sun Microsystems, Inc.
26 * All rights reserved.
30 * Template utsname; appropriate values for UTS_SYSNAME, UTS_RELEASE,
31 * UTS_VERSION and UTS_PLATFORM must be passed in by the build process.
33 * The build process can also override ALT_SYSNAME, ALT_VERSION
34 * and ALT_RELEASE to change the fallback legacy uname. We use these
35 * alternate values for legacy compatibility, but it may have other uses
39 #include <sys/utsname.h>
41 struct utsname utsname
= {
42 UTS_SYSNAME
, "", UTS_RELEASE
, UTS_VERSION
, UTS_PLATFORM
46 #define ALT_SYSNAME "illumos"
50 #define ALT_RELEASE "0.9.71"
54 #define ALT_VERSION "alternate-uname"
57 const char *alt_sysname
= ALT_SYSNAME
;
58 const char *alt_version
= ALT_VERSION
;
59 const char *alt_release
= ALT_RELEASE
;