1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2607ca46eSDavid Howells #ifndef _UAPI_LINUX_UTSNAME_H 3607ca46eSDavid Howells #define _UAPI_LINUX_UTSNAME_H 4607ca46eSDavid Howells 5607ca46eSDavid Howells #define __OLD_UTS_LEN 8 6607ca46eSDavid Howells 7607ca46eSDavid Howells struct oldold_utsname { 8607ca46eSDavid Howells char sysname[9]; 9607ca46eSDavid Howells char nodename[9]; 10607ca46eSDavid Howells char release[9]; 11607ca46eSDavid Howells char version[9]; 12607ca46eSDavid Howells char machine[9]; 13607ca46eSDavid Howells }; 14607ca46eSDavid Howells 15607ca46eSDavid Howells #define __NEW_UTS_LEN 64 16607ca46eSDavid Howells 17607ca46eSDavid Howells struct old_utsname { 18607ca46eSDavid Howells char sysname[65]; 19607ca46eSDavid Howells char nodename[65]; 20607ca46eSDavid Howells char release[65]; 21607ca46eSDavid Howells char version[65]; 22607ca46eSDavid Howells char machine[65]; 23607ca46eSDavid Howells }; 24607ca46eSDavid Howells 25607ca46eSDavid Howells struct new_utsname { 26607ca46eSDavid Howells char sysname[__NEW_UTS_LEN + 1]; 27607ca46eSDavid Howells char nodename[__NEW_UTS_LEN + 1]; 28607ca46eSDavid Howells char release[__NEW_UTS_LEN + 1]; 29607ca46eSDavid Howells char version[__NEW_UTS_LEN + 1]; 30607ca46eSDavid Howells char machine[__NEW_UTS_LEN + 1]; 31607ca46eSDavid Howells char domainname[__NEW_UTS_LEN + 1]; 32607ca46eSDavid Howells }; 33607ca46eSDavid Howells 34607ca46eSDavid Howells 35607ca46eSDavid Howells #endif /* _UAPI_LINUX_UTSNAME_H */ 36