Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I39b362b4dc1e4ed4de86abbdd15480bd40b3b2ad
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
* Fix coverity defect
Change-Id: Id5ea5c5f3219e52cdb5df3367b891bb1ba610134
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
* MISSING_MOVE_ASSIGNMENT
* UNCAUGHT_EXCEPT
Change-Id: I4ab109a4737b54263c5d54ac07004032b0a483b5
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
* Uncaught exception
Change-Id: I42d3930d0b385f147cebb82c8126931e9c794f25
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
* Bump to gcc9
Change-Id: I3f07ddc7fc03e1d25dc63c01d1ad03a6a90b7888
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
Pathname sockets: The pathname in sun_path should be null-terminated.
ref: http://man7.org/linux/man-pages/man7/unix.7.html
Change-Id: Ie3cd95aff89e8f77e07acdac9e181a092b731bee
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I033029a0b0c7bbaaaa02d1d86348576af221e581
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
wp-loader.cpp:34:49: error: 'function' in namespace 'std' does not name
a template type
34 | int getValueCstr(std::string &value, const std::function<int(const char **)> &getfunc)
| ^~~~~~~~
wp-loader.cpp:29:1: note: 'std::function' is defined in header '<functional>';
did you forget to '#include <functional>'?
28 | #include "common/exception.h"
+++ |+#include <functional>
Change-Id: I7d4d627cfef2356a2061f6b5e7051e34a68fcee1
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I794ed2db4985d25a20a07749de69b9e3db1d851b
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
|
|
Change-Id: I354789b6e38d5f7db575bfa7fa22b585f9289d41
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
This reverts commit 41452349d956d5c890f7a743c155600f8b091f63.
We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.
Change-Id: Ib7e2e358d26ec39c5907ccc6ef9458c382754b36
|
|
* Disable service at boot time
* Grant smack label to test binary
* Refactoring csr.service and csr-OOO.socket
* Remove unnecessary setting
* Remove unnecessary code from csr-popup.[socket|service]
* Support auto coverage checking
* [LCOV] Prepare to measure the line coverage
* tizen: Add additional unit for "unified" user session
Change-Id: Id11ea5c88792436d84efa353756f61b50cca6e0d
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Idc346fe8712a04bf0b4f18eafe73a111d413a3c0
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
- Test binary needs privilege for installing app
Change-Id: I89471e255c4741245eb07882a3b29d417b2757c7
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
- Using "Wants=csr.service" in csr-OOO.socket is replaced by putting csr.service in multi-user.target.wants.
- Using "After=csr.service" in csr-OOO.socket is not requires because there is an explicit dependency between socket and service.
- All four sockets are required for csr.service. So, "Requires=OOO.socket" must be in csr.service.
- "Sockets=" in the csr.service is replaced by "Requires=OOO.socket". ("Sockets=" includes "After=" and "Wants=")
Change-Id: If6303fcf17f16c70b4c5b67cca897f0c650b4b85
|
|
Change-Id: I0524d2fce2904a986216fe1399a8a4dbb01e22e5
|
|
1. The csr-popup.service does not need to be running at boot time, so it removes the "Wants=csr-popup.service" from the csr-popup.socket.
2. You do not need "Sockets=" and "Service=" for sockets and services with the same prefix.
3. "Type=simple" is the systemd defaults, so we don't need it.
Change-Id: I4a282d27dff9a8591bf68b4ca9e9b1a41592a87d
|
|
Change-Id: I383849a301f33017d332dabb4650e0763d71419b
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I10668614519956b8950ce9bcf97cd52bbe27c077
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.
user@.target will contain same units as previously available in user/,
with same UID and environment setup. systemd instance is used for unit
to be able to specify UID (inherited from user@.target).
The rationale behind this work is following:
* VD requirement to remove user session support
* boot time optimization requirements, due to:
+ 'systemd --user' taking 1s its own startup that could be used for
unit startup
+ ability to better rearrange units if these managed by one systemd
instance
Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).
Change-Id: I34ec6af3e2736348747a3d702451d540354c9831
|
|
* Fix memory-leak bug on sample engine
* Fix log fomatter according to boost version upgrade
* Fix JIRA defect about ASAN
Change-Id: Ifc3e3d9380ac07313b548597e74b72482fcff5e0
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Ifd834844441d143093bfd15cd156f1dac9ef969b
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
- boost version : 1.65.1
Change-Id: Ic3b45f5e47cb4e2edbec22820075c43078944c60
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
- alloc-dealloc-mismatch (malloc vs operator delete)
Change-Id: I1e75b63c6e02eb34e05e26e97c3909e6ee27ec35
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* Fix resource leak on test binary
* Fix coverity defects
* Fix misuse of unique_ptr
Change-Id: I53418d8c942fc7bc717baee4b39f2b7f0bc87498
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Iba58129c65bbcdd1201158536b99c2f1f5429daf
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* Uninitialized scalar field
* Uninitialized pointer field
* Unchecked return value from library
* Wrapper object use after free
* Data race condition
Change-Id: I00bf5cf4d4dc5afe53a0080d9316da37989c9e42
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I81328ff84be8bbc07ee1c52e8f91676a84b30681
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* Fix typo in a public header
* Merge branch 'tizen_4.0' into tizen
* Add smack label to internal-test as System
* Fix sample engine latest updated time as installing time
* Fix csr-server capability as inheritable
* Remove deprecated upgrade script
* Fix failed internal test cases
Change-Id: I3b2f624fc2d64983d73af8d3c8eeb62a7e1e1c43
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I22cd100b43c2d118fe4a5bcbcae7f30a58bfba5d
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Id39e536a81235b91d5852286c4ba433c5d5a098f
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I7dbe98b64f42fc0fc9db7947749057e9aa1e3b21
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Malware detected time should greater than engine's latest update time
when engine is not updated after malware detecting. But some device's
current time is not correct(before: 2016) and sample engine's latest
updated time is fixed time(after: 2017), some TC was always failed.
Change-Id: I34ec53e612eb927ae0c2261a1ba4f42af6a7fb51
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Ide4a5c8b6e5416671ad0ca6d54ee01ff2852bd9a
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Ifa75fc6e9f946316ab771ff08be5453359c859aa
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I7330cadd7d966bd0cfe878548ead432a505ce85e
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* Fix log fomatter according to boost version upgrade
* Check a task status inside HandleExt to handle concurrent issue
* Remove error log on NativeMainloop dtor
* Cherrypicks from tizen_3.0 branch (HEAD: 6adc3ec)
* Run set cap script after csr rpm installation
* Make File::Type class to encapsulate filetype op
* Revert "Determine package by removable attribute"
* Determine package by removable attribute
* Add error handling for getting stat
* Downgrade log levels which printed too frequently
* Downgrade some frequently printed log's level
* Remove platform version diff handling
* Version Comparision String Fix
* Apply the reviewed API documentation
Change-Id: I218b60e3934d01f6411d6eb4abec83e58d9332fb
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Iba8af0d1900230375550258f0daaf68db641925e
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I46211a78f6b43cf8da0e001b3e511e765d981d70
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
(cherry picked from commit 9f8be3f00c3dc9446f8b7abad887871ad3224804)
|
|
NativeMainloop can be destructed even though it's not timed out case.
Because the loop can be used by client side to implement async logic,
and all listening sockets are closed automatically as RAII
Change-Id: I36760e7202206c82f2a0545e993069ad59549547
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Fix svace defects
(cherry picked from commit 2d3c97687a31b2a7d30979821be822dac67b79b6)
Restart service after test sample engine installed
(cherry picked from commit 074d22b0ec48f8657e56f0f3af5c1d0fa1dea09c)
Fix bug on CS sample engine
(cherry picked from commit 6adc3ec9be0e6b4e0e24bca85e7a0872f7d7c6ff)
Change-Id: Ibb820332ba178bdda953cf81de900286b0edbaa4
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
csr server needs capability which is set by security-config.
Change-Id: I0083549e9a006b8b37e0c8084da214cbf2c10930
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I789fa225fdeaacb5d08c6d4235b1d8e259313885
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
This reverts commit b4f1327fa51cdbc6d378287859a48bd01c2e72e4.
Need more precise decision related to preloaded app deletions.
Change-Id: I49367d5afd2748ce8133b3345cb23e5bd6d9fb76
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: Ic398d0a9056ee2bcef7f17d0813f15da9cb85816
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I1b8464ebfb3af33a48325af42595512dcba2284a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I1af4abcf28e42ea4659782d358c27cd603a0e93c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
Change-Id: I1fd99687f04e12422ec7761dec5fb3f7b865fce7
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
The csr project was developed on both of 2.4 and 3.0 tizen version at
first but 2.4 is forked to other package and no more maintanance needed
in here. Also the branch tizen need not to support tizen version lower
than 3, so remove all codes related.
Change-Id: I912d9f9c6a345d0d6a21192eda56e39cb0d9cb79
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|