cifscreds: make cifscreds use the "logon" key_type
authorJeff Layton <jlayton@samba.org>
Tue, 17 Jan 2012 21:35:50 +0000 (16:35 -0500)
committerJeff Layton <jlayton@samba.org>
Tue, 17 Jan 2012 21:35:50 +0000 (16:35 -0500)
commit32238d0e8e0994b0614d31f6922c7bfa56ac74bc
tree8a632b529d1c860846e85bb6b91258ba92767459
parent4fee11f2e35b08e4184c2f4615074ad0b187b84a
cifscreds: make cifscreds use the "logon" key_type

...and have it loosen the permissions to allow searching. There seems
to be no clear way to make user keys unreadable, but still allow for
them to be searched, so we'll need a new key_type that doesn't allow
you to read the payload from userspace. That will be proposed in a
separate kernel patch.

Signed-off-by: Jeff Layton <jlayton@samba.org>
cifscreds.c