[lxc-devel] [lxc/lxc] a96a8e: use non-thread-safe getpwuid and getpwgid for andr...

GitHub noreply at github.com
Thu Jul 31 19:58:48 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a96a8e8c09d8146ee14663423b2b1eb21f730c63
      https://github.com/lxc/lxc/commit/a96a8e8c09d8146ee14663423b2b1eb21f730c63
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  use non-thread-safe getpwuid and getpwgid for android

We only call it (so far) after doing a fork(), so this is fine.  If we
ever need such a thing from threaded context, we'll simply need to write
our own version for android.

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