diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-04-27 20:04:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-01 13:08:57 -0400 |
commit | 5c598b3428c372a1209597cee99a70da20625876 (patch) | |
tree | 2ab9df5d60471e28074e97dca3c97b8c37d626b3 /lib/rwsem.c | |
parent | 2030a42cecd4dd1985a2ab03e25f3cd6106a5ca8 (diff) | |
download | blackbird-op-linux-5c598b3428c372a1209597cee99a70da20625876.tar.gz blackbird-op-linux-5c598b3428c372a1209597cee99a70da20625876.zip |
[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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/rwsem.c')
0 files changed, 0 insertions, 0 deletions