]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: instruct civetweb to drop permissions 8018/head 8019/head
authorKarol Mroz <kmroz@suse.com>
Tue, 8 Mar 2016 08:54:03 +0000 (09:54 +0100)
committerKarol Mroz <kmroz@suse.com>
Thu, 10 Mar 2016 08:33:16 +0000 (09:33 +0100)
commite3d8d65f16c9bef67281aff9e71d0daac20e9703
tree29bfb28459b39cf80dff184002fa8d90d35c685d
parent422c749b84f575ea4be68974dd874b5890bd439c
rgw: instruct civetweb to drop permissions

Get uid set in g_ceph_context and pass to civetweb where setuid()/setgid()
will be invoked. This Allows for starting civetweb under privileged port
numbers.

Fixes: #13600
Signed-off-by: Karol Mroz <kmroz@suse.com>
src/rgw/rgw_civetweb_frontend.cc