"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zuluCrypt-cli/lib/mount_volume.c" between
zuluCrypt-5.7.0.tar.xz and zuluCrypt-5.7.1.tar.xz

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.

mount_volume.c  (zuluCrypt-5.7.0.tar.xz):mount_volume.c  (zuluCrypt-5.7.1.tar.xz)
skipping to change at line 449 skipping to change at line 449
string_t loop = StringVoid ; string_t loop = StringVoid ;
int fd = -1 ; int fd = -1 ;
m_struct mst ; m_struct mst ;
mst.device = path ; mst.device = path ;
mst.m_point = m_point ; mst.m_point = m_point ;
mst.uid = uid ; mst.uid = uid ;
mst.m_flags = mount_opts ; mst.m_flags = mount_opts ;
int bitLockerVolume = zuluCryptBitLockerVolume( path ) ; int bitLockerVolumeUsingDislocker = zuluCryptIsDislockerMapperPath( path ) ;
if( bitLockerVolume ){ if( bitLockerVolumeUsingDislocker ) {
fs = zuluCryptBitLockerVolumeFS( path ) ; fs = zuluCryptBitLockerVolumeFS( path ) ;
}else{ }else{
/* /*
* zuluCryptGetFileSystemFromDevice() is defined in blkid_evaluat e_tag.c * zuluCryptGetFileSystemFromDevice() is defined in blkid_evaluat e_tag.c
*/ */
fs = zuluCryptGetFileSystemFromDevice( path ) ; fs = zuluCryptGetFileSystemFromDevice( path ) ;
} }
if( StringsAreEqual_2( fs,"Nil" ) || fs == StringVoid ){ if( StringsAreEqual_2( fs,"Nil" ) || fs == StringVoid ){
skipping to change at line 490 skipping to change at line 490
*/ */
if( zuluCryptMountHasNotAllowedFileSystemOptions( uid,fs_opts,fs ) ){ if( zuluCryptMountHasNotAllowedFileSystemOptions( uid,fs_opts,fs ) ){
return zuluExit( -1,fd,opts,fs,loop ) ; return zuluExit( -1,fd,opts,fs,loop ) ;
} }
mst.fs_flags = fs_opts ; mst.fs_flags = fs_opts ;
mst.fs = StringContent( fs ) ; mst.fs = StringContent( fs ) ;
opts = set_mount_options( &mst ) ; opts = set_mount_options( &mst ) ;
if( StringPrefixNotEqual( path,"/dev/" ) || bitLockerVolume ){ if( StringPrefixNotEqual( path,"/dev/" ) || bitLockerVolumeUsingDislocker ){
/* /*
* zuluCryptAttachLoopDeviceToFile() is defined in ./create_loop_ device.c * zuluCryptAttachLoopDeviceToFile() is defined in ./create_loop_ device.c
*/ */
if( zuluCryptAttachLoopDeviceToFile( mst.device,O_RDWR,&fd,&loop ) ){ if( zuluCryptAttachLoopDeviceToFile( mst.device,O_RDWR,&fd,&loop ) ){
mst.device = StringContent( loop ) ; mst.device = StringContent( loop ) ;
}else{ }else{
return zuluExit( -1,fd,opts,fs,loop ) ; return zuluExit( -1,fd,opts,fs,loop ) ;
} }
} }
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)