]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix log appending to any file
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 20 Jul 2010 11:45:44 +0000 (13:45 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 20 Jul 2010 11:45:44 +0000 (13:45 +0200)
commit28f602ff477f5e5e924f2b931c6034b7df9e9851
tree1d61c18d28351ef1e541cd922818045b0ba2b17b
parent05cda563bff2433c21acf5d13c364d581c34efd6
fix log appending to any file

With the capabilities, the open of the log file can be done on any
file, making possible to modifify the content of the file.

Let's drop the privilege when opening the file, so we ensure that is
no longer possible.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/log.c