projects
/
lttng-ust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
ac64486
)
Fix: don't SIGBUS when filesystem is full
author
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Fri, 18 May 2012 21:07:06 +0000
(17:07 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Fri, 18 May 2012 21:10:30 +0000
(17:10 -0400)
Write zeroes into the buffer after its allocation to ensure that writes
to the shm will not trigger SIGBUS upon full filesystem situations.
This scenario can occur if /dev/shm is filled, e.g. by specifying too
large buffers with --enable-channel.
When the write() fails, the buffer creation for this channel fails.
Fixes #230
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
No differences found
This page took
0.025774 seconds
and
4
git commands to generate.