Skip to content
Commit 5c598b34 authored by Al Viro's avatar Al Viro
Browse files

[PATCH] fix sysctl_nr_open bugs



* if luser with root sets it to something that is not a multiple of
  BITS_PER_LONG, the system is screwed.
* if it gets decreased at the wrong time, we can get expand_files()
  returning success and _not_ increasing the size of table as asked.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2030a42c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment