summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-06-19 03:26:35 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-06-19 03:26:35 +0000
commit392806adca96594002ff9ffe0a0dbeb1e3911842 (patch)
tree3411b9b71688495129fff40e6a59ad7210b640a5 /sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp
parentwww/linux-*-flashplugin: update 11.2r202.577 -> 11.2r202.626 (diff)
sysutils/fusefs-encfs: 1.7.4 -> 1.8.1
- submitter becomes maintainer - reverse: re-enable kernel cache (bug #60) - reverse mode: disable unique IV by default (was enabled in 1.8) - add make benchmark-reverse - remove -o default_permissions unless needed to improve performance - add option --require-macs (bug #14) - add per-file IVs based on the inode number to reverse mode to improve security - add automatic benchmark (make benchmark) - compare MAC in constant time ( fixes bug #12 ) - add --nocache option PR: 210196 Submitted by: Dmitri Goutnik <dg@syrec.org>
Diffstat (limited to 'sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp')
-rw-r--r--sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp b/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp
new file mode 100644
index 000000000000..655621717008
--- /dev/null
+++ b/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp
@@ -0,0 +1,20 @@
+--- encfs/encfs.cpp.orig 2015-03-24 20:45:16 UTC
++++ encfs/encfs.cpp
+@@ -529,6 +529,17 @@ int encfs_open(const char *path, struct
+ return res;
+ }
+
++int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file)
++{
++ int res;
++
++ res = encfs_mknod(path, mode, 0);
++ if (res)
++ return res;
++
++ return encfs_open(path, file);
++}
++
+ int _do_flush(FileNode *fnode) {
+ /* Flush can be called multiple times for an open file, so it doesn't
+ close the file. However it is important to call close() for some