]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-7088 #resolve Set flag to enable core dump from non-root users.
authorHumberto Diógenes <hdiogenes@gmail.com>
Tue, 16 Dec 2014 18:12:28 +0000 (15:12 -0300)
committerHumberto Diógenes <hdiogenes@gmail.com>
Tue, 6 Jan 2015 00:06:29 +0000 (21:06 -0300)
commitece5cd52db59632b861fa3028f6f885fe8e13551
treee5cfb71bc5f786030fd79d95a4336bc836d7666f
parentf48ec61d54b3fd4faab03addaee0e7c33aff0103
FS-7088 #resolve Set flag to enable core dump from non-root users.

When FreeSWITCH is running as a non-privileged user, we need to enable
PR_SET_DUMPABLE for it to be able to generate core dumps.

Instead of a generic __linux__ check, there's a new configure.ac flag
to check directly for prctl.h, which could also be used in other
places in the code.
configure.ac
src/switch_core.c