xref: /netbsd-src/sys/compat/linux/common/linux_oldolduname.h (revision abbc8a65e23054d25cf7067e2df63d999881954c)
1*abbc8a65Sryo /*	$NetBSD: linux_oldolduname.h,v 1.3 2021/09/23 06:56:27 ryo Exp $	*/
2c0a539a5Serh 
3c0a539a5Serh /*-
4c0a539a5Serh  * Copyright (c) 1998 The NetBSD Foundation, Inc.
5c0a539a5Serh  * All rights reserved.
6c0a539a5Serh  *
7c0a539a5Serh  * This code is derived from software contributed to The NetBSD Foundation
8c0a539a5Serh  * by Eric Haszlakiewicz.
9c0a539a5Serh  *
10c0a539a5Serh  * Redistribution and use in source and binary forms, with or without
11c0a539a5Serh  * modification, are permitted provided that the following conditions
12c0a539a5Serh  * are met:
13c0a539a5Serh  * 1. Redistributions of source code must retain the above copyright
14c0a539a5Serh  *    notice, this list of conditions and the following disclaimer.
15c0a539a5Serh  * 2. Redistributions in binary form must reproduce the above copyright
16c0a539a5Serh  *    notice, this list of conditions and the following disclaimer in the
17c0a539a5Serh  *    documentation and/or other materials provided with the distribution.
18c0a539a5Serh  *
19c0a539a5Serh  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20c0a539a5Serh  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21c0a539a5Serh  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22c0a539a5Serh  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23c0a539a5Serh  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24c0a539a5Serh  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25c0a539a5Serh  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26c0a539a5Serh  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27c0a539a5Serh  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28c0a539a5Serh  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29c0a539a5Serh  * POSSIBILITY OF SUCH DAMAGE.
30c0a539a5Serh  */
31c0a539a5Serh 
32c0a539a5Serh #ifndef _MULTIARCH_LINUX_OLDOLDUNAME_H
33c0a539a5Serh #define _MULTIARCH_LINUX_OLDOLDUNAME_H
34c0a539a5Serh 
35c0a539a5Serh /* Used on: arm, i386, mips, ppc */
36*abbc8a65Sryo /* Not used on: aarch64, alpha, m68k, sparc, sparc64 */
37c0a539a5Serh 
38c0a539a5Serh struct linux_oldoldutsname {
39c0a539a5Serh 	char l_sysname[9];
40c0a539a5Serh 	char l_nodename[9];
41c0a539a5Serh 	char l_release[9];
42c0a539a5Serh 	char l_version[9];
43c0a539a5Serh 	char l_machine[9];
44c0a539a5Serh };
45c0a539a5Serh 
46c0a539a5Serh #endif /* !_MULTIARCH_LINUX_OLDOLDUNAME_H */
47