From: Al Viro Date: Sat, 10 May 2008 14:08:32 +0000 (-0400) Subject: [PATCH] avoid multiplication overflows and signedness issues for max_fds X-Git-Tag: v2.6.26-rc4~115^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eceea0b3df05ed262ae32e0c6340cc7a3626632d;p=pandora-kernel.git [PATCH] avoid multiplication overflows and signedness issues for max_fds Limit sysctl_nr_open - we don't want ->max_fds to exceed MAX_INT and we don't want size calculation for ->fd[] to overflow. Signed-off-by: Al Viro --- Reading git-diff-tree failed