mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-15 21:00:05 +01:00
* Move memory locking and dm initialization to command layer.
* Increase priority of process if memory is locked. Signed-off-by: Milan Broz <mbroz@redhat.com> git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@91 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
@@ -33,4 +33,11 @@
|
||||
#define DEFAULT_KEY_SIZE 256
|
||||
#define DEFAULT_LUKS_KEY_SIZE 128
|
||||
|
||||
/* Helper funcions provided by internal libcryptsetup objects */
|
||||
struct crypt_device;
|
||||
extern int memlock_inc(struct crypt_device *ctx);
|
||||
extern int memlock_dec(struct crypt_device *ctx);
|
||||
extern int dm_init(struct crypt_device *context, int check_kernel);
|
||||
extern void dm_exit(void);
|
||||
|
||||
#endif /* CRYPTSETUP_H */
|
||||
|
||||
Reference in New Issue
Block a user