diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-12-12 17:57:22 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-12-13 00:46:16 +0100 |
commit | fad5a6c66e73d3df20846906121d52159e1f6bf4 (patch) | |
tree | 205cd89c4ee6a9185cbff630afe1dd3238056940 /src/journal/journal-send.c | |
parent | fc86aa0ed204922dcafa85353cb10e1aa7d91a76 (diff) |
journal: add debug mode for mmap-cache (--enable-debug=mmap-cache)
This is useful for exposing unsafe access to mmapped objects after
the context that they were mapped in was already moved.
For example:
journal_file_move_to_object(f1, OBJECT_DATA, p1, &o1);
journal_file_move_to_object(f2, OBJECT_DATA, p2, &o2);
t = o1->object.type; /* this usually works, but is unsafe */
Diffstat (limited to 'src/journal/journal-send.c')
0 files changed, 0 insertions, 0 deletions