]> git.proxmox.com Git - mirror_lxc.git/commit
check permissions when receiving command
authorMichel Normand <normand@fr.ibm.com>
Wed, 7 Oct 2009 14:06:08 +0000 (16:06 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 7 Oct 2009 14:06:08 +0000 (16:06 +0200)
commit3cc5de3619c0ac6c2a9046ff7e50e9d6dfc1d0fd
tree1209f8e961a3e74c2690f6721f6c41e6593846cf
parent724e753cb0055b84f896522e8c5ec45ad996c195
check permissions when receiving command

report to command requester the errno if credential failure,
rather than to only close the connection.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Michel Normand <normand@fr.ibm.com>
src/lxc/commands.c
src/lxc/console.c