fixes from linux-vserver mailing list

http://list.linux-vserver.org/archive?mss:6352:201311:ahjebcjaipglgokekhnj
rel 1