Oleg Repetko
Oleg Repetko

Reputation: 45

How to change Linux kernel name

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..

Upvotes: 2

Views: 14909

Answers (1)

Sun
Sun

Reputation: 1591

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"

Upvotes: 5

Related Questions