"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cryptmount.c" between
cryptmount-5.3.2.tar.gz and cryptmount-5.3.3.tar.gz

About: cryptmount allows any user to access encrypted filing systems on demand under GNU/Linux systems. It also assists the system administrator in creating and managing encrypted filesystems based on the kernels dm-crypt device-mapper target.

cryptmount.c  (cryptmount-5.3.2):cryptmount.c  (cryptmount-5.3.3)
/* /*
* cryptmount - a utility for user-level mounting of encrypted filesystems * cryptmount - a utility for user-level mounting of encrypted filesystems
* (C)Copyright 2005-2019, RW Penney * (C)Copyright 2005-2021, RW Penney
*/ */
/* /*
This file is part of cryptmount This file is part of cryptmount
cryptmount is free software; you can redistribute it and/or modify cryptmount is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. (at your option) any later version.
skipping to change at line 165 skipping to change at line 165
#ifdef BLKGETSIZE64 #ifdef BLKGETSIZE64
int fd, n_open, seclen; int fd, n_open, seclen;
long len; long len;
uint64_t len64; uint64_t len64;
const char **dev; const char **dev;
const char *devices[] = { const char *devices[] = {
"/dev/hda", "/dev/hda1", "/dev/hda2", "/dev/hda3", "/dev/hda", "/dev/hda1", "/dev/hda2", "/dev/hda3",
"/dev/hdb", "/dev/hdb1", "/dev/hdb2", "/dev/hdb3", "/dev/hdb", "/dev/hdb1", "/dev/hdb2", "/dev/hdb3",
"/dev/sda", "/dev/sda1", "/dev/sda2", "/dev/sda3", "/dev/sda", "/dev/sda1", "/dev/sda2", "/dev/sda3",
"/dev/sdb", "/dev/sdb1", "/dev/sdb2", "/dev/sdb3", "/dev/sdb", "/dev/sdb1", "/dev/sdb2", "/dev/sdb3",
"/dev/xvda", "/dev/xvda1", "/dev/vda", "/dev/vda1", "/dev/xvda", "/dev/xvda1",
"/dev/sr0", "/dev/sr1", "/dev/sr0", "/dev/sr1",
NULL }; NULL };
#endif #endif
CM_TEST_START("BLKGETSIZE ioctl calls"); CM_TEST_START("BLKGETSIZE ioctl calls");
#ifndef BLKGETSIZE64 #ifndef BLKGETSIZE64
/* Assume that there is no ambiguity with BLKGETSIZE */ /* Assume that there is no ambiguity with BLKGETSIZE */
CM_TEST_PASS(); CM_TEST_PASS();
#else #else
dev = devices; dev = devices;
skipping to change at line 1558 skipping to change at line 1558
} }
free_config(&tgttable); free_config(&tgttable);
munlockall(); munlockall();
clear_env_dictionary(); clear_env_dictionary();
return eflag; return eflag;
} }
/* /*
* (C)Copyright 2005-2019, RW Penney * (C)Copyright 2005-2021, RW Penney
*/ */
 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)