Skip to content
  • Roberto Sassu's avatar
    ecryptfs: added ecryptfs_mount_auth_tok_only mount parameter · f16feb51
    Roberto Sassu authored
    
    
    This patch adds a new mount parameter 'ecryptfs_mount_auth_tok_only' to
    force ecryptfs to use only authentication tokens which signature has
    been specified at mount time with parameters 'ecryptfs_sig' and
    'ecryptfs_fnek_sig'. In this way, after disabling the passthrough and
    the encrypted view modes, it's possible to make available to users only
    files encrypted with the specified authentication token.
    
    Signed-off-by: default avatarRoberto Sassu <roberto.sassu@polito.it>
    Cc: Dustin Kirkland <kirkland@canonical.com>
    Cc: James Morris <jmorris@namei.org>
    [Tyler: Clean up coding style errors found by checkpatch]
    Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
    f16feb51