summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/uts.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/uts.h')
-rw-r--r--kernel/include/linux/uts.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/include/linux/uts.h b/kernel/include/linux/uts.h
new file mode 100644
index 000000000..6ddbd8637
--- /dev/null
+++ b/kernel/include/linux/uts.h
@@ -0,0 +1,19 @@
+#ifndef _LINUX_UTS_H
+#define _LINUX_UTS_H
+
+/*
+ * Defines for what uname() should return
+ */
+#ifndef UTS_SYSNAME
+#define UTS_SYSNAME "Linux"
+#endif
+
+#ifndef UTS_NODENAME
+#define UTS_NODENAME CONFIG_DEFAULT_HOSTNAME /* set by sethostname() */
+#endif
+
+#ifndef UTS_DOMAINNAME
+#define UTS_DOMAINNAME "(none)" /* set by setdomainname() */
+#endif
+
+#endif