Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 565e571c8f88aeef8c23bf79479b0fde3c8e069b
https://github.com/lxc/lxc/commit/565e571c8f88aeef8c23bf79479b0fde3c8e069b
Author: Serge Hallyn <[email protected]>
Date: 2014-01-29 (Wed, 29 Jan 2014)
Changed paths:
M src/lxc/conf.c
Log Message:
-----------
userns_exec_1: catch errors in the spawned process.
lxc_map_ids can call system(3), which on error from the
spawned process returns > 0. No path should return > 0
when it meant success. So check the lxc_map_ids() value
to be != rather than just < 0.
Signed-off-by: Serge Hallyn <[email protected]>
Acked-by: Stéphane Graber <[email protected]>
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel