lkml.org 
[lkml]   [2021]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Dixup sysname wrt recent cultural developments
It is apparent that emoji outbreak can not be contained.
In that case might as well embrace it.

Change main kernel banner, /proc/version and uname(2) output.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

include/linux/uts.h | 2 +-
init/version.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--- a/include/linux/uts.h
+++ b/include/linux/uts.h
@@ -6,7 +6,7 @@
* Defines for what uname() should return
*/
#ifndef UTS_SYSNAME
-#define UTS_SYSNAME "Linux"
+#define UTS_SYSNAME "🐧"
#endif

#ifndef UTS_NODENAME
--- a/init/version.c
+++ b/init/version.c
@@ -36,7 +36,7 @@ EXPORT_SYMBOL_GPL(init_uts_ns);

/* FIXED STRINGS! Don't touch! */
const char linux_banner[] =
- "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
+ "🐧 version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";

const char linux_proc_banner[] =
\
 
 \ /
  Last update: 2021-04-01 22:36    [W:0.028 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site