From: Eric Paris Date: Thu, 28 Oct 2010 21:21:57 +0000 (-0400) Subject: fanotify: limit the number of marks in a single fanotify group X-Git-Tag: v2.6.37-rc1~17^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7099d8a5a34d2876908a9fab4952dabdcfc5909;p=pandora-kernel.git fanotify: limit the number of marks in a single fanotify group There is currently no limit on the number of marks a given fanotify group can have. Since fanotify is gated on CAP_SYS_ADMIN this was not seen as a serious DoS threat. This patch implements a default of 8192, the same as inotify to work towards removing the CAP_SYS_ADMIN gating and eliminating the default DoS'able status. Signed-off-by: Eric Paris --- Reading git-diff-tree failed