lkml.org 
[lkml]   [2008]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] eCryptfs: kerneldoc for ecryptfs_parse_tag_70_packet()
    On Thu, Nov 06, 2008 at 02:12:34PM -0800, Andrew Morton wrote:
    > On Tue, 4 Nov 2008 15:39:08 -0600
    > Michael Halcrow <mhalcrow@us.ibm.com> wrote:
    > > +/**
    > > + * parse_tag_70_packet - Parse and process FNEK-encrypted passphrase packet
    > > + * @filename: This function kmalloc's the memory for the filename
    > > + */
    >
    > This kernedoc missed lots of the arguments.

    Kerneldoc updates for ecryptfs_parse_tag_70_packet().

    Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
    ---
    fs/ecryptfs/keystore.c | 11 +++++++++++
    1 files changed, 11 insertions(+), 0 deletions(-)

    diff --git a/fs/ecryptfs/keystore.c b/fs/ecryptfs/keystore.c
    index 71dcf0e..3c90250 100644
    --- a/fs/ecryptfs/keystore.c
    +++ b/fs/ecryptfs/keystore.c
    @@ -771,6 +771,17 @@ struct ecryptfs_parse_tag_70_packet_silly_stack {
    /**
    * parse_tag_70_packet - Parse and process FNEK-encrypted passphrase packet
    * @filename: This function kmalloc's the memory for the filename
    + * @filename_size: This function sets this to the amount of memory
    + * kmalloc'd for the filename
    + * @packet_size: This function sets this to the the number of octets
    + * in the packet parsed
    + * @mount_crypt_stat: The mount-wide cryptographic context
    + * @data: The memory location containing the start of the tag 70
    + * packet
    + * @max_packet_size: The maximum legal size of the packet to be parsed
    + * from @data
    + *
    + * Returns zero on success; non-zero otherwise
    */
    int
    ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size,
    --
    1.5.3.7


    \
     
     \ /
      Last update: 2008-11-12 18:09    [W:2.290 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site