summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2010-03-08 20:34:39 +0100
committerJeremy Allison <jra@samba.org>2010-03-08 16:55:07 -0800
commit56b13ee8edfa434cbca69af17aeea58cc5502b40 (patch)
treeeb44147ebc4b1881a847a03612d4cfc2ae84ac93 /source3/smbd/server.c
parent9113e14b291c10c824d2d8ea5cb28ffc0adcb63b (diff)
downloadsamba-56b13ee8edfa434cbca69af17aeea58cc5502b40.tar.gz
samba-56b13ee8edfa434cbca69af17aeea58cc5502b40.tar.bz2
samba-56b13ee8edfa434cbca69af17aeea58cc5502b40.zip
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)
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 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");