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)  

mount_flags.c File Reference
#include <sys/mount.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>
#include "includes.h"
Include dependency graph for mount_flags.c:

Go to the source code of this file.

Macros

#define MOUNT_WITH_NOEXEC_BY_DEFAULT   0
 

Functions

static int _user_has_no_access (uid_t uid)
 
int zuluCryptMountFlagsAreNotCorrect (const char *mode, uid_t uid, unsigned long *flags)
 

Macro Definition Documentation

◆ MOUNT_WITH_NOEXEC_BY_DEFAULT

#define MOUNT_WITH_NOEXEC_BY_DEFAULT   0

Definition at line 26 of file mount_flags.c.

Function Documentation

◆ _user_has_no_access()

static int _user_has_no_access ( uid_t  uid)
static

Definition at line 28 of file mount_flags.c.

References zuluCryptUserIsAMemberOfAGroup().

Referenced by zuluCryptMountFlagsAreNotCorrect().

◆ zuluCryptMountFlagsAreNotCorrect()

int zuluCryptMountFlagsAreNotCorrect ( const char *  mode,
uid_t  uid,
unsigned long *  flags 
)