]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: set dumpable flag after setuid post ff0e521 13657/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 27 Feb 2017 03:06:59 +0000 (13:06 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Mon, 27 Feb 2017 06:08:41 +0000 (16:08 +1000)
commitbc458d39630b599e0e1ca9fe25ad7455fcffdd10
tree149774458dd65406fb62ff37f8c58bc7ac7f4201
parentda06227c7fdd71936fc152e29551268e78541e21
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>
src/rgw/rgw_main.cc