summaryrefslogtreecommitdiff
path: root/src/journal/journal-verify.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-12-12 17:57:22 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-12-13 00:46:16 +0100
commitfad5a6c66e73d3df20846906121d52159e1f6bf4 (patch)
tree205cd89c4ee6a9185cbff630afe1dd3238056940 /src/journal/journal-verify.c
parentfc86aa0ed204922dcafa85353cb10e1aa7d91a76 (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-verify.c')
0 files changed, 0 insertions, 0 deletions