[PATCH 1/3] session: Implement Session API Destroy method call.

2011-10-25 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@linux.intel.com Call session_disconnect() from destroy_session() thus adding functionality to Session API Destroy method call. --- src/session.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/session.c b/src/session.c index

[PATCH 0/3] Add functionality to Session API Destroy()

2011-10-25 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@linux.intel.com Hi, While investigating bug #23632, I noticed that Session API Destroy() method call was not fully implemented, thus here's a patch to fix that. I also updated test-session to use session.Destroy(). I don't think there is any use in

[PATCH 2/3] doc: Document that DestroySession will send Release to sessions

2011-10-25 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@linux.intel.com --- doc/manager-api.txt |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/doc/manager-api.txt b/doc/manager-api.txt index 961c39b..a6c852f 100644 --- a/doc/manager-api.txt +++ b/doc/manager-api.txt @@ -189,8 +189,7 @@

Re: [PATCH 2/3] doc: Document that DestroySession will send Release to sessions

2011-10-25 Thread Patrik Flykt
On Tue, 2011-10-25 at 10:51 +0300, patrik.fl...@linux.intel.com wrote: From: Patrik Flykt patrik.fl...@linux.intel.com Yeah, right. The word 'not' is missing from the Subject: line. The subject should read: Re: [PATCH 2/3] doc: Document that DestroySession will not send Release to sessions

[PATCH v0] log: Use syslog socket instead of syslog()

2011-10-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de When using syslog() directly we are in danger to deadlock when syslog() is already been called by normal code and the signal kicks in. With using a socket to /dev/log we are safe even in the signal handler to log messages. --- src/log.c | 153

[PATCH] tools: adding capability to change builtin chain policies in iptables-test

2011-10-25 Thread Tomasz Bursztyka
--- tools/iptables-test.c | 53 ++-- 1 files changed, 50 insertions(+), 3 deletions(-) diff --git a/tools/iptables-test.c b/tools/iptables-test.c index d128f1e..05e9b4b 100644 --- a/tools/iptables-test.c +++ b/tools/iptables-test.c @@ -868,6 +868,35

[PATCH] Builtin policy change in iptables-test

2011-10-25 Thread Tomasz Bursztyka
Hi, As planned, here is the last necessary feature added into iptables-test: capability to change the policy of a builtin chain. Please review, Note: this patch has been made on top of the previous patchset around matches. Tomasz Bursztyka (1): tools: adding capability to change builtin

Re: [PATCH v0] log: Use syslog socket instead of syslog()

2011-10-25 Thread Marcel Holtmann
Hi Daniel, When using syslog() directly we are in danger to deadlock when syslog() is already been called by normal code and the signal kicks in. With using a socket to /dev/log we are safe even in the signal handler to log messages. --- src/log.c | 153

Re: [PATCH v1 0/8] Add *_CLOSEXC

2011-10-25 Thread Jukka Rissanen
Hi, On 10/25/2011 02:37 PM, Marcel Holtmann wrote: Hi Daniel, here an splitter version of adding O_CLOEXEC and SOCK_CLOEXEC. I went ahead and applied all 8 patches. Thanks. Regards Marcel Unfortunately connman does not compile any more in meego 1.2 as O_CLOEXEC is not found. Fix is to

Re: [PATCH v1 0/8] Add *_CLOSEXC

2011-10-25 Thread Jukka Rissanen
Hi Marcel, On 25 October 2011 17:57, Marcel Holtmann mar...@holtmann.org wrote: Hi Jukka, here an splitter version of adding O_CLOEXEC and SOCK_CLOEXEC. I went ahead and applied all 8 patches. Thanks. Regards Marcel Unfortunately connman does not compile any more in meego 1.2