diff options
Diffstat (limited to 'include/linux/uts.h')
-rw-r--r-- | include/linux/uts.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/uts.h b/include/linux/uts.h new file mode 100644 index 000000000..d62829530 --- /dev/null +++ b/include/linux/uts.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#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 |