commit | a7fedb7073d7b72f70b198ffdb377b5290c6a1af | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Mon Nov 13 14:12:23 2017 -0800 |
committer | Andrew Boie <andrewboie@gmail.com> | Mon Nov 13 16:25:40 2017 -0800 |
tree | 928aa2645fb66cea491f62f16bf6ce6040bab633 | |
parent | e754d44791c009f31ecb0ff36f2afc841fef0835 [diff] |
_setup_new_thread: fix crash on ARM On arches which have custom logic to do the initial swap into the main thread, _current may be NULL. This happens when instantiating the idle and main threads. If this is the case, skip checks for memory domain and object permission inheritance, in this case there is never anything to inherit. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>