Displaying 20 results from an estimated 163 matches for "cafasso".
2016 Aug 25
10
[PATCH v2 0/6] New API: find_inode
v2:
- refactor logic to reduce code duplication
- better functions naming
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 156 ++++++++++++++++++++++++++++++-------------
generator/actions.ml...
2016 Sep 17
7
[PATCH 0/4] New API - find_block
...er to search all the filesystem entries
referring to a given data block and returns a tsk_dirent structure
for each of them.
Use case examples:
- Check whether a block containing a deleted file has been re-used to store a new one.
- Map a certain area of a disk with the contained files.
Matteo Cafasso (4):
New API: internal_find_block
New API: find_block
find_block: added API tests
TSK: small refactoring
daemon/tsk.c | 89 ++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 25 +++++++++++++
src/MAX_PROC_NR | 2 +-
src/tsk.c...
2016 Sep 15
9
[PATCH v5 0/6] New API - find_inode
v5:
- small doc fix: filesystem_walk claimed '.' and '..' entries were
not reported but Root is now reported as '.'
- bump to 1.35.6
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 161 ++++++++++++++++++++++++++++++-------------
generator/actions.ml...
2016 Aug 26
2
Re: [PATCH v2 1/6] filesystem_walk: fixed root inode listing
On Thursday, 25 August 2016 23:53:51 CEST Matteo Cafasso wrote:
> With the current implementation, the root inode of the given partition
> is ignored.
>
> The root inode is now reported. Its name will be a single dot '.'
> reproducing the TSK API.
>
> Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
> ---
> d...
2016 Apr 05
1
Re: [PATCH v3 1/5] generator: Added tsk_dirent struct
On Tuesday 05 April 2016 18:47:28 Matteo Cafasso wrote:
> The tsk_dirent struct contains the information gathered via TSK APIs.
>
> The struct contains the following fields:
> * tsk_inode: inode of a file
> * tsk_type: type of file such as for dirwalk command
> * tsk_size: file size in bytes
> * tsk_name: path relative t...
2016 Sep 19
5
[PATCH v2 0/3] New API - find_block
v2:
- use boolean field in struct
- move refactoring to previous series
Matteo Cafasso (3):
New API: internal_find_block
New API: find_block
find_block: added API tests
daemon/tsk.c | 90 ++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 25 ++++++++++++
src/MAX_PROC_NR | 2 +-
src/tsk.c | 17 +++++++++...
2016 Sep 19
5
[PATCH v7 0/4] New API - find_inode
v7:
- Merge src/tsk.c refactoring patch with #4 of find_block series
Matteo Cafasso (4):
lib: logic refactoring
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 52 ++++++++++++++++++++++++++++++++++
generator/actions.ml | 21 ++++++++++++++
src/MAX_PROC_NR | 2 +-
src/tsk.c...
2016 Aug 24
6
[PATCH 0/3] New API: find_inode
...API allows the User to search all the entries referring
to a given inode and returns a tsk_dirent structure for each of them.
As I didn't want to change unrelated code, there is a little bit
of code duplication at the moment. Plan is to refactor the logic
in a dedicated set of patches.
Matteo Cafasso (3):
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 75 ++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 21 +++++++++++++
src/MAX_PROC_NR | 2 +-
src/tsk.c | 26 ++++++++...
2016 Jul 03
4
[PATCH 0/2] More information reported by filesystem_walk
...atus update and creation time in Unix format.
Report number of links pointing to a given entry.
If the entry is a symbolic link, report the path of its target.
If the filesystem supports native/transparent compression, report compressed
files with dedicated flag (DIRENT_COMPRESSED 0x04).
Matteo Cafasso (2):
filesystem_walk: more information into tsk_dirent
filesystem_walk: update tests
daemon/tsk.c | 39 +++++++++++++++++++++++++++-------
generator/actions.ml | 34 ++++++++++++++++++++++++++++++
generator/structs.ml | 20 +++++++++---------
tes...
2016 Sep 20
5
[PATCH v3 0/3] New API - find_block
v3:
- fixed attribute walk callback: checking against TSK_FS_BLOCK_FLAG_RAW flag would
exclude compressed data blocks which are still important.
Yet we want to exclude sparse blocks (TSK_FS_BLOCK_FLAG_SPARSE) as they are not stored
on the disk.
Matteo Cafasso (3):
New API: internal_find_block
New API: find_block
find_block: added API tests
daemon/tsk.c | 91 ++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 25 ++++++++++++
src/MAX_PROC_NR | 2 +-
src/tsk.c | 17 +++++++++...
2016 Sep 16
7
[PATCH v6 0/6] New API - find_inode
This series should be ready for merge
v6:
- rebase on master
- changes according to last comments
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 155 ++++++++++++++++++++++++++++++-------------
generator/actions.ml...
2016 Jun 28
2
[PATCH] Reserve entries to tsk_dirent struct
Already implemented entries.
tsk_inode
tsk_type
tsk_size
tsk_name
tsk_flags
Easy ones to add.
tsk_atime_sec
tsk_atime_nsec
tsk_mtime_sec
tsk_mtime_nsec
tsk_ctime_sec
tsk_ctime_nsec
tsk_blksize
tsk_blocks
Further ideas.
tsk_nlink
tsk_link_name
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
---
daemon/tsk.c | 4 +++-
generator/structs.ml | 6 ++++++
tests/tsk/test-filesystem-walk.sh | 16 ++++++++++++++--
3 files changed, 23 insertions(+), 3 deletions(-)
diff --git a/daemon/tsk.c b/daemon/tsk.c
index 65159ad..446213e 100...
2016 Mar 30
4
[PATCH 0/3] rename icat API into download_inode
...as "donwload". Therefore I am renaming it with a more clear name.
At the same go I cleaned up a bit the code following the standards and improved the API documentation.
This patch is ready for review.
Code available at:
https://github.com/noxdafox/libguestfs/tree/download_inode
Matteo Cafasso (3):
Rename icat command in download_inode
Improve download_inode documentation string.
Code cleanup in daemon/sleuthkit.c
daemon/sleuthkit.c | 50 ++++++++++++++++++++-----------------
generator/actions.ml | 10 +++++---
tests/tsk/Makefile.am | 2 +-
t...
2016 Apr 05
10
[PATCH v3 0/5] Added filesystem_walk command
v3:
- File size will be reported as - 1 if it cannot be retrieved.
- Code improvements based on comments.
Matteo Cafasso (5):
generator: Added tsk_dirent struct
configure: Added libtsk compile-time check
daemon: Added internal_filesystem_walk command
appliance: Added filesystem_walk command
appliance: Added filesystem_walk command tests
daemon/Makefile.am | 4 +-
daemon/tsk.c...
2017 May 21
3
[PATCH 0/2] python: improved UTF8 decoding error handling
...iour will be raising a UnicodeDecodeError.
If the handler is changed to 'surrogateescape', non UTF8 characters will be escaped
in a similar manner as for Python 2.
See PEP383 for reference.
This series fixes also a bug introduced in commit 9d25b4e56471f9c33ea6229a8b620fc800c240f8.
Matteo Cafasso (2):
python: return bytes when return value is RBufferOut
python: unicode decode handler error scheme setter
generator/python.ml | 19 ++++++++++++++++++-
python/handle.c | 28 ++++++++++++++++++++++++++--
python/t/test830RHBZ1406906.py | 6 ++++++
3 files changed,...
2016 Aug 08
1
[PATCH] sleuthkit code cleanup
Small cosmetic changes.
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
---
daemon/sleuthkit.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/daemon/sleuthkit.c b/daemon/sleuthkit.c
index ce738e3..e642731 100644
--- a/daemon/sleuthkit.c
+++ b/daemon/sleuthkit.c
@@ -47,7 +47,8 @@ do_download_inode (const mountable_t...
2016 Aug 24
1
[PATCH] filesystem_walk: fixed root inode listing
With the current implementation, the root inode of the given partition
is ignored.
The root inode is now reported. Its name will be a single dot '.'
reproducing the TSK API.
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
---
daemon/tsk.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/daemon/tsk.c b/daemon/tsk.c
index dd368d7..4a0517b 100644
--- a/daemon/tsk.c
+++ b/daemon/tsk.c
@@ -114,9 +114,12 @@ fswalk_callback (TSK_FS_FILE *fsfile, const char *path, void...
2016 Nov 09
1
[PATCH] upload: improve file write callback
...passes the first member of
the struct which happens to be the right address to the callback
function.
This will break the callback if order of the members of the struct will
change.
As the callback is using the entire struct, better to pass the pointer
to the struct itself.
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
---
daemon/upload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/upload.c b/daemon/upload.c
index f034627..8b4f600 100644
--- a/daemon/upload.c
+++ b/daemon/upload.c
@@ -84,7 +84,7 @@ upload (const char *filename, int flags, int64_t offset)...
2016 Aug 26
6
[PATCH v3 0/6] New API: find_inode
v3:
- coding style fixes
- comment entry_is_dot logic
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 157 ++++++++++++++++++++++++++++++-------------
generator/actions.ml...
2016 Apr 01
1
[PATCH] python: Fix bug in code generator
...e Python code generator will generate
code referencing a dirent struct instead of the correct one
thus breaking at compile time.
This bug was left unnoticed because the dirent struct is the only
one using FChar fields. Yet it prevents any other struct
from using such fields.
Signed-off-by: Matteo Cafasso <noxdafox at gmail.com>
---
generator/python.ml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/generator/python.ml b/generator/python.ml
index 9663fb4..9d9dc4a 100644
--- a/generator/python.ml
+++ b/generator/python.ml
@@ -225,10 +225,12 @@ put_table (char * const...