Do call set_personality32() even when compiling for i386
It appears some people are using 32-bit vzctl on an x86_64 kernel,
and it appears that it actually works. The only problem is since
set_personality32() is not used, 'uname -m' inside a container
reports x86_64, which screws up yum etc.
Fix it by always using set_personality32().
Originally reported by lj user ganagin (http://ganagin.livejournal.com/)
at http://ru-linux.livejournal.com/2880581.html
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed