From: Neil Horman Date: Tue, 17 Jun 2014 20:05:08 +0000 (-0400) Subject: tmon: Check log file for common secuirty issues X-Git-Tag: omap-for-v3.17/fixes-against-rc2~327^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=951fda3d8c644597a1d5cdae14cab31567e754a1;p=pandora-kernel.git tmon: Check log file for common secuirty issues The tmon logging system blindly opens its log file on a static path, making it very easy for someone to redirect that log information to inappropriate places or overwrite other users data. Do some easy checking to make sure we're not logging to a symlink or a file owned by another user. Signed-off-by: Neil Horman Acked-by: Jacob Pan Signed-off-by: Zhang Rui --- Reading git-diff-tree failed