Comparative evaluation of mainstream operating system security mechanisms