chnaged kernel stack permission before removing
Merge branch 'master' of https://github.com/willxie/comp_421
trap mem works and tested