blob: 4447d182b7be9d408565da1c371c8bbdc26aefe4 [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _UAPI_LINUX_UTSNAME_H
20#define _UAPI_LINUX_UTSNAME_H
21#define __OLD_UTS_LEN 8
22struct oldold_utsname {
Nick Kralevicha67e4de2013-01-14 11:28:26 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024 char sysname[9];
25 char nodename[9];
26 char release[9];
27 char version[9];
Nick Kralevicha67e4de2013-01-14 11:28:26 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 char machine[9];
Ben Cheng655a7c02013-10-16 16:09:24 -070030};
31#define __NEW_UTS_LEN 64
32struct old_utsname {
Nick Kralevicha67e4de2013-01-14 11:28:26 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 char sysname[65];
35 char nodename[65];
36 char release[65];
37 char version[65];
Nick Kralevicha67e4de2013-01-14 11:28:26 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 char machine[65];
Ben Cheng655a7c02013-10-16 16:09:24 -070040};
41struct new_utsname {
Tao Baod7db5942015-01-28 10:07:51 -080042 char sysname[__NEW_UTS_LEN + 1];
Nick Kralevicha67e4de2013-01-14 11:28:26 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 char nodename[__NEW_UTS_LEN + 1];
45 char release[__NEW_UTS_LEN + 1];
46 char version[__NEW_UTS_LEN + 1];
47 char machine[__NEW_UTS_LEN + 1];
Nick Kralevicha67e4de2013-01-14 11:28:26 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 char domainname[__NEW_UTS_LEN + 1];
Ben Cheng655a7c02013-10-16 16:09:24 -070050};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080051#endif