diff options
author | 2011-04-28 16:26:38 +0100 | |
---|---|---|
committer | 2011-05-03 10:10:51 +1000 | |
commit | 3a852d3bd53e718206a18b015909c4b575952692 (patch) | |
tree | 86a6f7a6a96f4b333cd65d883320a565b39b11a8 /kernel/sysctl.c | |
parent | TOMOYO: Fix refcount leak in tomoyo_mount_acl(). (diff) | |
download | wireguard-linux-3a852d3bd53e718206a18b015909c4b575952692.tar.xz wireguard-linux-3a852d3bd53e718206a18b015909c4b575952692.zip |
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 <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions