]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
rrdtool: fix mis-use of getuid
authorPeter A. Bigot <pab@pabigot.com>
Sat, 31 May 2014 22:44:05 +0000 (17:44 -0500)
committerPeter A. Bigot <pab@pabigot.com>
Sun, 1 Jun 2014 00:25:10 +0000 (19:25 -0500)
commit15b97c7b48b33df170b9b7512bb42be389f0f0c3
treee40610da88071decd0d40a7bc4c368f93e18a98b
parent5c5277c88549fb45440b7cd87ce7e18b3e10067a
rrdtool: fix mis-use of getuid

Checking whether the application is running with root privileges requires
use of geteuid(), not getuid().

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
src/rrd_tool.c