summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
sangsu [Mon, 25 Apr 2016 04:54:16 +0000 (13:54 +0900)]
library loading and symbol match
Change-Id: Ia78701b4590737cd97c131502f303b73e608fb17
Signed-off-by: sangsu <sangsu.choi@samsung.com>
sangsu [Fri, 1 Apr 2016 05:11:37 +0000 (14:11 +0900)]
Add engine library loader classes
Change-Id: Iaf17a44a9e120e8ae0587fae839be20da6e3eb0d
Signed-off-by: sangsu <sangsu.choi@samsung.com>
Kyungwook Tak [Mon, 18 Apr 2016 09:40:11 +0000 (18:40 +0900)]
Catch exception when db not exist at first time
Getting schema version of db at first time is failed because
there isn't any table before constructed and exception is thrown.
Change-Id: I8b63429ae897048dedceeb67a9e3903aed47b765
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Kyungwook Tak [Fri, 15 Apr 2016 00:16:11 +0000 (09:16 +0900)]
Refactor db module
Change-Id: I5261a07b8f013fda50d37b2c95ee18787e2bb887
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Kyungwook Tak [Fri, 15 Apr 2016 05:22:54 +0000 (14:22 +0900)]
Fix bugs in class hierarchy derived from types.h
* class Result/Context shouldn't be constructed itself.
It can only be used in derived form.
* class Result has member variable so it has serializations.
Derived classes should be call it in serializations
* class Context don't has member variable which needs serialization.
So serialization isn't implemented on it and be abstract class.
* class Result can be empty which means nullptr (e.g. in case of
scan file and no malware detected, CsDetected should be null).
To support it, Result class has ''hasValue'' member variable.
All set functions in derived classes of Result class should call
setValueFlag() to mark that it has value.
Change-Id: I38a00a0da09da6b8cf67a568c8d9f7fbeed157f4
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Dongsun Lee [Fri, 15 Apr 2016 05:40:52 +0000 (14:40 +0900)]
change a parameter name from file_paths to dir_paths in csr_cs_scan_dirs_async
Change-Id: I880fc984f7f672637d4cd7c02e8e0123731b1472
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
Dongsun Lee [Fri, 15 Apr 2016 02:27:36 +0000 (11:27 +0900)]
add web protection client functionalities
Change-Id: I08d890f4873100e027ff2427054ba48e846e74aa
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
Dongsun Lee [Thu, 7 Apr 2016 04:09:20 +0000 (13:09 +0900)]
Add file management classes
Change-Id: Iddec7d00168e806d11f8d6e395355709b3458f8e
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
Kyungwook Tak [Tue, 12 Apr 2016 08:14:11 +0000 (17:14 +0900)]
Declare key-value pair options to context / result
Change-Id: I01cb343025647bdcdb5210a07a352d723182f59a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Kyungwook Tak [Tue, 5 Apr 2016 08:51:27 +0000 (17:51 +0900)]
Async client stub initial commit
scan dir / scan dirs needs db integration in server, credential check
of client and filesystem related modules. For now it requests file lists
in target directory based on history and credentials (client-removable,
server-readable)
Change-Id: Ia487c916f31e70cc54b1b52b72dd98c096264dd0
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Dongsun Lee [Mon, 4 Apr 2016 04:30:52 +0000 (13:30 +0900)]
add set core-usage function
Change-Id: I2f1dd5dbf98a8285ea75f32b6f9664c2cf73ff10
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
Kyungwook Tak [Thu, 7 Apr 2016 02:47:07 +0000 (11:47 +0900)]
[Fix typo] in cmake include dir
Change-Id: I38ba0f7fc3c686309d1c1fa64b40ef75f6b1ed1b
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Kyungwook Tak [Wed, 6 Apr 2016 05:15:31 +0000 (14:15 +0900)]
Install headers under ${_prefix}/include/csr
Change-Id: I19595d2bb5a74498670b5c5fc90f4af42d55a4a4
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Alexandru Cornea [Fri, 28 Jun 2013 20:01:19 +0000 (23:01 +0300)]
resetting manifest requested domain to floor
Graydon, Tracy [Wed, 5 Jun 2013 22:51:41 +0000 (15:51 -0700)]
Tidy up spec: change group; add description; etc.
Elena Reshetova [Tue, 5 Mar 2013 05:52:18 +0000 (07:52 +0200)]
fixing install section of spec
Ryan Ware [Mon, 18 Feb 2013 03:32:01 +0000 (19:32 -0800)]
Removed dependency on pmake
Change-Id: I0ffba36fd03d12a0250fd17a2f68ad2833794bbf
Ryan Ware [Fri, 15 Feb 2013 01:08:16 +0000 (17:08 -0800)]
Removing the OverallMcAfeeSecure state.
Change-Id: I297fd8b794e27ad122392153a19a145e06b77aed
Ryan Ware [Mon, 11 Feb 2013 21:48:51 +0000 (13:48 -0800)]
Added default manifest and changes file.
Change-Id: I0fd3e6e2b80b345e20ae3df3dbcd210cbbc62146
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
Ryan Ware [Wed, 30 Jan 2013 20:47:07 +0000 (12:47 -0800)]
Initial commit of Content Screening and Reputation Framework.