uts: make emu10k non-verbose
[unleashed.git] / kernel / os / vers.c
blob9d16c4d662cfbf1962aa3c154ce975673bec9848
1 /*
2 * CDDL HEADER START
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
7 * with the License.
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]
20 * CDDL HEADER END
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
36 * in the future.
39 #include <sys/utsname.h>
41 struct utsname utsname = {
42 UTS_SYSNAME, "", UTS_RELEASE, UTS_VERSION, UTS_PLATFORM
45 #ifndef ALT_SYSNAME
46 #define ALT_SYSNAME "illumos"
47 #endif
49 #ifndef ALT_RELEASE
50 #define ALT_RELEASE "0.9.71"
51 #endif
53 #ifndef ALT_VERSION
54 #define ALT_VERSION "alternate-uname"
55 #endif
57 const char *alt_sysname = ALT_SYSNAME;
58 const char *alt_version = ALT_VERSION;
59 const char *alt_release = ALT_RELEASE;