]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: set dumpable flag after setuid post ff0e521 13845/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:20:27 +0000 (22:20 +0100)
commite40f48dbfce23cbc2164f8789db4688fbec9c3bb
treebc2f1362a2798e02cb2093754f6150588d4f2165
parent98a87fa97c9b23e21a05130c72730f5034691310
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