From: David Howells Date: Thu, 28 Apr 2011 15:26:38 +0000 (+0100) Subject: CRED: Fix load_flat_shared_library() to initialise bprm correctly X-Git-Tag: v3.0-rc1~309^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a852d3bd53e718206a18b015909c4b575952692;p=pandora-kernel.git CRED: Fix load_flat_shared_library() to initialise bprm correctly Fix binfmt_flag's load_flat_shared_library() to initialise bprm correctly. Currently, prepare_binprm() is called with only .filename .file and .cred fields set in bprm, but the .cred_prepared and .per_clear fields at least need initialising. Reported-by: Tetsuo Handa Signed-off-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed