summaryrefslogtreecommitdiff
path: root/drivers/tc
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <koct9i@gmail.com>2014-06-05 03:05:30 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 03:53:51 +0400
commit1d46598b7903cd5ec83c49adbd741f43bb0ffcdc (patch)
tree162df1711beca7f301a0c1d8b1967dde7012e72c /drivers/tc
parentd27050641e9bc056446deb0814e7ba1aa7911f5a (diff)
downloadlinux-1d46598b7903cd5ec83c49adbd741f43bb0ffcdc.tar.xz
tools/vm/page-types.c: catch sigbus if raced with truncate
Recently added page-cache dumping is known to be a little bit racy. But after race with truncate it just dies due to unhandled SIGBUS when it tries to poke pages beyond the new end of file. This patch adds handler for SIGBUS which skips the rest of the file. Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions