blob: f4356d3f9974ccd9a180fdc1a823862e385bc540 [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 {
Tao Baod7db5942015-01-28 10:07:51 -080023 char sysname[9];
24 char nodename[9];
25 char release[9];
26 char version[9];
Tao Baod7db5942015-01-28 10:07:51 -080027 char machine[9];
Ben Cheng655a7c02013-10-16 16:09:24 -070028};
29#define __NEW_UTS_LEN 64
30struct old_utsname {
Tao Baod7db5942015-01-28 10:07:51 -080031 char sysname[65];
32 char nodename[65];
33 char release[65];
34 char version[65];
Tao Baod7db5942015-01-28 10:07:51 -080035 char machine[65];
Ben Cheng655a7c02013-10-16 16:09:24 -070036};
37struct new_utsname {
Tao Baod7db5942015-01-28 10:07:51 -080038 char sysname[__NEW_UTS_LEN + 1];
Tao Baod7db5942015-01-28 10:07:51 -080039 char nodename[__NEW_UTS_LEN + 1];
40 char release[__NEW_UTS_LEN + 1];
41 char version[__NEW_UTS_LEN + 1];
42 char machine[__NEW_UTS_LEN + 1];
Tao Baod7db5942015-01-28 10:07:51 -080043 char domainname[__NEW_UTS_LEN + 1];
Ben Cheng655a7c02013-10-16 16:09:24 -070044};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080045#endif