]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: set dumpable flag after setuid post ff0e521 13844/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 27 Feb 2017 03:06:59 +0000 (13:06 +1000)
committerNathan Cutler <ncutler@suse.com>
Tue, 7 Mar 2017 21:18:56 +0000 (22:18 +0100)
commitd333addb71a0a92fbac5a7b922dbd69fc9e0604e
tree6a8585690def5ef80927e03e80f2ea37a006c820
parent420a9a0796e327676cb704bc18b2020f9941d7b6
rgw: set dumpable flag after setuid post ff0e521

ff0e521 resolved the issue for the other daemons but not for rgw since
it calls setuid (via civetweb) after the new code sets PR_SET_DUMPABLE.
Add another prctl call before wait_shutdown.

Fixes: http://tracker.ceph.com/issues/19089
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit bc458d39630b599e0e1ca9fe25ad7455fcffdd10)
src/rgw/rgw_main.cc