• support@answerspoint.com

Is putting security checks in the C library a good or a bad idea?

3839

It is maybe a good idea if performance is a concern, as it bypasses the context switch (from user mode to kernel mode and back) which is an expensive (time-consuming) operation, while providing a basic level of protection from badly written programmes. However, it would be stupid not to put security checks in the kernel libraries because the user-land C libraries can be freely attacked by malicious users and programmes.

0Answer


Your Answer

    Facebook Share        
       
  • asked 9 years ago
  • viewed 3839 times
  • active 9 years ago

Best Rated Questions