• Al Viro's avatar
    [PATCH] fix sysctl_nr_open bugs · 5c598b34
    Al Viro authored
    * 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>
    5c598b34
file.c 7 KB