[RFC][PATCH] mm: search_binary_handler mem limit fix

2007-01-20 Thread Dmitriy Monakhov
Function change mem limit to USER_DS before possible modprobe, but never restore it again. Why does this happend, is it just forgotten? As i understand currently this not cause actual problems, but any one may call access_ok() after search_binary_handler() and will be really surprised.

[RFC][PATCH] mm: search_binary_handler mem limit fix

2007-01-20 Thread Dmitriy Monakhov
Function change mem limit to USER_DS before possible modprobe, but never restore it again. Why does this happend, is it just forgotten? As i understand currently this not cause actual problems, but any one may call access_ok() after search_binary_handler() and will be really surprised.