]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] strndup_user: convert keyctl
authorDavi Arnaut <davi.arnaut@gmail.com>
Fri, 24 Mar 2006 11:18:43 +0000 (03:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:31 +0000 (07:33 -0800)
commiteba77ffdbccc0d859d707087cc410374b4104230
tree2d3636949d65d5e4911bc9106ddfdf75872c2380
parente88160a82bf653345a4a293da596cedc26ca6b96
[PATCH] strndup_user: convert keyctl

Copies user-space string with strndup_user() and moves the type string
duplication code to a function (thus fixing a wrong check on the length of the
type.)

Signed-off-by: Davi Arnaut <davi.arnaut@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/keys/keyctl.c