1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux << 2 #ifndef _UAPI_LINUX_UTSNAME_H 1 #ifndef _UAPI_LINUX_UTSNAME_H 3 #define _UAPI_LINUX_UTSNAME_H 2 #define _UAPI_LINUX_UTSNAME_H 4 3 5 #define __OLD_UTS_LEN 8 4 #define __OLD_UTS_LEN 8 6 5 7 struct oldold_utsname { 6 struct oldold_utsname { 8 char sysname[9]; 7 char sysname[9]; 9 char nodename[9]; 8 char nodename[9]; 10 char release[9]; 9 char release[9]; 11 char version[9]; 10 char version[9]; 12 char machine[9]; 11 char machine[9]; 13 }; 12 }; 14 13 15 #define __NEW_UTS_LEN 64 14 #define __NEW_UTS_LEN 64 16 15 17 struct old_utsname { 16 struct old_utsname { 18 char sysname[65]; 17 char sysname[65]; 19 char nodename[65]; 18 char nodename[65]; 20 char release[65]; 19 char release[65]; 21 char version[65]; 20 char version[65]; 22 char machine[65]; 21 char machine[65]; 23 }; 22 }; 24 23 25 struct new_utsname { 24 struct new_utsname { 26 char sysname[__NEW_UTS_LEN + 1]; 25 char sysname[__NEW_UTS_LEN + 1]; 27 char nodename[__NEW_UTS_LEN + 1]; 26 char nodename[__NEW_UTS_LEN + 1]; 28 char release[__NEW_UTS_LEN + 1]; 27 char release[__NEW_UTS_LEN + 1]; 29 char version[__NEW_UTS_LEN + 1]; 28 char version[__NEW_UTS_LEN + 1]; 30 char machine[__NEW_UTS_LEN + 1]; 29 char machine[__NEW_UTS_LEN + 1]; 31 char domainname[__NEW_UTS_LEN + 1]; 30 char domainname[__NEW_UTS_LEN + 1]; 32 }; 31 }; 33 32 34 33 35 #endif /* _UAPI_LINUX_UTSNAME_H */ 34 #endif /* _UAPI_LINUX_UTSNAME_H */ 36 35
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.