diff options
| author | David Howells <[email protected]> | 2008-04-29 08:01:19 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-29 15:06:16 +0000 |
| commit | 38bbca6b6f164e08a4a9cdfd719fff679af98375 (patch) | |
| tree | c4d4839e57bbcbae1ecfa7867b810c6203b0d601 /security/selinux/hooks.c | |
| parent | elf: fix shadowed variables in fs/binfmt_elf.c (diff) | |
| download | kernel-38bbca6b6f164e08a4a9cdfd719fff679af98375.tar.gz kernel-38bbca6b6f164e08a4a9cdfd719fff679af98375.zip | |
keys: increase the payload size when instantiating a key
Increase the size of a payload that can be used to instantiate a key in
add_key() and keyctl_instantiate_key(). This permits huge CIFS SPNEGO blobs
to be passed around. The limit is raised to 1MB. If kmalloc() can't allocate
a buffer of sufficient size, vmalloc() will be tried instead.
Signed-off-by: David Howells <[email protected]>
Cc: Paul Moore <[email protected]>
Cc: Chris Wright <[email protected]>
Cc: Stephen Smalley <[email protected]>
Cc: James Morris <[email protected]>
Cc: Kevin Coffman <[email protected]>
Cc: Steven French <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
