setarch question, uname -m

Ruediger Meier
2014-05-26T23:34:32Z

Hi,

I wonder whether it would be possible (and useful) to always support
setarch $(uname -m) ...
like we are trying in tests/ts/misc/setarch.

Currently we only support these hardcoded transistions where a lot of archs are missing.
Couldn't we just add something like
{PER_LINUX$word_size, un.machine, un.machine}
to transitions dynamically at runtime? Or wouldn't it make any sense?

cu,
Rudi