f9d22c4f18
modernize: unindent else after return
2017-08-03 22:43:14 -07:00
c37ab8e671
modernize: explicit conversions, braces around blocks
2017-08-03 22:42:39 -07:00
5a99506ea8
modernize: use C++ headers, auto, make_shared
2017-08-03 22:00:32 -07:00
b04c4124d4
modernize-use-nullptr: replace NULL, 0 with nullptr
2017-08-03 21:42:30 -07:00
e2f0f8e3c6
fuseFhMap: translate FUSE file handles to FileNode pointers
...
Previously, we used raw pointers to the FileNode as FUSE file handles.
With this change, we instead pass an arbitrary value (a uint64 counter)
to the kernel as FUSE file handle, and use the "fuseFhMap" look-up table
to convert back to the FileNode pointer.
This gets rid of a lot of scary void pointer casts. The performance
cost is not measurable.
2017-07-24 22:41:35 +02:00
c8ff1f94e8
Add a canary value to FileNode
...
Adds a uint32 value to FileNode that is initialized to an
arbitrary value (CANARY_OK) in the constructor, and reset
when the reference is dropped (CANARY_RELEASED,
CANARY_DESTROYED).
The canary is checked on each withFileNode call.
Makes it much easier to trigger the bug seen in
https://github.com/vgough/encfs/issues/214 .
2017-07-19 22:57:35 +02:00
95c7d92f94
run clang-format
2016-09-08 20:27:04 +02:00
37cf68c8c5
Bugfix: Segfault when running paranoid config in verbose mode
...
When "external IV chaining" is enabled, cipherName_ parameter may be
NULL, resulting in segfault in verbose log attempt
2016-08-12 08:00:56 +02:00
05a749d32f
replace INFO log level
2016-04-25 21:18:08 -07:00
46a5c9f4f9
replace rlog with easylogging++
2016-04-24 23:15:43 -07:00
32fe6e104a
run IYWU to fixup includes
2015-06-17 22:44:11 -07:00
b3c851982f
reformat using clang
2014-10-18 19:19:33 -07:00
b5352f2381
1.x: backport support for std::shared_ptr, use __APPLE__ instead of __FreeBSD__
...
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@130 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-16 18:24:07 +00:00
96d21a4d54
fix compiler warnings on osx 10.9
...
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@127 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-11 06:19:49 +00:00
75837b902c
apply license change
...
git-svn-id: http://encfs.googlecode.com/svn/branches/1.7.x_lgpl@91 db9cf616-1c43-0410-9cb8-a902689de0d6
2012-10-22 05:30:55 +00:00
0d24e66ec9
allow per-block rand bytes to be use independently from block MAC
...
git-svn-id: http://encfs.googlecode.com/svn/trunk@62 db9cf616-1c43-0410-9cb8-a902689de0d6
2010-09-06 04:23:22 +00:00
17071239d8
Cleanup option passing to make it simpler to pass options around.
...
Add new initialization vector setup mode for new filesystems.
git-svn-id: http://encfs.googlecode.com/svn/trunk@59 db9cf616-1c43-0410-9cb8-a902689de0d6
2010-08-30 06:32:05 +00:00
5cc7397e42
include cstring in several files, patch by A.Klitzing
...
git-svn-id: http://encfs.googlecode.com/svn/trunk@26 db9cf616-1c43-0410-9cb8-a902689de0d6
2008-05-15 17:03:30 +00:00
30ed7062d3
add zero-block pass-through option, enabling allow-holes code
...
git-svn-id: http://encfs.googlecode.com/svn/trunk@14 db9cf616-1c43-0410-9cb8-a902689de0d6
2008-04-11 08:37:19 +00:00
9ce4a03887
add error checking to setfsuid/setfsgid calls
...
git-svn-id: http://encfs.googlecode.com/svn/trunk@13 db9cf616-1c43-0410-9cb8-a902689de0d6
2008-04-11 08:36:51 +00:00
4fc836f032
Import version 1.4.0
...
git-svn-id: http://encfs.googlecode.com/svn/trunk@2 db9cf616-1c43-0410-9cb8-a902689de0d6
2008-01-07 08:09:04 +00:00