[lxc-devel] [lxc/lxc] beebf1: [PATCH cgmanager chown: don't do a gratuitous fork

GitHub noreply at github.com
Wed Jan 29 16:22:29 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: beebf12bbf0bf6c5ee6db110ea1ca470ac2d8e16
      https://github.com/lxc/lxc/commit/beebf12bbf0bf6c5ee6db110ea1ca470ac2d8e16
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-29 (Wed, 29 Jan 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  [PATCH cgmanager chown: don't do a gratuitous fork

userns_exec_1() clones a new task to manipulate.  We don't
need to fork before calling that.

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