platform/upstream/csr-framework.git
8 years agoAdd init/deinit APIs to engine and refactor sample 50/66350/1
Kyungwook Tak [Tue, 5 Apr 2016 02:23:06 +0000 (11:23 +0900)]
Add init/deinit APIs to engine and refactor sample

sample engine refactored totally because engine handle
and context handle were tightly coupled and lot of c-style codes

Change-Id: Ie24a01880fc4b238aafddd32964a752c7cd469f6
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoMake thread safe read/write to connection 49/66349/1
Kyungwook Tak [Fri, 1 Apr 2016 03:05:11 +0000 (12:05 +0900)]
Make thread safe read/write to connection

Currently read/write through connection has only single
socket/ read/write invocation so there isn't any race condition
between socket operations and linux socket guarantees thread safety
if it isn't non-blocking I/O mode.
(refer
  - http://stackoverflow.com/questions/33812734/is-af-unix-socket-send-thread-safe/33813220
  - http://pubs.opengroup.org/onlinepubs/009695399/functions/write.html)

But in case of using non-blocking I/O mode later or not to dependent underlying
stream classes (e.g. socket, pipe, ...), connection class guarantees it to be safe concretely.

Change-Id: If1c423094fec2976bf20fb0026fca53ccfe14121
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRevert "Remove unused APIs related to ignored malware" 48/66348/1
Dongsun Lee [Fri, 1 Apr 2016 00:48:13 +0000 (09:48 +0900)]
Revert "Remove unused APIs related to ignored malware"

This reverts commit ad8210d59f6f7e575545e3e440b33ee22fbc3c3a.

Change-Id: I6acf858d83990c45efccec9e76abfcd20350e164
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoSimplify binary-queue and message-buffer 47/66347/1
Kyungwook Tak [Thu, 31 Mar 2016 13:25:54 +0000 (22:25 +0900)]
Simplify binary-queue and message-buffer

Remove unused features from binary-queue and
set maximum bucket size to 1024 bytes

Change-Id: Iba8b5e816986da2730236d61d6fd4c8923a6c43f
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRefactor client connection based on DPM Client class 46/66346/1
Kyungwook Tak [Mon, 28 Mar 2016 13:01:47 +0000 (22:01 +0900)]
Refactor client connection based on DPM Client class

Change-Id: I02410693ff1718f10fdb611d273bdc3b56b05179
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoAdd threadpool to server service 45/66345/1
Kyungwook Tak [Fri, 25 Mar 2016 08:49:35 +0000 (17:49 +0900)]
Add threadpool to server service

Change-Id: Ic4fa2ef017689def44401f8a027f08b5ccfce414
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRemove unused APIs related to ignored malware 44/66344/1
Dongsun Lee [Tue, 29 Mar 2016 07:02:27 +0000 (16:02 +0900)]
Remove unused APIs related to ignored malware

- csr_cs_get_ignored_malware
- csr_cs_get_ignored_malwares

Change-Id: I3398c6a8db18bed845d525e2250919e6685d12ee
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoadd threading flags of sqlite 43/66343/1
Dongsun Lee [Wed, 30 Mar 2016 05:07:24 +0000 (14:07 +0900)]
add threading flags of sqlite

- added MultiTread and Serialized flags

Change-Id: I3f1e71d96664d2c31fb290bdbdfee7fecd77e193
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoadd APIs related with engine state and the type of timestamp in APIs changed to time_t 42/66342/1
Dongsun Lee [Fri, 25 Mar 2016 11:49:42 +0000 (20:49 +0900)]
add APIs related with engine state and the type of timestamp in APIs changed to time_t

- csr_engine_set_state
- csr_engine_get_state
- add engine_state table
- the type of timestamp in content screening API is changed to time_t

Change-Id: I04d873719d6a85b67fb305ab20bda1c2262c3767
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoadd db module 41/66341/1
Dongsun Lee [Fri, 25 Mar 2016 11:04:15 +0000 (20:04 +0900)]
add db module

Change-Id: I55fc9a7a405d61d24c66368fdec4dc1c8b418c4d
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoadd/remove/modify APIs. 40/66340/1
Dongsun Lee [Tue, 22 Mar 2016 11:15:02 +0000 (20:15 +0900)]
add/remove/modify APIs.

- added: csre_wp_result_get_detailed_url
- added: csre_cs_scan_app_on_cloud
- added: csr_engine_get_lastest_update_time
- added: csr_engine_destroy
- added: csre_wp_engine_get_lastest_update_time
- added: csre_cs_engine_get_lastest_update_time
- removed: csre_cs_scan_file_by_fd
- removed: csre_cs_set_scan_on_cloud

Change-Id: I23820255cab0c8ae748d81640b622fded9d76efd
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoPopup service initial commit 39/66339/1
Kyungwook Tak [Tue, 22 Mar 2016 11:30:50 +0000 (20:30 +0900)]
Popup service initial commit

[Verification]
Run # csr-popup-test and see stdout is the same to the button what you clicked

TODO list
- Add language file when popup text format fixed
- Add more command items when popup related logic fixed
- Integrate to main logic when logic ready

Change-Id: If55574269aea8f77bde920d17b53dc564f94db72
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoAdd engine APIs and sample engine & tests 38/66338/1
Kyungwook Tak [Tue, 22 Mar 2016 05:26:25 +0000 (14:26 +0900)]
Add engine APIs and sample engine & tests

Change-Id: I7aaa58c201f5ace245b660c3203f149bd701dfab
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoIntegrate draft API header and internal test 37/66337/1
Kyungwook Tak [Fri, 18 Mar 2016 07:56:46 +0000 (16:56 +0900)]
Integrate draft API header and internal test

Change-Id: I5c4f8bbeb4e0dbda352e4b6583350dcf3c8bf27c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoInitial commit of server program and common lib 36/66336/1
Kyungwook Tak [Wed, 16 Mar 2016 04:54:33 +0000 (13:54 +0900)]
Initial commit of server program and common lib

Base code of IPC is from device-policy-manager package
which is written by Jaemin Ryu (jm77.ryu@samsung.com)

Change-Id: Id00a88ee5711281ba6fc6a87dbeaba051c630246
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoAdd gitignore file 35/66335/1
Kyungwook Tak [Thu, 17 Mar 2016 07:19:55 +0000 (16:19 +0900)]
Add gitignore file

Change-Id: Ib1e1e54d576f70fd5960e1e0d7ce1a482df26013
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRefactor make system and directory hierarchy 34/66334/1
Kyungwook Tak [Thu, 10 Mar 2016 06:59:25 +0000 (15:59 +0900)]
Refactor make system and directory hierarchy

To prepare development of new architecture of csr-framework
with server-client system

Change-Id: Iba7cd13de59a9029d280196b451da8a090239af7
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agochange the boiler plate of CsrLog.h from Apache-2.0 to BSD-2.0 95/55595/1 accepted/tizen/common/20160229.161117 accepted/tizen/ivi/20160229.100544 accepted/tizen/mobile/20160229.100455 accepted/tizen/tv/20160229.100509 accepted/tizen/wearable/20160229.100525 submit/accepted/tizen_mobile/20151228.053957 submit/accepted/tizen_mobile/20151228.081025 submit/tizen/20160229.055710
Dongsun Lee [Mon, 28 Dec 2015 05:32:00 +0000 (14:32 +0900)]
change the boiler plate of CsrLog.h from Apache-2.0 to BSD-2.0

Change-Id: Idb3a980c2320e830a870f54e9c03ed98b255bcfa
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoUse dlog instead of printf 39/52139/1 accepted/tizen/ivi/20160218.024233 accepted/tizen/mobile/20151123.093238 accepted/tizen/tv/20151123.093249 accepted/tizen/wearable/20151123.093303 submit/tizen/20151123.054138 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000004
Kyungwook Tak [Thu, 19 Nov 2015 09:09:44 +0000 (18:09 +0900)]
Use dlog instead of printf

Change-Id: Id18b4b333e964abf266050ae38ea18a839c27a22
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoUpdate latest code of platform version 2.4 37/52137/1
Kyungwook Tak [Thu, 19 Nov 2015 08:55:33 +0000 (17:55 +0900)]
Update latest code of platform version 2.4

Change-Id: I7a6e538ce1ba398a4bcfc6bdd67bce5a7f6fe972
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
10 years agoAdd multi-user support 46/16446/2 accepted/tizen/generic accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_3.0.m14.2_ivi tizen_ivi_release accepted/tizen/generic/20140221.200649 accepted/tizen/generic/20140312.095935 accepted/tizen/ivi/20140221.215707 accepted/tizen/ivi/panda/20140312.090845 accepted/tizen/ivi/release/20140312.114550 accepted/tizen/mobile/20140227.071820 submit/tizen/20140221.200534 submit/tizen/20140312.070742 submit/tizen_ivi_release/20140312.071216 tizen_3.0.m14.2_ivi_release
Kévin THIERRY [Tue, 28 Jan 2014 14:00:08 +0000 (15:00 +0100)]
Add multi-user support

Bug-Tizen: PTREL-384
Change-Id: If6c8577398bb484f86793bd4edbb6123d22829fa
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoUpdate Web Protection Documentation 50/14950/1 accepted/tizen/mobile accepted/tizen/generic/20140116.093334 accepted/tizen/ivi/20140117.000228 accepted/tizen/mobile/20140116.012154 submit/tizen/20140115.195818
Casey Schaufler [Tue, 14 Jan 2014 01:32:14 +0000 (17:32 -0800)]
Update Web Protection Documentation

New versions of the API and Plugin specification documents.

Change-Id: Ia1e314887cb7cb1a100f0a412f8c53b4258b67f9
Signed-off-by: Casey Schaufler <casey.schaufler@intel.com>
10 years agoUsing gcc driver instead of using ld directly to let gcc driver search the system... 96/8996/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable tizen_ivi_genivi accepted/tizen/20130905.052101 accepted/tizen/20130905.183213 accepted/tizen/20130912.082336 accepted/tizen/20130912.085423 accepted/tizen/20130912.093439 accepted/tizen/ivi/genivi/20140131.020141 ivi_oct_m2 submit/tizen/20130905.052437 submit/tizen/20130912.075649 submit/tizen_ivi_genivi/20140131.015919
Bogon Kim [Fri, 30 Aug 2013 01:26:59 +0000 (10:26 +0900)]
Using gcc driver instead of using ld directly to let gcc driver search the system library such as libc, libgcc_s1 automatically on cross-build environment.

Signed-off-by: Bogon Kim <bogon82.kim@samsung.com>
11 years agoresetting manifest requested domain to floor 92/4692/1 accepted/tizen/20130710.220949 submit/tizen/20130710.130038
Alexandru Cornea [Fri, 28 Jun 2013 20:01:19 +0000 (23:01 +0300)]
resetting manifest requested domain to floor

11 years agoTidy up spec: change group; add description; etc. 49/3849/1 accepted/tizen/20130606.222658 submit/tizen/20130605.233034 submit/tizen/20130606.000619 submit/tizen/20130606.204728
Graydon, Tracy [Wed, 5 Jun 2013 22:51:41 +0000 (15:51 -0700)]
Tidy up spec: change group; add description; etc.

11 years agofixing install section of spec 05/2805/1 master submit/tizen/20130531.204135
Elena Reshetova [Tue, 5 Mar 2013 05:52:18 +0000 (07:52 +0200)]
fixing install section of spec

11 years agoRemoved dependency on pmake 61/2761/1
Ryan Ware [Mon, 18 Feb 2013 03:32:01 +0000 (19:32 -0800)]
Removed dependency on pmake

Change-Id: I0ffba36fd03d12a0250fd17a2f68ad2833794bbf

11 years agoRemoving the OverallMcAfeeSecure state. 54/2754/1
Ryan Ware [Fri, 15 Feb 2013 01:08:16 +0000 (17:08 -0800)]
Removing the OverallMcAfeeSecure state.

Change-Id: I297fd8b794e27ad122392153a19a145e06b77aed

11 years agoAdded default manifest and changes file. 34/2734/1 TAG_NAME v1.0.0
Ryan Ware [Mon, 11 Feb 2013 21:48:51 +0000 (13:48 -0800)]
Added default manifest and changes file.

Change-Id: I0fd3e6e2b80b345e20ae3df3dbcd210cbbc62146

11 years agoModify Makefile to build, moved it to root of project and added packaging directory. 33/2733/1
Ryan Ware [Mon, 11 Feb 2013 21:35:21 +0000 (13:35 -0800)]
Modify Makefile to build, moved it to root of project and added packaging directory.

Change-Id: I5876fd0cb474c1170df67a31349322e3e2ae49e9

11 years agoInitial commit of Content Screening and Reputation Framework. 10/2710/1
Ryan Ware [Wed, 30 Jan 2013 20:47:07 +0000 (12:47 -0800)]
Initial commit of Content Screening and Reputation Framework.