reducing capabilities of the threads to a minimum

proper flush of pending packets on daemon shutdown
adding local address as gateway address in dynamic route
This commit is contained in:
Martin Willi
2007-05-03 14:21:22 +00:00
parent 3d63b7639e
commit 66560f4267
11 changed files with 215 additions and 41 deletions
+3
View File
@@ -60,6 +60,9 @@ static void get_events(private_scheduler_t * this)
DBG1(DBG_JOB, "scheduler thread running, thread_ID: %06u",
(int)pthread_self());
/* drop threads capabilities */
charon->drop_capabilities(charon, FALSE, FALSE);
while (TRUE)
{
DBG2(DBG_JOB, "waiting for next event...");