chiark / gitweb /
Make sure we only show authentic coredump messages
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 21 Jun 2013 01:48:26 +0000 (21:48 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 21 Jun 2013 03:03:58 +0000 (23:03 -0400)
commitfdcd37df3b97abc381c7b7a29b81cc013c7a3230
treee9b2dac5c23060e331fc9c57524758b841367654
parent968f319679d9069af037240d0c3bcd126181cdac
Make sure we only show authentic coredump messages

Before we only checked the MESSAGE_ID and COREDUMP_UNIT.
Those are both user-controlled fields.

For COREDUMP_USER_UNIT, relax the rules a bit, and also
allow messages from _UID=0.
src/shared/logs-show.c