[PATCH v2 1/2] UML: hard-code the result of 'uname -s'

Richard Weinberger richard at nod.at
Sat Aug 19 14:08:11 PDT 2023


----- Ursprüngliche Mail -----
> Von: "masahiroy" <masahiroy at kernel.org>
> We rely on 'uname -s' returning 'Linux' because there are os-Linux/
> directories, but no other os-*/.
> 
> Supporting a non-Linux host is unlikely to happen.
> 
> Let's hard-code 'Linux'.

While I agree that a non-Linux version is unlikely I'd like to
know why we can't keep the uname -s check?
I guess to avoid unnecessary command execution?

Thanks,
//richard



More information about the linux-um mailing list