On 12/01/2013 01:03, Alan Hourihane wrote:
Would this be better to be restricted to the TOS domain, by keeping part of the original check ?
Do you wonder what happened to (get_curproc()->domain == DOM_MINT) ?If you look at the lines just before, you will see that if (get_curproc()->domain == DOM_TOS) then mode = T_RAW or T_TOS.
So in TOS domain, mode can never contain T_CRMOD, so the result of "mode &= ~T_CRMOD" will always be 0, just like before.
-- Vincent Rivière