]> git.ipfire.org Git - thirdparty/lxc.git/commit
use non-thread-safe getpwuid and getpwgid for android
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 31 Jul 2014 19:54:27 +0000 (19:54 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 31 Jul 2014 19:58:31 +0000 (15:58 -0400)
commita96a8e8c09d8146ee14663423b2b1eb21f730c63
tree585a5fd7eb6c6cae10e624f082913571405d94f8
parent97e9cfa02ff30cbbc305e745559ab62ce90efd81
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@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c