~ubuntu-branches/debian/lenny/ecryptfs-utils/lenny

« back to all changes in this revision

Viewing changes to src/libecryptfs/sysfs.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-24 06:42:00 UTC
  • mto: (9.1.1 sid) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20081024064200-k96g3t9xs3dteya2
Tags: upstream-63
ImportĀ upstreamĀ versionĀ 63

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
        return (version & ECRYPTFS_VERSIONING_HMAC);
143
143
}
144
144
 
 
145
int ecryptfs_supports_filename_encryption(uint32_t version)
 
146
{
 
147
        return (version & ECRYPTFS_VERSIONING_FILENAME_ENCRYPTION);
 
148
}
 
149
 
145
150
int ecryptfs_supports_policy(uint32_t version)
146
151
{
147
152
        return (version & ECRYPTFS_VERSIONING_POLICY);