kernel: provide a helper to get the right utsname structure
commit8797e54d98eb2e4c921f988dd85e05972c79b184
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Thu, 13 Jul 2017 06:46:04 +0000 (13 09:46 +0300)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Thu, 13 Jul 2017 06:46:04 +0000 (13 09:46 +0300)
treef3dcd4d9d30c952f10b7d2381914ca2ccdbbe429
parent51322481ff65ebd738911399971b6d73e8c32fff
kernel: provide a helper to get the right utsname structure

Also provide helpers to set the machine.
include/sys/utsname.h
kernel/os/vers.c