From: WANG Cong Date: Thu, 8 May 2008 13:52:33 +0000 (+0800) Subject: [Patch] fs/binfmt_elf.c: fix wrong return values X-Git-Tag: v2.6.26-rc4~115^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23c4971e3d97de4e1b7961ca6eacee35aa15ce5f;p=pandora-kernel.git [Patch] fs/binfmt_elf.c: fix wrong return values create_elf_tables() returns 0 on success. But when strnlen_user() "fails", it returns 0 directly. So this is wrong. Signed-off-by: WANG Cong Cc: Alexander Viro Signed-off-by: Al Viro --- Reading git-diff-tree failed