]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: make cifs_copy_sid handle a source sid with variable size subauth arrays
authorJeff Layton <jlayton@redhat.com>
Fri, 19 Oct 2012 15:23:39 +0000 (11:23 -0400)
committerJeff Layton <jlayton@redhat.com>
Fri, 19 Oct 2012 15:23:39 +0000 (11:23 -0400)
commit8df283a450fab8047f11977e615ce93f2b952efb
treef98b9e7bafa8e53ad88eaee1aa6898810bbe20c0
parent322def600e0892e27fee2d6c9b869f7622dae025
cifs: make cifs_copy_sid handle a source sid with variable size subauth arrays

...and lift the restriction in id_to_sid upcall that the size must be
at least as big as a full cifs_sid.

Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/cifs/cifsacl.c
fs/cifs/cifsacl.h