avoid PATH_MAX in bss in daemonize 57/2957/1
authorAndy Green <andy.green@linaro.org>
Mon, 21 Jan 2013 02:36:12 +0000 (10:36 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:28 +0000 (13:01 -0800)
commitd31cca5cc137eab4aa25e039d7e951b962bc35b5
tree343c93e8a9c49d9fa044c7049cbea5444557bd80
parent62da551e0f98421333dafd4a80b1a57622eebc64
avoid PATH_MAX in bss in daemonize

PATH_MAX is typically 4KB, let's malloc space for the
actual path instead and just have the pointer in bss

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/daemonize.c