On Mon, 2013-11-04 at 14:57 +0000, Simon McVittie wrote: > See Linux signal(7) for a list of async-signal-safe operations: it's not > as long a list as you might hope, and mostly contains syscalls. In > particular, malloc() is not on the list, which rules out a lot of > library code...
Given however that systemd is Linux/glibc-equivalent only, you can rely on malloc() working after fork() if you're writing a daemon which only runs on systemd systems. See: https://bugzilla.gnome.org/show_bug.cgi?id=659326#c24 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel