]> git.ipfire.org Git - thirdparty/lxc.git/commit
Add read permission checking for the container
authordlezcano <dlezcano>
Tue, 25 Nov 2008 17:01:56 +0000 (17:01 +0000)
committerdlezcano <dlezcano>
Tue, 25 Nov 2008 17:01:56 +0000 (17:01 +0000)
commit526e288e423a49777b8dc222476cd8b36c734f0a
treea9547a22dbaee5faf914034643f79b7e5fd6a577
parent4bbb9c579336129038f6eb947bcc323d314764f3
Add read permission checking for the container

From: Daniel Lezcano <dlezcano@fr.ibm.com>

When an user tries to look at the pids or network information belonging
to a container not owned by the user. The command silently fails, I changed
that to check the read permission, display an error and exit.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-netstat.in
src/lxc/lxc-ps.in