platform/core/security/nice-lad.git
8 years agoAdd tests for Audit::Parser 29/43729/1
Aleksander Zdyb [Mon, 15 Jun 2015 09:00:49 +0000 (11:00 +0200)]
Add tests for Audit::Parser

Change-Id: I45f5da9fcbc37c5e6df2223f4c9a237c289dc9d8

8 years agoImplement Audit::Parser 28/43728/1
Aleksander Zdyb [Fri, 22 May 2015 10:20:46 +0000 (12:20 +0200)]
Implement Audit::Parser

It aggregates audit records. Invokes a callback, when full event
is collected.

Change-Id: I5bc1b526d88dc3b42c70965c3be38e25dab5401d

8 years agoAdd objective wrappers for auparse functions 27/43727/1
Aleksander Zdyb [Mon, 29 Jun 2015 16:08:43 +0000 (18:08 +0200)]
Add objective wrappers for auparse functions

The wrapper is needed to make unit testing possible.

Change-Id: I4c8a09ce722df525791c63e9a571abf527c3220b

8 years agoAdd feed utility 26/43726/1
Aleksander Zdyb [Fri, 22 May 2015 09:15:31 +0000 (11:15 +0200)]
Add feed utility

Feed successively reads chunks of data from given fd.
It invokes callback in case of:
* data read
* signal caught
* EOD encountered
* timeout

Change-Id: I1bcdfd51e2a9d90f552587ec337ed35097cd135c

8 years agoAdd helper utils for signal fd 25/43725/1
Aleksander Zdyb [Fri, 22 May 2015 09:10:08 +0000 (11:10 +0200)]
Add helper utils for signal fd

Change-Id: If2d5cd14ff3a66d3770d5282c8a88d113e8a3448

8 years agoInitialize tests 24/43724/1
Aleksander Zdyb [Mon, 15 Jun 2015 08:57:36 +0000 (10:57 +0200)]
Initialize tests

Change-Id: If526ef37babdc4466b7602f13e0615f7b370c25d

8 years agoImplement Utils::WithMessageException 23/43723/1
Aleksander Zdyb [Mon, 15 Jun 2015 08:25:39 +0000 (10:25 +0200)]
Implement Utils::WithMessageException

Generic exception with error message.

Change-Id: If14ed24861437dbadcf3880a62d1fccd7f6c822d

8 years agoAdd logging support 22/43722/1
Aleksander Zdyb [Fri, 22 May 2015 08:59:48 +0000 (10:59 +0200)]
Add logging support

Logging functions are borrowed from Cynara:
https://github.com/Samsung/cynara

Change-Id: I76752bc54085b08567c0f615be2ee9948d30f18c

8 years agoInitial empty repository
Aleksander Zdyb [Fri, 10 Jul 2015 12:49:48 +0000 (14:49 +0200)]
Initial empty repository

Change-Id: Ida453ec4aa4e66d73a07823c997cb6fd05fbcc0a