summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2010-03-08 20:34:39 +0100
committerKarolin Seeger <kseeger@samba.org>2010-03-08 20:34:39 +0100
commit1c9494c76cc9686c61e0966f38528d3318f3176f (patch)
treeef94287f736857592e3b8e215f3b29bc790f465e /source3/smbd/server.c
parentcd499eaf0418fa0a3034c5ba4709278a302ea980 (diff)
downloadsamba-3.5.1.tar.gz
Revert "Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to respond to a read or write."samba-3.5.1
This reverts commit a6ae7a552f851a399991262377cc0e062e40ac20. This fixes bug #7222 (All users have full rigths on all shares) (CVE-2010-0728).
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index fb0efd2ae52..09ad8d8ea55 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1047,14 +1047,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");