zuluCrypt  5.7.1
About: zuluCrypt is a simple but feature rich solution for hard drives encryption. It can manage PLAIN dm-crypt, LUKS, TrueCrypt and VeraCrypt encrypted volumes.
  Fossies Dox: zuluCrypt-5.7.1.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

security.h File Reference
#include "includes.h"
Include dependency graph for security.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void zuluCryptSecuritySetPrivilegeElevationErrorFunction (void(*)(const char *))
 
void zuluCryptSecuritySanitizeTheEnvironment (uid_t uid, stringList_t *)
 
int zuluCryptSecurityUserOwnTheFile (const char *device, uid_t uid)
 
void zuluCryptSecurityPrintPermissions (void)
 
void zuluCryptSetUserUIDForPrivilegeManagement (uid_t)
 
void zuluCryptSecurityLockMemory (stringList_t stl)
 
void zuluCryptSecurityUnlockMemory (stringList_t stl)
 
void zuluCryptSecurityLockMemory_1 (string_t st)
 
void zuluCryptSecurityUnlockMemory_1 (string_t st)
 
const char * zuluCryptRunTimePath ()
 

Variables

void(* zuluCryptSecurityPrivilegeElevationError )(const char *)
 

Function Documentation

◆ zuluCryptRunTimePath()

const char* zuluCryptRunTimePath ( )

Definition at line 49 of file security.c.

References _run_time_path.

Referenced by zuluCryptEXEOpenVolume(), and zuluCryptGetPassFromFile().

◆ zuluCryptSecurityLockMemory()

void zuluCryptSecurityLockMemory ( stringList_t  stl)

Definition at line 210 of file security.c.

References StringContent(), StringLength(), and StringListGetIterators().

Referenced by main(), and zuluCryptEXEAddKey().

◆ zuluCryptSecurityLockMemory_1()

void zuluCryptSecurityLockMemory_1 ( string_t  st)

Definition at line 185 of file security.c.

References StringContent(), StringLength(), and StringVoid.

Referenced by zuluCryptEXEOpenVolume(), and zuluCryptEXERemoveKey().

◆ zuluCryptSecurityPrintPermissions()

void zuluCryptSecurityPrintPermissions ( void  )

Definition at line 260 of file security.c.

◆ zuluCryptSecuritySanitizeTheEnvironment()

void zuluCryptSecuritySanitizeTheEnvironment ( uid_t  uid,
stringList_t  
)

◆ zuluCryptSecuritySetPrivilegeElevationErrorFunction()

void zuluCryptSecuritySetPrivilegeElevationErrorFunction ( void(*)(const char *)  )

Definition at line 104 of file security.c.

References zuluCryptSecurityPrivilegeElevationError.

Referenced by main().

◆ zuluCryptSecurityUnlockMemory()

void zuluCryptSecurityUnlockMemory ( stringList_t  stl)

Definition at line 229 of file security.c.

References e, StringContent(), StringLength(), StringListGetIterators(), and StringVoid.

Referenced by _zuluExit_1(), _zuluExit_2(), and zuluExit().

◆ zuluCryptSecurityUnlockMemory_1()

void zuluCryptSecurityUnlockMemory_1 ( string_t  st)

Definition at line 193 of file security.c.

References e, StringContent(), StringLength(), and StringVoid.

◆ zuluCryptSecurityUserOwnTheFile()

int zuluCryptSecurityUserOwnTheFile ( const char *  device,
uid_t  uid 
)

Definition at line 179 of file security.c.

◆ zuluCryptSetUserUIDForPrivilegeManagement()

void zuluCryptSetUserUIDForPrivilegeManagement ( uid_t  )

Definition at line 97 of file security.c.

References global_variable_user_uid.

Referenced by main().

Variable Documentation

◆ zuluCryptSecurityPrivilegeElevationError

void( * zuluCryptSecurityPrivilegeElevationError) (const char *)