Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / utsname.h
blobc99edc66253620ebaf7999e30c96841c3d6b9d65
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LINUX_UTSNAME_H
3 #define _UAPI_LINUX_UTSNAME_H
5 #define __OLD_UTS_LEN 8
7 struct oldold_utsname {
8 char sysname[9];
9 char nodename[9];
10 char release[9];
11 char version[9];
12 char machine[9];
15 #define __NEW_UTS_LEN 64
17 struct old_utsname {
18 char sysname[65];
19 char nodename[65];
20 char release[65];
21 char version[65];
22 char machine[65];
25 struct new_utsname {
26 char sysname[__NEW_UTS_LEN + 1];
27 char nodename[__NEW_UTS_LEN + 1];
28 char release[__NEW_UTS_LEN + 1];
29 char version[__NEW_UTS_LEN + 1];
30 char machine[__NEW_UTS_LEN + 1];
31 char domainname[__NEW_UTS_LEN + 1];
35 #endif /* _UAPI_LINUX_UTSNAME_H */