Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • fs
  • ecryptfs
  • ecryptfs_kernel.h
Find file BlameHistoryPermalink
  • Tyler Hicks's avatar
    eCryptfs: Strip metadata in xattr flag in encrypted view · f4e60e6b
    Tyler Hicks authored Feb 11, 2010
    
    
    The ecryptfs_encrypted_view mount option provides a unified way of
    viewing encrypted eCryptfs files.  If the metadata is stored in a xattr,
    the metadata is moved to the file header when the file is read inside
    the eCryptfs mount.  Because of this, we should strip the
    ECRYPTFS_METADATA_IN_XATTR flag from the header's flag section.  This
    allows eCryptfs to treat the file as an eCryptfs file with a header
    at the front.
    
    Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
    Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
    f4e60e6b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7