Linux – How to change Linux kernel name

linuxlinux-kernel

How to change Linux kernel name.

uname -s

show "Linux", how to set "MYOS"?

I downloaded the source code for the Linux Kernel, but can not find where to change the kernel name and version. Help plz..

Best Answer

Change the UTS_SYSNAME definition, under

linux-x.xx.xx/include/linux/uts.h

and compile it, then uname will return whatever it was set to.

#define UTS_SYSNAME "Linux"