[lxc-devel] [lxc/lxc] f3d7e4: chown_mapped_rootid: don't double-map root id

GitHub noreply at github.com
Tue Mar 4 16:11:28 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: f3d7e4ca9230d13dc446dd0ef00dd74b2c11bab6
      https://github.com/lxc/lxc/commit/f3d7e4ca9230d13dc446dd0ef00dd74b2c11bab6
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-03-04 (Tue, 04 Mar 2014)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  chown_mapped_rootid: don't double-map root id

If the user maps container root to his host uid, chown_mapped_rootid
tries to make the same mapping twice and gets -EINVAL.

Reported-by: Andy Whitcroft <apw at canonical.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list