Commit Graph

973 Commits

Author SHA1 Message Date
David Vossel
e0bca21e7a Fix: trie: fixes regression caused by ref count refactoring 2014-05-09 11:14:48 -04:00
David Vossel
76b693b8f3 Low: trie: cleanup ref count logic in trie_notify_del 2014-04-04 13:14:51 -05:00
David Vossel
ad248a733e Low: ipcs: Cleanup unnecessary reference counting 2014-04-04 12:12:58 -05:00
David Vossel
00906bb9b3 Low: check: Update clang path in check script 2014-04-04 12:07:38 -05:00
David Vossel
9d198a9b64 Low: check_ipc: Verify ipc recv times out correctly 2014-03-12 14:07:19 -04:00
David Vossel
08356b84fa Fix: ipcc: Properly timeout during recv when timeout value is provided 2014-03-12 14:05:13 -04:00
David Vossel
5459350ff0 Merge pull request #113 from inouekazu/log_eagain
Low: ipc_setup.c: Add log for EAGAIN
2014-03-05 16:11:14 -06:00
David Vossel
d8e2505016 Low: check_ipc.c: Correctly check the event queue length for bulk events 2014-02-25 23:31:07 -06:00
David Vossel
331cd031c6 Low: check_ipc.c: Correctly wait for server process to exit 2014-02-25 22:51:58 -06:00
David Vossel
e4cac9eb95 Low: check_ipc.c: Avoid using MAX_MSG_SIZE macro directly in calculations 2014-02-25 16:43:41 -06:00
David Vossel
39ed456da8 Low: build: Don't allow Bsymbolic-functions LDFLAG to be used, it breaks unit tests 2014-02-25 15:17:16 -06:00
Kazunori INOUE
f5c8c94a5f Low: ipc_setup.c: Add log for EAGAIN 2014-02-20 18:07:09 +09:00
David Vossel
78978d07ac Fix: build: Allow 'make rpm' to work with lightweight tags for release candidates 2014-02-19 12:39:58 -05:00
David Vossel
ec8de8d461 Fix: spec: reference correct url in spec file 2014-02-19 12:38:37 -05:00
David Vossel
e89c674232 Doc: update broken doxygen link to something that exists 2014-02-19 12:15:47 -05:00
David Vossel
532acdffa4 Bump version to 0.17.0 2014-02-19 10:33:30 -06:00
David Vossel
6a1082a09f Merge pull request #112 from davidvossel/master
Low: ipc_socket: further optimize max msg size calculations for fbsd portability tests
2014-02-19 09:42:33 -06:00
David Vossel
334762c90e Low: ipc_socket: further optimize max msg size calculations for fbsd portability tests 2014-02-11 11:19:57 -06:00
David Vossel
f085e5351d Merge pull request #111 from davidvossel/master
Low: ipc_socket: Allow socket max msg size to be calculated more accurat...
2014-02-10 16:56:27 -06:00
David Vossel
9e6cacd4e6 Low: ipc_socket: Allow socket max msg size to be calculated more accurately 2014-02-10 16:55:36 -06:00
David Vossel
29bbe615b5 Merge pull request #110 from davidvossel/master
Fix: fixes travis compile time error
2014-02-05 10:25:40 -06:00
David Vossel
aa24dd848a Fix: fixes travis compile time error 2014-02-05 10:21:12 -06:00
David Vossel
6ffa3147b8 Merge pull request #107 from davidvossel/ref_count_cleanup
High: ipcs: Prevent ipc server use after free.
2014-02-05 08:35:56 -06:00
David Vossel
441ee1b952 Low: tests: Fixes compile time issue with make check 2014-01-20 16:59:52 -06:00
David Vossel
6a2ff420e1 High: ipcs: Prevent ipc server use after free.
The ipc server registers the bind socket to
the poll loop in order to be alerted to new
connection requests. Upon shutdown, the ipc server
does not remove this poll entry. This patch fixes
this use after free.
2014-01-17 11:22:27 -06:00
David Vossel
d9706f7561 Merge pull request #106 from davidvossel/ref_count_cleanup
reference count fixes
2014-01-16 07:26:42 -08:00
David Vossel
58c0c90979 Low: ipc: Remove ipc connection reference given to dispatch functions
We don't need to give the dispatch_add callback a reference
since the dispatch_del callback must occur before the
connection is destroyed. This extra reference counting
causes unnecessary complexity.
2014-01-15 11:44:44 -06:00
David Vossel
c89b11c6b5 High: ipc: Fixes memory leak in server connection accept when client partially connects 2014-01-15 11:43:46 -06:00
David Vossel
b579f7af15 Merge pull request #105 from gao-yan/ipc-server-backlog
IPC: Increase the listen backlog of IPC server
2014-01-08 07:14:33 -08:00
Gao,Yan
5b8045b76d IPC: Increase the listen backlog of IPC server 2014-01-08 13:29:51 +08:00
David Vossel
d4f46fafa9 Merge pull request #104 from davidvossel/master
Low: ipcs: Clarifications to the ipcs server callback documentation.
2014-01-07 12:24:09 -08:00
David Vossel
16855e5058 Low: ipcs: Clarifications to the ipcs server callback documentation. 2014-01-07 14:22:46 -06:00
David Vossel
ba774ffc81 Merge pull request #103 from latinovic/master
Fix rb.test to avoid overwriting memory during reading.
2014-01-02 07:29:24 -08:00
Dejan Latinovic
9a3ef70d29 Fix rb.test to avoid overwriting memory during reading.
In test_ring_buffer1,
if the size of the chunk(90-93) is larger than size of the hdr (16),
it comes to overwriting memory during reading.
2013-12-24 14:25:10 +00:00
David Vossel
b09473fd4a Merge pull request #100 from davidvossel/server_side_buf_limit
Low: example: Update client/server example to use server enforced buffer...
2013-11-18 14:29:45 -08:00
David Vossel
ecff303865 Low: example: Update client/server example to use server enforced buffer size 2013-11-18 22:29:15 -06:00
David Vossel
d17d6b3a06 Low: Client side buffer retrieval regression test 2013-11-18 16:53:39 -06:00
David Vossel
8bd36d3e5c Feature: New api function to retrieve client buffer size
When server side buffer limits are in use, this is
necessary to determine the buffer size the server
is enforcing after the client connection is established.
2013-11-18 16:53:39 -06:00
David Vossel
ab2cd60c01 Low: check_ipc.c: Verify server enforced buffer sizes work 2013-11-18 16:53:35 -06:00
David Vossel
9f6e4bb52d Feature: Enforce buffer size limits on the server side 2013-11-18 16:51:31 -06:00
David Vossel
c3b41435b4 Merge pull request #99 from davidvossel/regex_logger
Regex logging filters
2013-11-18 10:20:03 -08:00
David Vossel
b05ca12431 Merge pull request #98 from davidvossel/server_side_buf_limit
Server side max buffer limit
2013-11-18 09:28:53 -08:00
David Vossel
23e5a7c8cb Low: regession tests for regex log filters 2013-11-15 22:30:05 -06:00
David Vossel
bfafdaeaf5 Feature: Filter logs using regex patter on function, format, or filename 2013-11-15 22:30:00 -06:00
David Vossel
b4c36efff8 Merge pull request #96 from jfriesse/master
ipc_setup: Set SO_PASSCRED on listener socket
2013-10-21 09:01:53 -07:00
Jan Friesse
81ca7d30de ipc_setup: Set SO_PASSCRED on listener socket
This is needed, because newer kernels doesn't correctly support setting
SO_PASSCRED on sockets returned by accept call, but socket option must
be set on server socket (before accept call).

For more details, see:
http://patchwork.ozlabs.org/patch/284366/

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2013-10-21 17:19:59 +02:00
David Vossel
9abb68637d Fix: log: Filtering by function and file must match exactly, no substring matches 2013-10-17 21:44:12 -05:00
David Vossel
22a6edef83 Merge pull request #95 from davidvossel/master
Fix: log: Filtering by function and file must match exactly, no substrin...
2013-10-17 14:50:06 -07:00
David Vossel
b244ed9254 Merge pull request #93 from davidvossel/master
ipc and blackbox fixes
2013-10-09 14:01:22 -07:00
David Vossel
00082df49f Low: blackbox: Abort blackbox logging on ringbuffer overwrite reclaim error 2013-10-08 21:59:59 -05:00