summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Sungbae Yoo [Mon, 4 Dec 2017 02:52:38 +0000 (11:52 +0900)]
Add exception handler for regex_error
This commit is to resolve the SVACE issue
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I73541b858d1cbca66a2800737869d506acfef02e
Sungbae Yoo [Mon, 27 Nov 2017 12:36:04 +0000 (21:36 +0900)]
Change static variables for cgroup pattern matching to be local
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I1faea53df9853bfe6ea12578701c5c017b9481ac
Jaemin Ryu [Mon, 27 Nov 2017 05:55:11 +0000 (14:55 +0900)]
Add database integrity check
Change-Id: Ifa3a20b029327828a5ba53b46e7ba00305570a62
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Sungbae Yoo [Mon, 27 Nov 2017 08:23:42 +0000 (17:23 +0900)]
Change default fvisibility to hidden
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I49581e81def9d2d80883a4e7d0a25282100a1c58
sangwan.kwon [Fri, 3 Nov 2017 06:55:57 +0000 (15:55 +0900)]
Fix misuse of mode_t
Change-Id: I732eb1994b7326761de18e3dd6399611153c3029
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Jaemin Ryu [Mon, 16 Oct 2017 05:55:25 +0000 (14:55 +0900)]
Add common exception handling
Change-Id: I4a444fc90086fedc82fdf3afb34eba1d440ccdd0
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
sangwan.kwon [Thu, 19 Oct 2017 06:15:37 +0000 (15:15 +0900)]
Restore SignalCallback type for backward compatability
Change-Id: Ief27d11c0a813e33c4bea90c886196054a33ba73
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
sangwan.kwon [Mon, 25 Sep 2017 09:10:08 +0000 (05:10 -0400)]
Add high-level dbus signal class
Change-Id: Ib7247c440a331607f57bac4ab795e2efe52861cd
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
sangwan.kwon [Mon, 4 Sep 2017 09:18:50 +0000 (05:18 -0400)]
Add GDBus introspection class
Change-Id: Icdf25b14552cbf37e414596e54863cde7d7d5d15
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Sungbae Yoo [Tue, 26 Sep 2017 10:18:08 +0000 (19:18 +0900)]
Add a license file
Change-Id: Iecb9da9b33cfa3f5f6835eeed2ac70a19ffd7ac2
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Sungbae Yoo [Tue, 26 Sep 2017 02:28:17 +0000 (11:28 +0900)]
Coding rules : Remove unnecessary blank line
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I065fa67e7c843ca9cbd6ed9252f843653d99526a
Lukasz Pawelczyk [Mon, 4 Sep 2017 11:53:10 +0000 (13:53 +0200)]
Add manifest with _ label
Change-Id: I03d781f8625727135c6b3f08fca8515fdbcc3da8
Jaemin Ryu [Mon, 28 Aug 2017 00:10:42 +0000 (00:10 +0000)]
Merge changes I1a27526b,I8af6a3b5,I6e4bca44 into tizen
* changes:
Support socket activation
Remove gmainloop support from Mainloop
Make the main version of the library a shared object (.so)
Jaemin Ryu [Tue, 22 Aug 2017 05:55:51 +0000 (14:55 +0900)]
Support socket activation
Change-Id: I1a27526ba58a48cc2c2eeb879d74df5de5b1695c
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Jaemin Ryu [Tue, 22 Aug 2017 05:51:53 +0000 (14:51 +0900)]
Remove gmainloop support from Mainloop
Change-Id: I8af6a3b5b0149c6af53f9b7c6b2b639a3aaa8496
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Jaemin Ryu [Tue, 22 Aug 2017 05:06:42 +0000 (14:06 +0900)]
Make the main version of the library a shared object (.so)
This applies reverted commit
7a861dd40cc6661d2085d44d402c801c79feaaf9
>> Author: Lukasz Pawelczyk <l.pawelczyk@samsung.com>
>> Date: Fri May 5 16:06:17 2017 +0200
>>
>> Make the main version of the library a shared object (.so)
>>
>> Additionally split into 2 packages:
>> - klay - shared library
>> - klay-devel - headers, pkg-config file and library for linking
Change-Id: I6e4bca44bd07f38db86a4071077ab9097d072792
Jaemin Ryu [Wed, 16 Aug 2017 08:06:48 +0000 (08:06 +0000)]
Merge "Remove const from dbus::Connection::methodcall()" into tizen
Jaemin Ryu [Wed, 16 Aug 2017 04:22:49 +0000 (04:22 +0000)]
Merge changes I8d52a236,Icdc068fc into tizen
* changes:
Allow subclassing of rmi::Client and rmi::Service
Add scoped gmainloop
Jaemin Ryu [Fri, 11 Aug 2017 07:15:11 +0000 (16:15 +0900)]
Allow subclassing of rmi::Client and rmi::Service
Change-Id: I8d52a236bfffe7f0d4e15af9729bf934e8d317b3
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Jaemin Ryu [Fri, 11 Aug 2017 07:03:45 +0000 (16:03 +0900)]
Add scoped gmainloop
Change-Id: Icdc068fcb9d5d7579073bdced59c8fd45caf4ee7
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Sungbae Yoo [Thu, 27 Jul 2017 13:04:35 +0000 (22:04 +0900)]
Remove unnecessary logging in file-user
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I85149e776c38a67ef6d2e72624bd8a7d78727f13
Sungbae Yoo [Thu, 27 Jul 2017 08:07:19 +0000 (17:07 +0900)]
Change file-user APIs for klay change that uses lstat
Refer to commit
d866a7170f87d406d8c9bc3722d9db08d54d7c17.
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Id07d7b3f344b611f1495bdf46f9113998ac5242c
Sungbae Yoo [Thu, 27 Jul 2017 08:09:27 +0000 (17:09 +0900)]
Fix a bug by that readlink returns not the null-terminated
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I7e4b5545f8acd32926b17b60d6d8f3cc3b039bba
Sungbae Yoo [Thu, 27 Jul 2017 05:15:21 +0000 (14:15 +0900)]
Add readlink method in filesystem API
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I86dda70ea0201a0a2f4ec4b0bfd58a5af86e9ae0
Jaemin Ryu [Thu, 20 Jul 2017 08:07:36 +0000 (17:07 +0900)]
Change type of credential access methods to static
With this commit, IPC handler can access peer credentials with out
rmi::Service instance.
Note: Peer credentials are maintained in static thread local storage.
Change-Id: Iec7ff64297180c86a4f7eb118b160b6e53740c2c
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
sangwan.kwon [Fri, 14 Jul 2017 07:23:37 +0000 (16:23 +0900)]
Fix file-system API to use lstat instead of stat
Change-Id: I29f70eab30e4d7f729a6b2efbcf336e555f7b2eb
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Jaemin Ryu [Thu, 13 Jul 2017 06:34:11 +0000 (06:34 +0000)]
Merge "Support multiple logsink on one process" into tizen
sangwan.kwon [Thu, 6 Jul 2017 07:47:34 +0000 (16:47 +0900)]
Support multiple logsink on one process
Change-Id: I3abacf126bedaa70433d3c9efd28e2a0d775b6fa
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Sungbae Yoo [Fri, 30 Jun 2017 11:59:12 +0000 (20:59 +0900)]
Add the management of audit rules in netlink audit
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I22f2c5c44015d8dc57b97e69d87413ea2e06c1fa
Sungbae Yoo [Fri, 9 Jun 2017 11:31:50 +0000 (20:31 +0900)]
Add audit class to use linux audit subsystem
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I9a88371ebe822c93efd5a849de311d6a8ed4761f
Sungbae Yoo [Wed, 31 May 2017 11:23:37 +0000 (20:23 +0900)]
Add cgroup class for management of cgroupfs
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: If0f280c8484c424117727aa04fa88b523056e590
Sungbae Yoo [Wed, 31 May 2017 06:43:54 +0000 (15:43 +0900)]
Add a class to unshare/attach the namespaces of process
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Id599317957a08a0ae8806af2460223ac9341d14c
Lee Sung Jun [Tue, 23 May 2017 07:52:53 +0000 (07:52 +0000)]
Merge "[SECIOTSW-349] Add AuditTrail class to audit namespace" into tizen
Krzysztof Jackiewicz [Thu, 18 May 2017 08:20:08 +0000 (10:20 +0200)]
Remove const from dbus::Connection::methodcall()
const Variant in return value disables the use of Variant's move constructor
so the only way to get it is by const Variant& which is not always preferred
option.
Change-Id: If6ac46e486444f69c946920ee6fa31fed100d134
Lee Sung Jun [Tue, 23 May 2017 06:55:49 +0000 (15:55 +0900)]
[SECIOTSW-349] Add AuditTrail class to audit namespace
Change-Id: I3e3daaef1d829c4cac0c04bb288f5d05a4cecdbc
Signed-off-by: Lee Sung Jun <sjun221.lee@samsung.com>
Sungbae Yoo [Tue, 23 May 2017 02:06:10 +0000 (11:06 +0900)]
Fix copy() to be able to handle large files than 2GB
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I5555d8dc13128ea969b09b35c913d54ccbe4e537
Sungbae Yoo [Mon, 22 May 2017 08:15:40 +0000 (17:15 +0900)]
Change the return type of size() to off_t for LFS
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Krzysztof Jackiewicz [Thu, 4 May 2017 06:35:24 +0000 (08:35 +0200)]
Compile with 64bit file offset support
Change-Id: I9d8f30ececd6c00338accb5029de711f83cdbea0
Lukasz Pawelczyk [Wed, 10 May 2017 09:54:14 +0000 (11:54 +0200)]
Reverting
7a861dd40cc6661d2085d44d402c801c79feaaf9
Change-Id: Idea4b951f0ff4476252627b3c8abd8c166df078e
Lukasz Pawelczyk [Fri, 5 May 2017 14:06:17 +0000 (16:06 +0200)]
Make the main version of the library a shared object (.so)
Additionally split into 2 packages:
- klay - shared library
- klay-devel - headers, pkg-config file and library for linking
Change-Id: Id1b704b46f99509f57017e1defc74fceda6187ec
Sungjun, Lee [Thu, 20 Apr 2017 06:26:24 +0000 (23:26 -0700)]
Merge "[SECIOTSW-530] Initialize a member of IPCTestSuite" into tizen
Sungjun, Lee [Thu, 20 Apr 2017 06:26:09 +0000 (23:26 -0700)]
Merge "[SECIOTSW-530] Initialize a member of rmi::CallbackHolder" into tizen
Sungjun, Lee [Wed, 19 Apr 2017 07:38:24 +0000 (16:38 +0900)]
[SECIOTSW-530] Catch exceptions of type 'runtime::Exception' in '~Client()'
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
Change-Id: I8f52e3386e5a80675da0c83d682c9544f6c4a321
[WGID: 207329] '~Client()' doesn't catch exceptions of type 'runtime::Exception'
Sungjun, Lee [Wed, 19 Apr 2017 06:34:01 +0000 (15:34 +0900)]
[SECIOTSW-530] Initialize a member of IPCTestSuite
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
Change-Id: I54f01c0190a13f3956539744ef858e024892e601
[WGID: 20787] Following members aren't initialized: pid.
Sungjun, Lee [Wed, 19 Apr 2017 05:41:14 +0000 (14:41 +0900)]
[SECIOTSW-530] Initialize a member of rmi::CallbackHolder
Change-Id: I3fbf3c2ec78427b779dfcc80d51eb0df24ddc46d
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
Jaemin Ryu [Fri, 7 Apr 2017 02:31:01 +0000 (11:31 +0900)]
Use std::forward instead of std::move in ThreadPool::submit
Change-Id: Ibd789ae9721b6412e909217d043582bb8b69d39b
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
sangwan.kwon [Mon, 20 Mar 2017 10:08:29 +0000 (19:08 +0900)]
Add requires to pkgconfig configuration
Change-Id: I5f1d63f27a0ed4b6a423cfa15697696ff5020f45
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
sangwan.kwon [Thu, 16 Mar 2017 11:42:53 +0000 (20:42 +0900)]
Add NDEBUG flag explicitly on release mode
Change-Id: Ied8b36bb9da43aefbf2ccf7977db389c3a4cf592
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Jaemin Ryu [Mon, 6 Mar 2017 01:07:28 +0000 (10:07 +0900)]
Merge branch 'tizen_3.0' into tizen
Jaemin Ryu [Mon, 6 Mar 2017 00:59:45 +0000 (09:59 +0900)]
Add silent log level
Change-Id: Id3ae0aac14b1ae709b0ad7f40f76503b5b31cd9f
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Pawel Wrobel [Fri, 3 Mar 2017 13:44:06 +0000 (14:44 +0100)]
Resizing buffer implementation added.
Buffer resize has been added when writing more then 4096 data.
Also Message::decode has been changed to allow proper deserialization.
Change-Id: Ic3bd6a711e7b8cc817b365dd055298828e049972
sangwan.kwon [Fri, 17 Feb 2017 03:54:52 +0000 (12:54 +0900)]
Add descriptor check before creating
Descriptor can be leaked when (open | create) called continuously.
Change-Id: If5be52386ab189ce16cfcfebbdd0d0fbeb49207f
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Jaemin Ryu [Sun, 19 Feb 2017 22:57:55 +0000 (07:57 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/core/security/klay into tizen
Jaemin Ryu [Sun, 19 Feb 2017 22:52:39 +0000 (07:52 +0900)]
Add audit trail for remote method call
Change-Id: Ideb4f96f55b650e8adb2640355659cd50631f8ef
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Sungbae Yoo [Wed, 8 Feb 2017 06:42:33 +0000 (15:42 +0900)]
Merge branch 'tizen_3.0' into tizen
Zofia Abramowska [Tue, 24 Jan 2017 16:45:25 +0000 (17:45 +0100)]
Fix Serialize for custom types
visitInternal didn't take const reference to reflectable type
Change-Id: Ic8501ae93c502fc2a58f2f3c6cda2f6b6cc1bed8
Zofia Abramowska [Tue, 24 Jan 2017 16:45:25 +0000 (17:45 +0100)]
Fix Serialize for custom types
visitInternal didn't take const reference to reflectable type
Change-Id: Ic8501ae93c502fc2a58f2f3c6cda2f6b6cc1bed8
Jaemin Ryu [Fri, 13 Jan 2017 09:15:29 +0000 (18:15 +0900)]
Add dbus signal interface
Change-Id: I01b4ebde3c634b9680fd544e6e729676e7570faf
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Sungbae Yoo [Wed, 11 Jan 2017 09:38:21 +0000 (18:38 +0900)]
Add default privilege checker
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Iad61cc4c41fde54e0ba7e7a04014fb609980c970
Seok Hong [Tue, 27 Dec 2016 01:41:20 +0000 (10:41 +0900)]
Fix missing library linking (pthread)
Change-Id: I186c998d61450ceaa91864a86b39ecb2c08818bf
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
Sungbae Yoo [Mon, 26 Dec 2016 09:15:30 +0000 (18:15 +0900)]
Change readdir_r to readdir for gcc62
readdir_r is deprecated in gcc62.
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ibd0090d4939f0ae4077ef2c292d6495fd6ea5b4e
Jaemin Ryu [Fri, 9 Dec 2016 07:30:53 +0000 (16:30 +0900)]
Add expose interface for unified method registeration
This interface will replace old registerParametricMethod/NonparametricMethod
interfaces.
Usage:
service->expose(target object, permission, (type)(function)(parameter packs))
Change-Id: Ie1cd90aa9233c659dbcad7d03a1c3887545b285d
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Jaemin Ryu [Fri, 9 Dec 2016 07:27:46 +0000 (16:27 +0900)]
Enhance VAR_ARGS_SIZE to be aware of empty __VA_ARGS__
Change-Id: I1c08f8ddf36131290447ec072ea591e488077a1e
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Sungbae Yoo [Thu, 8 Dec 2016 09:09:32 +0000 (18:09 +0900)]
Add support of object registration to dbus
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ifc2c1260d5b7fe2cdccab4a41701fc03cc6328ba
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Jaemin Ryu [Sun, 18 Dec 2016 03:29:16 +0000 (12:29 +0900)]
Add latch: barrier for ordering exeucution
Change-Id: I6994358f2a548e595ae21c1874d1f3abc3a6fa91
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Jaemin Ryu [Tue, 15 Nov 2016 09:06:55 +0000 (18:06 +0900)]
Fix data install path
Change-Id: Idb5ebef60dde58314bc2e604c4f1e1fc15657292
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
seolheui,kim [Fri, 25 Nov 2016 05:18:12 +0000 (14:18 +0900)]
Add fileuser
Change-Id: I8094360a56acb3082b4de876469ddedaa37c65cd
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
Sungbae Yoo [Fri, 25 Nov 2016 06:34:51 +0000 (15:34 +0900)]
Add getting inode and device number function in filesystem
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I6b42941cf9e610168f6ba46a083b316d924640a2
MyungJoo Ham [Thu, 17 Nov 2016 07:01:34 +0000 (16:01 +0900)]
Remove Profile Build Dependency (trivial)
1. This is for Tizen 4.0.
(For 4.0 Configurability / Building Blocks, we are going to
prohibit "profile" macro in public build soon.)
klay$ grep -r "TIZEN_PROFILE_NAME" *
packaging/klay.spec: -DTIZEN_PROFILE_NAME=%{profile} \
klay$
Thus, this profile macro usage has been useless. Remove it.
Change-Id: Ib600b37fad8dd6cb022a5f8615fed7d7abb54923
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Seok Hong [Thu, 10 Nov 2016 07:38:39 +0000 (16:38 +0900)]
Add lseek for filesystem
Change-Id: I46251f11892788bde41fdc57ba88bc331fee3cd1
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
sangwan.kwon [Tue, 25 Oct 2016 11:37:24 +0000 (20:37 +0900)]
Add dlog backend to logger system
Change-Id: I5412fe14dcbb7a89ed28c7c68faed930f16de08c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Jaemin Ryu [Mon, 19 Sep 2016 01:26:17 +0000 (10:26 +0900)]
Fix improper EINTR handling
Change-Id: Iaa76eb63cbc6f2e47da7eca11944420035ec9b20
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Sungbae Yoo [Tue, 19 Jul 2016 07:03:01 +0000 (16:03 +0900)]
Move from device-policy-manager git
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I47a7b10f2ff22135256067adec5346ae4a40bd27
Jong Jeong Kim [Tue, 19 Jul 2016 05:26:02 +0000 (22:26 -0700)]
Initial empty repository