From 56b13ee8edfa434cbca69af17aeea58cc5502b40 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Mon, 8 Mar 2010 20:34:39 +0100 Subject: Revert "Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to respond to a read or write." This reverts commit a6ae7a552f851a399991262377cc0e062e40ac20. This fixes bug #7222 (All users have full rigths on all shares) (CVE-2010-0728). (cherry picked from commit 1c9494c76cc9686c61e0966f38528d3318f3176f) --- source3/smbd/server.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/server.c b/source3/smbd/server.c index d88679c95f..f685385043 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1081,14 +1081,6 @@ extern void build_options(bool screen); gain_root_privilege(); gain_root_group_privilege(); - /* - * Ensure we have CAP_KILL capability set on Linux, - * where we need this to communicate with threads. - * This is inherited by new threads, but not by new - * processes across exec(). - */ - set_effective_capability(KILL_CAPABILITY); - fault_setup((void (*)(void *))exit_server_fault); dump_core_setup("smbd"); -- cgit