Commit 7d8bc2be51706152828164b305e969b4a8471041
Committed by
Linus Torvalds
1 parent
a8f12864c5
Exists in
master
and in
7 other branches
eCryptfs: kerneldoc for ecryptfs_parse_tag_70_packet()
Kerneldoc updates for ecryptfs_parse_tag_70_packet(). Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> Cc: Dustin Kirkland <dustin.kirkland@gmail.com> Cc: Eric Sandeen <sandeen@redhat.com> Cc: Tyler Hicks <tchicks@us.ibm.com> Cc: David Kleikamp <shaggy@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 11 additions and 0 deletions Side-by-side Diff
fs/ecryptfs/keystore.c
... | ... | @@ -771,6 +771,17 @@ |
771 | 771 | /** |
772 | 772 | * parse_tag_70_packet - Parse and process FNEK-encrypted passphrase packet |
773 | 773 | * @filename: This function kmalloc's the memory for the filename |
774 | + * @filename_size: This function sets this to the amount of memory | |
775 | + * kmalloc'd for the filename | |
776 | + * @packet_size: This function sets this to the the number of octets | |
777 | + * in the packet parsed | |
778 | + * @mount_crypt_stat: The mount-wide cryptographic context | |
779 | + * @data: The memory location containing the start of the tag 70 | |
780 | + * packet | |
781 | + * @max_packet_size: The maximum legal size of the packet to be parsed | |
782 | + * from @data | |
783 | + * | |
784 | + * Returns zero on success; non-zero otherwise | |
774 | 785 | */ |
775 | 786 | int |
776 | 787 | ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size, |