From: David Howells Date: Thu, 23 Apr 2009 15:41:13 +0000 (+0100) Subject: ROMFS: romfs_lookup() shouldn't be doing a partial name comparison X-Git-Tag: v2.6.30-rc4~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84baf74bf23bbe9f3deafb5d2f27e2b5dc0bc052;p=pandora-kernel.git ROMFS: romfs_lookup() shouldn't be doing a partial name comparison romfs_lookup() should be using a routine akin to strcmp() on the backing store, rather than one akin to strncmp(). If it uses the latter, it's liable to match /bin/shutdown when looking up /bin/sh. Signed-off-by: David Howells Tested-by: Michal Simek Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed