Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I67cb14c92c6b79720218f99bd80e4aa5b77b4002
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
Merge hotfix: numbering script name
Change-Id: I3c2603e4e845112eb793e1ddd0b9c58720f686c1
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Merge hotfix: numbering script name
Change-Id: I038afb4ddeca3a16bd53fd57491d73796f1f3a4c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
csr-upgrade.sh.in -> 500.csr.sh.in
Change-Id: I2ca4c397a9dcdb0119fac1306cc114c0582ca04b
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Icf57eeb1e152daff45b88607e1c079b627aa3e2e
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Minor fixes
- Fix button text ellipsis
- Separate popup systemd configs
- Fix doxygen warnings
- Fix some rpmlint warnings
Change-Id: I33dff96d35800341142afd986a298ef52410d00e
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I9380402690c759dfeb1ab42c33672567b771fa0a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
This reverts commit 7308351ee6a153985f1903cfbcdc0d37463427b1.
To use elm_shutdown which is in ELM_MACRO makes crash in some cases.
It'll be restored after the issue resolved.
Change-Id: Icf170a000065a99ae23634355647974a895b53ff
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Button's text was ellipsis like "Unins..."
Change-Id: I570f2552b0d588dcb5acbc282df548c1d56d42ad
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Id3897e482f1929e7fb3704aad5fda167a9e62e48
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
ELM_MAIN() macro is highly recommended instead of code main function
manually
Change-Id: I0a837302d56901e771d566b038a49b2c2f76d029
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Don't declare socket smack ip in/out label for platform version 3.0
because it's created by user session so no perm to smack label change
and no need to do it at all because default label same to what we want
to set.
Change-Id: Ib1310cca2669105eb37579193f9ff1705b77bf8f
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Use app directory base path from tzplatform config macro. But for
TZ_USER_APP which contains rw user app path for 3rd party is unusable on
this position (for regex) because we csr server is not user service so
not usable in compile time.
- /opt/home -> /opt/usr/home
- Add sdcard prefix additionally (TZ_SYS_STORAGE)
- /home/<user>/content -> /home/<user>/media # it's for test program
Change-Id: Icde1d8772686deb86953ae8a2272c7de3adda769
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Ic4f5a540ec82a29ffc3b673480e46cbd10383b19
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
language files which are not managed by %find_lang macro occurs rpm spec
warning. And without ContenType:utf-8 definition in po file header,
msgfmt prints warning message.
Refer: http://pology.nedohodnik.net/doc/user/en_US/ch-poformat.html
Change-Id: I9fd0a890c4061a18b26c680e47519b4826449aa8
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I469c3dd67e66fa53fb1bb05ca1e5f2c3d019930f
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I4bc541245d0df7be3060449824de96088d8f5c50
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Without explicit dependency the case is possible when the -devel package
is installed without client package and provides a broken symlink
to /usr/lib/libcsr-client.so.0
Change-Id: I735e15c4424854a319534aad03014e936525ddc0
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
Main changes
Add db transaction
Client-server conversation arch for async scan
Upgrade db schema version for adding constraint
Change-Id: I15914dd748aa78bc1eccac790a7411c1d2ef1e13
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I19f77dc9d89559d07b5a09c0bfaaad09fb0e691f
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Id140e2877d8156019c715143f76947dbb4bb537c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Ie02eb0800ea785a706b2e551dc7308e882500ffa
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
Change-Id: I3c2293741b9f8ada70f0aa3ec7668610c9a7d631
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Before: Check cancelled flag on both of client/server side in loop of
file visitor. It's hard to control response latency consistently.
After : Change client side connection to non-blocking to cancel it
directly by sending signal to fd. Response latency is consistent
because client just close connection.
Change-Id: If181eb9984357939b2845b7d03a17dac57a0b9d0
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
1) Logging more precisely
2) Add missing cases e.g., worse riskiest when history is exist and no new
malware detected and worse case exists
3) Remove useless param on judge stage: jHistory
jHistory is always same to history.
4) Insert worst when history riskiest case either because existing
history(worst) needs to be updated when the file is modified and
malware is detected samely.
5) Delete db row whenever the file is newly scanned regardless of new
malware detection from the file. It's for refreshing db row when file
is newly scanned.
Change-Id: Iba88c3e0ed96bd8413a10fcd9aa556edc7129f60
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I5207e7e1a33a00c0ea47582b6456e2e35a9b8a43
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Ia9fc53a10ade30cfc64bf1c1ff861281c7d908d8
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Ia2d1cbab672bf8d40b352a523bd902d4372a28ce
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Iabc4fd9abf7ceb52ce04f00d6688599e29c92d1c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
For canceling faster while big app scanning
Change-Id: I935e2fa79c4ce213b2679aef4024c2bc0fc1109d
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Async operation process
AS-IS
1) getting scannable file list from server
2) dispatch scan file operation per item in list
TO-BE
1) dispatch async scanning with files/dirs list by client
2) Client receives event only when malware detected by server
unless file scanned callback is registered.
IPC time is much more lower than before because IPC isn't needed
for file scanned without malware when callback isn't registered.
Memory usage on client side is much less than before because client
doesn't receive a bunch of scannable file list.
Client only receives event when callback call needed or operation completed.
Change-Id: I0c913a2fbdf75c2abe99cdf6d757fdb0f264145d
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Ie752f3cba3dd88d917a4f08b75cfa9b124533dcc
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Continue for loop without call recursive for target
Change-Id: Ibda767ddecfe6582cb02fbc9585cacc35f87894d
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Overhead to check db for all scan request is bigger than scan file. So
we check history for getting ignored flag only when file scan finished
and it has detected malware.
Change-Id: Iac391e33069cbff46cd94588837d1f0ceb813c05
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I546649837c647cda53ddab97904be5ebf8c43ae9
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Iacbc2504b763e754df8b6cff666e4677089a03bf
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
- Cancel async operation on both of server/client side
- Fix svace defects
- Checks service idle with client connection
- Refactor file visitor class
Change-Id: Id0ccc858961bd12ce64f521bbaca3ea1e49ffab5
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I3ac0a00d2dd239101828bd10289e5d9372aca664
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I2bb154ce573468cbaab8fb0d32aae8f0e746ef20
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Remove duplicated call of checking file's status e.g.,
pkgmgr_is_preloaded, ::stat(), regex...
And Make flag for file visitor to turn on and off of visiting inside of
package path
Change-Id: Ib80a2145f27d9951168951043ef600efcd2e1b87
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I75e5ecb82d0165210e48e35825f3812426e57c0c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Iba6c0d725e98d5c5e8e81252873923278bd0d194
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I6677a821eb1ecf545b902f4f872790d76807e728
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Data deprecation based on engine latest update time which is provided by
engine API(csre_cs_engine_latest_update_time)
Change-Id: I8f2b9a2118a2b575493b786c149e70bd93ba9e48
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I192598839997327d468d5285745aacd6f2f6da4b
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
dead code on db manager
dereferencing nullable pointer on cs logic
Change-Id: Iec1b9f9f9fb329566a4b6d96e4cd129e87c70087
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
On platform, test program is based on sample engine and it's included in
test rpm so real binary isn't affected
Change-Id: Icec4fcddb7270139ff3e42d4477f15c07eef2950
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Not to misunderstand callback counts mismatch.
Order it on importance.
Change-Id: I75c5756bf40a03a01f1bcb4c964837653fba834c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Icbc7449981f46c1a535596625781ddb9f5cab491
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Ia0525972e026ad0f0dc08a17872542982a43592d
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|