platform/core/system/libdbuspolicy.git
5 years agofix logging 79/186579/4 accepted/tizen/unified/20180817.140752 accepted/tizen/unified/20180821.091105 submit/tizen/20180814.085438 submit/tizen/20180820.105030
Monika Zielinska [Fri, 10 Aug 2018 13:05:48 +0000 (15:05 +0200)]
fix logging

Logging internal definitions moved from libdbuspolicy.h to
dlogger files.

Change-Id: If4040ac2943a860a915681fa5d44855773d5f10f

5 years agoadd error logs to bus initializing and policy parsing 18/186418/2 submit/tizen/20180810.082314
Monika Zielinska [Thu, 9 Aug 2018 11:08:33 +0000 (13:08 +0200)]
add error logs to bus initializing and policy parsing

Added dlog error logs to dbuspolicy1_init and policy parsing for easier
debugging. Changed behavior when parsing: exceptions thrown while
parsing main system.conf/session.conf files cause interruption
of parsing. Exceptions from parsing other .conf files are logged, but
parsing is continued.

Change-Id: I615d1a49fb552518d0040df1d875ba20ca6839f7

5 years agoAdd memory dump functionality 37/184637/10
Monika Zielinska [Wed, 25 Jul 2018 13:44:28 +0000 (15:44 +0200)]
Add memory dump functionality

Useful for memory consumption analysis, prints out content of
structures used to keep policy and their memory.

Change-Id: I127e1ab36f498d1dedff85e7a2ce4751b276d75e

6 years agoAdded latency & memory usage test 61/183661/6
Monika Zielinska [Mon, 9 Jul 2018 13:24:05 +0000 (15:24 +0200)]
Added latency & memory usage test

Change-Id: I2daf0306bce9468b397fa78f2f5a8437c5bd8389

6 years agosvace fix 63/183163/1 accepted/tizen/unified/20180704.154022 submit/tizen/20180704.010647
sanghyeok.oh [Tue, 3 Jul 2018 05:00:06 +0000 (14:00 +0900)]
svace fix

Change-Id: Ib6b047eb6fe90476d6c28980589ed7eb777eb4e5
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoUse expat SAX parser instead of boost::ptree (DOM) 27/179727/6 accepted/tizen/unified/20180619.142100 submit/tizen/20180619.052936
Aleksy Barcz [Fri, 18 May 2018 12:35:32 +0000 (14:35 +0200)]
Use expat SAX parser instead of boost::ptree (DOM)

Modified xml parsing methods to use expat parser, which is much
faster than boost::property_tree (initialization time decreased
by about 30%). Added missing includes after the removal of ptree.

Change-Id: I8973fe7ad7bbfe7928ef261fe07305f54e640b76

6 years agoadded checking bus-access rules 44/177344/4
Aleksy Barcz [Wed, 11 Apr 2018 14:44:19 +0000 (16:44 +0200)]
added checking bus-access rules

Implemented enforcing access/opening dbus rules. Added a check to dbuspolicy1_init method
(dbuspolicy1_init will fail if the application is not allowed to access chosen dbus bus).
Moved opening kbus after the check to avoid situation when a process that isn't allowed to
access the bus will hold an open kbus descriptor. No changes are required in glib and dbus
libraries to work properly with the new behaviour of dbuspolicy1_init, but some reordering
should be made to assure that the attempt to access bus will fail exactly in the same place
as when using dbus-daemon.

Refactored logging items (more refactoring of tslog needed).
More compact decision logging for better logs readability. Fixed incorrect logging of checking own policy.
Refactored updating groups to facilitate mocking and testing.
Addedd access/open bus tests. Removed repetitions from Makefile.
Fixed static_assert error msg.

Change-Id: I5042ba50b21ec6cc2c6423b3ade1e5c78d45625b

6 years agorefactored parsing xml, added handling <include> tags 43/177343/3
Aleksy Barcz [Thu, 26 Apr 2018 14:13:32 +0000 (16:13 +0200)]
refactored parsing xml, added handling <include> tags

Up to now <include> tags were ignored, only <includedir> worked.
Assuming that we won't use selinux, so we can ignore includes
tagged as if_selinux_enabled.
Fixed undefined behaviour when modifying std::string.c_str() using dirname.

Change-Id: Ia56f030ec509721584dd2ccd476976ea8f66a440

6 years agoremoved duplicate code via templates 42/177342/3
Aleksy Barcz [Wed, 11 Apr 2018 14:43:08 +0000 (16:43 +0200)]
removed duplicate code via templates

Removed duplicates. Corrected type of iterator used in switch/case.

Change-Id: I35a6de8bea5ee04b9a107c5b41206623a7e72a4b

6 years agorefactored parsing policy 41/177341/3
Aleksy Barcz [Fri, 6 Apr 2018 09:34:03 +0000 (11:34 +0200)]
refactored parsing policy

Changed unnecessarily recursive code into code that reflects the actual
configuration syntax, for better readability and maintainability.
Removed unused __tag_state and __attr variables.
Fixed potential future bug: ptree api doesn't guarantee that <xmlattr> will be
the first child, so we shouldn't assume it will be first.
Fixed bug, when policy at_console was parsed as the last seen policy type
(or as unitialized type, if it was the first policy read).
Added test case to assure that at_console policies will always be ignored.

Change-Id: I7e28262ee4837547e10ca1b33f7d5a90166f4667

6 years agofixed ItemOwn::__name potential memory leak 58/173458/4
Aleksy Barcz [Wed, 21 Mar 2018 09:33:24 +0000 (10:33 +0100)]
fixed ItemOwn::__name potential memory leak

Bugfix. Fixed leaks reported by valgrind.

Change-Id: Icd81120781313b662fad22d17f6ff9dbadc5cf03

6 years agonew implementation of own/own_prefix rules handling 57/173457/4
Aleksy Barcz [Mon, 19 Mar 2018 09:30:02 +0000 (10:30 +0100)]
new implementation of own/own_prefix rules handling

Bugfix/rewrite. Previous implementation was based on the incorrect assumption
that "ab" is a prefix of "abc", while according to the dbus specification
"ab" is a prefix of "ab.c" but not "abc" (elements/tokens must be dot-separated).
Added multiple regression tests, covering both simple and exotic cases
(like allowing a prefix "a.b.c", but denying "a.b.c").
All expected test results verified against dbus-daemon (except cynara checks).
All new tests use default-deny-own policy, changed tests directory structure.
Fixed fragile DecisionItem class which assumed ownership of __privilege,
but didn't hide it's copy-constructor, which could result in freeing freed memory.

Change-Id: I98924ccf475ddd5e49e2eac99c9f1b586f982b90

6 years agofixed loading incorrect files as configuration 59/173459/4
Aleksy Barcz [Wed, 21 Mar 2018 15:24:57 +0000 (16:24 +0100)]
fixed loading incorrect files as configuration

Bugfix. libdbuspolicy should load only files with names ending with ".conf",
as dbus-daemon does. Added an incorrect configuration file as regression test.

Change-Id: I868c04d6475101abfe2ffcd551b8eb9ce9bf4305

6 years agonaive_policy_db: remove try-catch 10/172710/4 accepted/tizen/unified/20180328.140042 submit/tizen/20180319.052501
sanghyeok.oh [Thu, 15 Mar 2018 09:11:23 +0000 (18:11 +0900)]
naive_policy_db: remove try-catch

* dlopen deadlock issue
 Both dlopen and internal try{}catch for stl::map.at() are trying to acquire 'global lock'

Change-Id: I185b3aea9964cb1eb0a87a0f00bce9ec15633315
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agomodify linker option 49/170649/1 submit/tizen/20180222.051219
sanghyeok.oh [Wed, 21 Feb 2018 07:08:27 +0000 (16:08 +0900)]
modify linker option

To prevent unload libdbuspolicy.so at runtime, add linker option 'nodelete'

Change-Id: If92547f63a14473f58d36d9fc07028cbbf13622b
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agosvace fix 28/164228/1
sanghyeok.oh [Mon, 18 Dec 2017 06:55:14 +0000 (15:55 +0900)]
svace fix

add null pointer handling for getpwuid_r

Change-Id: Ic9d33067b4da30cd9d336a4a75766d59f9010c57
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agosvace fix 07/161007/1
sanghyeok.oh [Tue, 21 Nov 2017 05:21:23 +0000 (14:21 +0900)]
svace fix

Change-Id: I9290d145b40606711992a4a01fea83d13ed7582b
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agopolicy checking scheme: add mutex lock for data structure(std::map and std::vector) 58/159358/1
sanghyeok.oh [Tue, 7 Nov 2017 09:03:24 +0000 (18:03 +0900)]
policy checking scheme: add mutex lock for data structure(std::map and std::vector)

Change-Id: I4a213d90dca2447cbd5678083a41c18f10e958fa
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
(cherry picked from commit 82139a81405a9e4ce38ce37439612079643864be)

6 years agokdbus: modified to get label for signal 79/157579/1
sanghyeok.oh [Tue, 24 Oct 2017 14:34:18 +0000 (23:34 +0900)]
kdbus: modified to get label for signal

Change-Id: Ia6fa61fe49084e25270b15387980299fe0b40b44
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agopolicy checking scheme: support supplementary group 83/151083/8
sanghyeok.oh [Tue, 19 Sep 2017 15:27:39 +0000 (00:27 +0900)]
policy checking scheme: support supplementary group

Change-Id: I163bc517d0fdcdbbc8b971ccdf927aa5df47af4a
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agodbuspolicy1_check_in: add handling null sender 47/154247/1
sanghyeok.oh [Tue, 10 Oct 2017 02:15:44 +0000 (11:15 +0900)]
dbuspolicy1_check_in: add handling null sender

null sender at dbuspolicy1_check_in meaning sender has no well-known name,
We can change this to garbage char.

Change-Id: I7ee36d3b77bd6cf86cbea0286f0652f7d1a01774
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agodbuspolicy1_check_out/in: enable policy check for signal 46/154246/1
sanghyeok.oh [Tue, 10 Oct 2017 02:08:55 +0000 (11:08 +0900)]
dbuspolicy1_check_out/in: enable policy check for signal

Change-Id: I241f69bc5657ab904d2bf5eaba006188e53cb9aa
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agodbuspolicy1_check_out: enable receive_sender rule 45/154245/1
sanghyeok.oh [Tue, 10 Oct 2017 02:07:25 +0000 (11:07 +0900)]
dbuspolicy1_check_out: enable receive_sender rule

Change-Id: I48ad1e77353424c73371ded14e671fef499782e4
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoModification of coding rule violation 51/153651/3
sanghyeok.oh [Fri, 29 Sep 2017 05:10:05 +0000 (14:10 +0900)]
Modification of coding rule violation

Change-Id: I3e0c88f7c85200267d8cca500826da0112ebe323
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoModification of coding rule violation 83/149183/1 accepted/tizen/unified/20170912.191910 submit/tizen/20170912.020543
INSUN PYO [Tue, 12 Sep 2017 01:08:34 +0000 (10:08 +0900)]
Modification of coding rule violation

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Id6cafd73c09a8d4c444a04d145da6686ef3ec8ac
(cherry picked from commit b7b3a3a5986174a460adc96d6d5f4208c3bde4e2)

6 years agodbuspolicy1_check_out/in: ignore signal 06/143606/1 accepted/tizen/4.0/unified/20170829.020147 accepted/tizen/unified/20170811.021147 submit/tizen/20170810.123503 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
sanghyeok.oh [Thu, 10 Aug 2017 12:29:40 +0000 (21:29 +0900)]
dbuspolicy1_check_out/in: ignore signal

Change-Id: Ifb95079fe93a04ab1f871c49e13fa0cec54c6935
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agopolicy checking scheme: modified to get connection information from kdbus 87/138787/3 accepted/tizen/4.0/unified/20170816.010723 accepted/tizen/unified/20170727.190341 submit/tizen/20170719.103604 submit/tizen/20170725.023005 submit/tizen_4.0/20170811.094300
sanghyeok.oh [Thu, 13 Jul 2017 15:34:37 +0000 (00:34 +0900)]
policy checking scheme: modified to get connection information from kdbus

To check dbus policy it is needed to get every information, especially multiple names and label.

For example,
if Service A have multiple name such as name_A1, name_A2, and name_A3,
and if Service A specify the rule as below,

<deny send_destination="name_A2"/>
<allow send_destination="name_A1"/>

then according to dbus policy,
last specified rule '<allow send_destination="name_A1"/>' is applied,

*** In dbus policy world dbus treat multiple names of Service A as same name,
this also affect every other names of Service A, meaning,
<allow send_destination="name_A1"/> or <allow send_destination="name_A2"/> or <allow send_destination="name_A3"/>

After all, Service B can send message to name_A1, name_A2, and name_A3.
send message to unique name of Service A also allowed by this rule.

*** unique name also treat as same as well-known name of Service A.

Change-Id: I2253296267d8c844c53813455c829bf625f4360c
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agocynara : modify cyad option. requested by security team 36/133436/1 accepted/tizen/unified/20170629.085744 submit/tizen/20170622.043014
INSUN PYO [Mon, 12 Jun 2017 08:16:54 +0000 (17:16 +0900)]
cynara : modify cyad option. requested by security team

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I5d58b692a30c9c3570d93c04effbada32e61dc1e

7 years agodbuspolicy1_check_out: change sender to NULL 01/133401/1 submit/tizen/20170612.054403
sanghyeok.oh [Mon, 12 Jun 2017 05:11:56 +0000 (14:11 +0900)]
dbuspolicy1_check_out: change sender to NULL

if sender is unique id, can_recv will return wrong value

Change-Id: Idf8b3ce964cc4d5d064d8bf125071772b4987a2b
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoMerge "Revert "retrieve label on every cynara check"" into tizen accepted/tizen/unified/20170420.054834 submit/tizen/20170420.024445 tizen_4.0.m1_release
Hyotaek Shim [Tue, 21 Mar 2017 00:51:06 +0000 (17:51 -0700)]
Merge "Revert "retrieve label on every cynara check"" into tizen

7 years agoRevert "retrieve label on every cynara check" 24/119824/1
Hyotaek Shim [Mon, 20 Mar 2017 08:00:52 +0000 (01:00 -0700)]
Revert "retrieve label on every cynara check"

This reverts commit fe403b9aa7ad1ff7e56327af2d88477b26094746.

Change-Id: I8dc57d2e6d821650e5d0d5198c6e1a0cd79fed84

7 years agosvace fix 45/114245/2
sanghyeok.oh [Sat, 11 Feb 2017 03:04:08 +0000 (12:04 +0900)]
svace fix

Change-Id: I72700b1e9a1929388c181eb536214eaa98a696f2
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoMerge "modified to init global instance once" into tizen accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170201.171640 accepted/tizen/ivi/20170201.090248 accepted/tizen/mobile/20170201.090200 accepted/tizen/tv/20170201.090213 accepted/tizen/unified/20170309.034047 accepted/tizen/wearable/20170201.090232 submit/tizen/20170201.023443 submit/tizen_unified/20170308.100409
sanghyeok.oh [Thu, 19 Jan 2017 05:11:22 +0000 (21:11 -0800)]
Merge "modified to init global instance once" into tizen

7 years agomodified to init global instance once 04/110804/4
sanghyeok.oh [Wed, 18 Jan 2017 06:03:44 +0000 (15:03 +0900)]
modified to init global instance once

Change-Id: Ib5092c6bee952b7a51f7da90d9d65414a0f10697
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agofix build error for gcc 6.2 17/108917/1 accepted/tizen/common/20170109.202343 accepted/tizen/ivi/20170106.104010 accepted/tizen/mobile/20170106.103918 accepted/tizen/tv/20170106.103930 accepted/tizen/wearable/20170106.103946 submit/tizen/20170106.080120
sanghyeok.oh [Fri, 6 Jan 2017 07:49:59 +0000 (16:49 +0900)]
fix build error for gcc 6.2

Change-Id: Idec2ea8f8d55140eb1864d0f981f0071b5898bba
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
(cherry picked from commit 74494cf8da978299c73034518e0900ac0488bd23)

7 years agofix build error for gcc 6.2 16/108916/1
sanghyeok.oh [Fri, 6 Jan 2017 07:49:59 +0000 (16:49 +0900)]
fix build error for gcc 6.2

Change-Id: Idec2ea8f8d55140eb1864d0f981f0071b5898bba
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agosvace:handling wrong policy syntax 23/108523/1
sanghyeok.oh [Thu, 5 Jan 2017 03:22:57 +0000 (12:22 +0900)]
svace:handling wrong policy syntax

Change-Id: I8871c77bf5f58ad89885c128f96442ce009197a8
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agotests: Add test package for libdbuspolicy - again 22/108522/1
Kazimierz Krosman [Mon, 19 Dec 2016 13:02:50 +0000 (14:02 +0100)]
tests: Add test package for libdbuspolicy - again

This reverts commit 376f38dafa0b7ee5eae3d8f0ba0333c84a79742d,
which reverted commit bb7d32bb63f1d0fc463255000fbc773a119314a9.
This is different from commit bb7d32bb63f1d0fc463255000fbc773a119314a9
in handling builds - it provides single spec file.

Additionally, corrections for tests, mostly
excluding initialization of the library from "test cases".

Author: Kazimierz Krosman
with some corrections by Adrian Szyndela <adrian.s@samsung.com>

Change-Id: I64a58818c5c7f692db38f8225bec1e7a11954de6
(cherry picked from commit 575b04077b18ca810aa1974314785e32340d4bb6)

7 years agotests: Add test package for libdbuspolicy - again 09/106409/1
Kazimierz Krosman [Mon, 19 Dec 2016 13:02:50 +0000 (14:02 +0100)]
tests: Add test package for libdbuspolicy - again

This reverts commit 376f38dafa0b7ee5eae3d8f0ba0333c84a79742d,
which reverted commit bb7d32bb63f1d0fc463255000fbc773a119314a9.
This is different from commit bb7d32bb63f1d0fc463255000fbc773a119314a9
in handling builds - it provides single spec file.

Additionally, corrections for tests, mostly
excluding initialization of the library from "test cases".

Author: Kazimierz Krosman
with some corrections by Adrian Szyndela <adrian.s@samsung.com>

Change-Id: I64a58818c5c7f692db38f8225bec1e7a11954de6

7 years agoRevert "tests: Add test package for libdbuspolicy" 95/103795/1 accepted/tizen/common/20161212.185419 accepted/tizen/ivi/20161212.025251 accepted/tizen/mobile/20161212.025015 accepted/tizen/tv/20161212.025136 accepted/tizen/wearable/20161212.025158 submit/tizen/20161209.115942
sanghyeok oh [Fri, 2 Dec 2016 05:05:33 +0000 (21:05 -0800)]
Revert "tests: Add test package for libdbuspolicy"

This reverts commit bb7d32bb63f1d0fc463255000fbc773a119314a9.

Change-Id: I6bc92edf4cd438c07f6ed99acf4e8bfe531d1d1a
(cherry picked from commit 376f38dafa0b7ee5eae3d8f0ba0333c84a79742d)

7 years agosvace:handling wrong policy syntax 86/102786/5 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.141911 accepted/tizen/3.0.m2/tv/20170104.142159 accepted/tizen/3.0.m2/wearable/20170104.142455 accepted/tizen/3.0/common/20161219.112826 accepted/tizen/3.0/ivi/20161219.011838 accepted/tizen/3.0/mobile/20161219.011748 accepted/tizen/3.0/tv/20161219.011806 accepted/tizen/3.0/wearable/20161219.011825 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0/20161212.081220 submit/tizen_3.0/20161214.092923 submit/tizen_3.0/20161216.022258
sanghyeok.oh [Tue, 6 Dec 2016 12:22:59 +0000 (21:22 +0900)]
svace:handling wrong policy syntax

Change-Id: I6230b4487625240a0ee9f422c0203f0ec33a5d19
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoMerge "Revert "tests: Add test package for libdbuspolicy"" into tizen_3.0 accepted/tizen/3.0/common/20161205.091625 accepted/tizen/3.0/ivi/20161204.233746 accepted/tizen/3.0/mobile/20161204.233733 accepted/tizen/3.0/tv/20161204.233740 accepted/tizen/3.0/wearable/20161204.233743 submit/tizen_3.0/20161202.051451
sanghyeok oh [Fri, 2 Dec 2016 05:11:00 +0000 (21:11 -0800)]
Merge "Revert "tests: Add test package for libdbuspolicy"" into tizen_3.0

7 years agoRevert "tests: Add test package for libdbuspolicy" 14/101714/1
sanghyeok oh [Fri, 2 Dec 2016 05:05:33 +0000 (21:05 -0800)]
Revert "tests: Add test package for libdbuspolicy"

This reverts commit bb7d32bb63f1d0fc463255000fbc773a119314a9.

Change-Id: I6bc92edf4cd438c07f6ed99acf4e8bfe531d1d1a

7 years agoretrieve label on every cynara check 83/100083/1 accepted/tizen/3.0/common/20161129.103053 accepted/tizen/3.0/ivi/20161129.002141 accepted/tizen/3.0/mobile/20161129.002042 accepted/tizen/3.0/tv/20161129.002106 accepted/tizen/3.0/wearable/20161129.002123 submit/tizen_3.0/20161128.054951
Konrad Lipinski [Tue, 22 Nov 2016 16:21:16 +0000 (17:21 +0100)]
retrieve label on every cynara check

Change-Id: I5e6fb0f44589ebb295af1db43b8aa5f1838d3c72
(cherry picked from commit fe403b9aa7ad1ff7e56327af2d88477b26094746)

7 years agoremove unused g_udesc.{user,group} 82/100082/1
Konrad Lipinski [Tue, 22 Nov 2016 15:43:04 +0000 (16:43 +0100)]
remove unused g_udesc.{user,group}

Change-Id: I767b9c7b095692466c0bb4d25cb8ed707e088a23
(cherry picked from commit 3b8cddc1e85c5cde1c9ed30a5d374e70c959c318)

7 years agolibdbuspolicy.spec: disable tests [fix critical runtime breakage] 62/100062/1
Konrad Lipinski [Thu, 24 Nov 2016 14:37:09 +0000 (15:37 +0100)]
libdbuspolicy.spec: disable tests [fix critical runtime breakage]

Change-Id: I9c3be5ccbbd1f5326542d11ac818b350038076f6
(cherry picked from commit d260c0a6cb0ca0e6552e0370bfd93eff85b0107c)

7 years agoretrieve label on every cynara check 93/99393/2 submit/tizen/20161209.100157
Konrad Lipinski [Tue, 22 Nov 2016 16:21:16 +0000 (17:21 +0100)]
retrieve label on every cynara check

Change-Id: I5e6fb0f44589ebb295af1db43b8aa5f1838d3c72

7 years agoremove unused g_udesc.{user,group} 89/99389/3
Konrad Lipinski [Tue, 22 Nov 2016 15:43:04 +0000 (16:43 +0100)]
remove unused g_udesc.{user,group}

Change-Id: I767b9c7b095692466c0bb4d25cb8ed707e088a23

7 years agolibdbuspolicy.spec: disable tests [fix critical runtime breakage] 83/99983/2
Konrad Lipinski [Thu, 24 Nov 2016 14:37:09 +0000 (15:37 +0100)]
libdbuspolicy.spec: disable tests [fix critical runtime breakage]

Change-Id: I9c3be5ccbbd1f5326542d11ac818b350038076f6

7 years agotests: Add test package for libdbuspolicy 05/98605/1 accepted/tizen/3.0/common/20161122.195147 accepted/tizen/3.0/ivi/20161122.124135 accepted/tizen/3.0/mobile/20161122.124051 accepted/tizen/3.0/tv/20161122.124102 accepted/tizen/3.0/wearable/20161122.124128 submit/tizen_3.0/20161121.044008
Kazimierz Krosman [Thu, 29 Sep 2016 13:13:18 +0000 (15:13 +0200)]
tests: Add test package for libdbuspolicy

This patch introduces several modification that
allows test package building.

* Test version of libdbuspolicy shared library reads
policy files from /usr/lib/dbus-tests/config/ instead
of /etc/dbus-1/ ...

* new package libdbuspolicy1-test contains test
version of libdbuspolicy library with test policies
and test binaries.

* test-runner binary is compatible with dbus tests
framework.

Change-Id: I87bffc8bd24c05180441d74df546d4148a238ef1
(cherry picked from commit 42f084f08653aa5020342451c3c1a82aebf65a7a)

7 years agotests: Add test package for libdbuspolicy 36/91836/9
Kazimierz Krosman [Thu, 29 Sep 2016 13:13:18 +0000 (15:13 +0200)]
tests: Add test package for libdbuspolicy

This patch introduces several modification that
allows test package building.

* Test version of libdbuspolicy shared library reads
policy files from /usr/lib/dbus-tests/config/ instead
of /etc/dbus-1/ ...

* new package libdbuspolicy1-test contains test
version of libdbuspolicy library with test policies
and test binaries.

* test-runner binary is compatible with dbus tests
framework.

Change-Id: I87bffc8bd24c05180441d74df546d4148a238ef1

7 years agoremove unnecessary cynara_finish() call 50/96550/1 accepted/tizen/3.0/common/20161114.143516 accepted/tizen/3.0/ivi/20161110.071207 accepted/tizen/3.0/mobile/20161110.071109 accepted/tizen/3.0/tv/20161110.071128 accepted/tizen/3.0/wearable/20161110.071147 submit/tizen_3.0/20161109.091701 submit/tizen_3.0_common/20161114.081136
Konrad Lipinski [Wed, 9 Nov 2016 08:59:35 +0000 (09:59 +0100)]
remove unnecessary cynara_finish() call

Change-Id: Ifcf14f42b8fc2b65c8a5598525b7b0a905f42aee
(cherry picked from commit dadb0935c68e2d09cbedbda1b3afd552f75abc43)

7 years agoremove unnecessary cynara_finish() call 41/96541/1 accepted/tizen/common/20161114.170923 accepted/tizen/ivi/20161114.005116 accepted/tizen/mobile/20161114.004936 accepted/tizen/tv/20161114.005009 accepted/tizen/wearable/20161114.005045 submit/tizen/20161111.051722
Konrad Lipinski [Wed, 9 Nov 2016 08:59:35 +0000 (09:59 +0100)]
remove unnecessary cynara_finish() call

Change-Id: Ifcf14f42b8fc2b65c8a5598525b7b0a905f42aee

7 years agocircumvent destruction of ::policy_checker, remove destructors that are empty or... 17/96517/1 submit/tizen_3.0/20161109.081209
Konrad Lipinski [Mon, 7 Nov 2016 18:03:53 +0000 (19:03 +0100)]
circumvent destruction of ::policy_checker, remove destructors that are empty or never called

Motivated by KONA bugs (ex. DF161028-00875). VD product environment
apparently likes calling libdbuspolicy1 public functions while exit
handlers are being called (and thus global objects are being destroyed).

Solution: circumvent destruction of relevant globals altogether.

Change-Id: Ibeab05ed83cc24dc6a5da926fb542f31d8a33af1
(cherry picked from commit 1e961ec457d48198118bbff42204d668d714bccb)

7 years agoturn DbAdapter into direct member of XmlParser 16/96516/1
Konrad Lipinski [Mon, 7 Nov 2016 16:05:44 +0000 (17:05 +0100)]
turn DbAdapter into direct member of XmlParser

Change-Id: Ic807550cabd2cad3177c35a6af14d142b29eaf0b
(cherry picked from commit 1c8bd17ca32a21ca16f2bf625fe788eacf2e0a72)

7 years agoremove unused PolicyIterator 10/96510/1
Konrad Lipinski [Mon, 7 Nov 2016 12:43:48 +0000 (13:43 +0100)]
remove unused PolicyIterator

Change-Id: I06de62c3359186b094b51def7beff47752bfa998
(cherry picked from commit b9c833dbfa425b51f93feff09a827b4222bb7820)

7 years agocircumvent destruction of ::policy_checker, remove destructors that are empty or... 84/96084/4
Konrad Lipinski [Mon, 7 Nov 2016 18:03:53 +0000 (19:03 +0100)]
circumvent destruction of ::policy_checker, remove destructors that are empty or never called

Motivated by KONA bugs (ex. DF161028-00875). VD product environment
apparently likes calling libdbuspolicy1 public functions while exit
handlers are being called (and thus global objects are being destroyed).

Solution: circumvent destruction of relevant globals altogether.

Change-Id: Ibeab05ed83cc24dc6a5da926fb542f31d8a33af1

7 years agoturn DbAdapter into direct member of XmlParser 78/96078/2
Konrad Lipinski [Mon, 7 Nov 2016 16:05:44 +0000 (17:05 +0100)]
turn DbAdapter into direct member of XmlParser

Change-Id: Ic807550cabd2cad3177c35a6af14d142b29eaf0b

7 years agoremove unused PolicyIterator 58/96058/2
Konrad Lipinski [Mon, 7 Nov 2016 12:43:48 +0000 (13:43 +0100)]
remove unused PolicyIterator

Change-Id: I06de62c3359186b094b51def7beff47752bfa998

7 years agoRemoves file xml_policy.hpp. It is part of old implementation and is no longer used. 94/96094/1
Krystian Kisielak [Fri, 2 Sep 2016 13:40:41 +0000 (15:40 +0200)]
Removes file xml_policy.hpp. It is part of old implementation and is no longer used.

Change-Id: Ife804864f767ddd92a979e983cd45164e89c6315
Signed-off-by: Krystian Kisielak <k.kisielak@samsung.com>
(cherry picked from commit 9cce1d8723e29a83db77f1d90d8fac74f19eb6cc)

7 years agoMerge "Removes file xml_policy.hpp. It is part of old implementation and is no longer...
INSUN PYO [Mon, 7 Nov 2016 23:49:12 +0000 (15:49 -0800)]
Merge "Removes file xml_policy.hpp. It is part of old implementation and is no longer used." into tizen

7 years agoRemove a redundant line 86/94886/1
Michal Bloch [Mon, 24 Oct 2016 16:06:43 +0000 (18:06 +0200)]
Remove a redundant line

Change-Id: Ic41712669be7b626c0eee19a0177b45b495f21d0
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
(cherry picked from commit a4e6142895b50cc6faf03670a579e48696b5bb9c)

7 years agoRemove a redundant line 77/93177/2
Michal Bloch [Mon, 24 Oct 2016 16:06:43 +0000 (18:06 +0200)]
Remove a redundant line

Change-Id: Ic41712669be7b626c0eee19a0177b45b495f21d0
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
7 years agoMerge "Minor fix to failed test output" into tizen accepted/tizen/3.0/common/20161114.110034 accepted/tizen/3.0/ivi/20161028.134109 accepted/tizen/3.0/mobile/20161028.133223 accepted/tizen/3.0/tv/20161028.133534 accepted/tizen/3.0/wearable/20161028.133819 accepted/tizen/common/20161024.134907 accepted/tizen/ivi/20161024.051236 accepted/tizen/mobile/20161024.051031 accepted/tizen/tv/20161024.051126 accepted/tizen/wearable/20161024.051150 submit/tizen/20161024.013635 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
Karol Lewandowski [Mon, 17 Oct 2016 13:54:33 +0000 (06:54 -0700)]
Merge "Minor fix to failed test output" into tizen

7 years ago-Wextra -Werror 43/90343/3 accepted/tizen/common/20161010.145823 accepted/tizen/ivi/20161010.083129 accepted/tizen/mobile/20161010.083040 accepted/tizen/tv/20161010.083052 accepted/tizen/wearable/20161010.083113 submit/tizen/20161010.033741
Konrad Lipinski [Thu, 29 Sep 2016 11:59:14 +0000 (13:59 +0200)]
-Wextra -Werror

Change-Id: I1b74a76cff3ecb38b646a3dd9a7327d25e5fa1d7

7 years agoMinor fix to failed test output 72/89472/1
Michal Bloch [Fri, 23 Sep 2016 14:05:31 +0000 (16:05 +0200)]
Minor fix to failed test output

Change-Id: I4302b4d836852021a93078ed0a717a5caff6df01
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
7 years agoMerge changes I097ff109,Ie115904d into tizen accepted/tizen/3.0/ivi/20161011.044356 accepted/tizen/3.0/mobile/20161015.033545 accepted/tizen/3.0/tv/20161016.005040 accepted/tizen/3.0/wearable/20161015.083308 accepted/tizen/common/20160919.154458 accepted/tizen/ivi/20160920.051620 accepted/tizen/mobile/20160920.051525 accepted/tizen/tv/20160920.051537 accepted/tizen/wearable/20160920.051600 submit/tizen/20160919.053144 submit/tizen_3.0_ivi/20161010.000003 submit/tizen_3.0_mobile/20161015.000003 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003
Karol Lewandowski [Tue, 13 Sep 2016 13:01:20 +0000 (06:01 -0700)]
Merge changes I097ff109,Ie115904d into tizen

* changes:
  Added doxygen documentation.
  Adds creation of doxygen documentation package.

7 years agoAdded doxygen documentation. 32/85932/6
Krystian Kisielak [Mon, 29 Aug 2016 13:13:46 +0000 (15:13 +0200)]
Added doxygen documentation.

Change-Id: I097ff1090998637d5c51ffbfa6023bfd0c04e405
Signed-off-by: Krystian Kisielak <k.kisielak@samsung.com>
7 years agosvace:change strcat to strncat 17/87717/1 accepted/tizen/common/20160912.181324 submit/tizen/20160912.053251
sanghyeok.oh [Fri, 9 Sep 2016 07:34:17 +0000 (16:34 +0900)]
svace:change strcat to strncat

Change-Id: I546599c8f5c850eda6374a792492e7db1e9dcf7a
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoMerge "Added description label to libdbuspolicy kdbus connection" into tizen accepted/tizen/common/20160905.171616 accepted/tizen/ivi/20160907.060151 accepted/tizen/mobile/20160907.060103 accepted/tizen/tv/20160907.060118 accepted/tizen/wearable/20160907.060138 submit/tizen/20160905.073119 submit/tizen/20160905.094007 submit/tizen/20160905.095924
Hyotaek Shim [Mon, 5 Sep 2016 02:38:59 +0000 (19:38 -0700)]
Merge "Added description label to libdbuspolicy kdbus connection" into tizen

7 years agoMerge "Fix: free memory by KDBUS_CMD_FREE ioctl" into tizen
Hyotaek Shim [Mon, 5 Sep 2016 02:20:02 +0000 (19:20 -0700)]
Merge "Fix: free memory by KDBUS_CMD_FREE ioctl" into tizen

7 years agoAdds creation of doxygen documentation package. 38/85538/6
Krystian Kisielak [Thu, 25 Aug 2016 15:38:21 +0000 (17:38 +0200)]
Adds creation of doxygen documentation package.

Change-Id: Ie115904d41dea90d5c26844c483ebc0c87fbaa7e
Signed-off-by: Krystian Kisielak <k.kisielak@samsung.com>
7 years agoRemoves file xml_policy.hpp. It is part of old implementation and is no longer used. 46/86746/1
Krystian Kisielak [Fri, 2 Sep 2016 13:40:41 +0000 (15:40 +0200)]
Removes file xml_policy.hpp. It is part of old implementation and is no longer used.

Change-Id: Ife804864f767ddd92a979e983cd45164e89c6315
Signed-off-by: Krystian Kisielak <k.kisielak@samsung.com>
7 years agoMerge "Bugfix:wrong gid/uid converting" into tizen
Hyotaek Shim [Fri, 2 Sep 2016 11:19:57 +0000 (04:19 -0700)]
Merge "Bugfix:wrong gid/uid converting" into tizen

7 years agoBugfix:wrong gid/uid converting 66/86466/3
Kazimierz Krosman [Thu, 1 Sep 2016 09:27:30 +0000 (18:27 +0900)]
Bugfix:wrong gid/uid converting

if input is as below,
     <policy group="%{TZ_SYS_USER_GROUP}">
DbAdapter::convertToUid / Gid function return 0, not -1.

Change-Id: I4a36e0b387bd532b72e37a339c1a308ad8bf55f8

7 years agoFixes policy "*" names issue. Adds related test. 74/86074/2
Krystian Kisielak [Tue, 30 Aug 2016 10:42:36 +0000 (12:42 +0200)]
Fixes policy "*" names issue. Adds related test.

Change-Id: I3bb40c1ccc47de02d06837d1e36bb64be6b4b3b7

7 years agoFix: wrong data preparation for policy requests 42/85942/2
Kazimierz Krosman [Fri, 26 Aug 2016 13:39:47 +0000 (15:39 +0200)]
Fix: wrong data preparation for policy requests

Additional Fix: wrong assertion (name validation)

Change-Id: I79fa2bc27f8a8406f067bc7e4299bdc422c79b37

7 years agoRevert "revert changes:revert commit id dc3048a8de00c01514c14ef465a87b8ca9a7c704" 41/85941/1
Kazimierz Krosman [Mon, 29 Aug 2016 11:05:05 +0000 (13:05 +0200)]
Revert "revert changes:revert commit id dc3048a8de00c01514c14ef465a87b8ca9a7c704"

This reverts commit 1b4d4f2311ae31440417fafd3233177d39bfd768.

This revert is not nessesary- it requiers only simple fix.

Change-Id: I4591012edd0d039b1eb7bb382cf0b34b8e5e6771

7 years agorevert changes:revert commit id dc3048a8de00c01514c14ef465a87b8ca9a7c704 71/85771/2 accepted/tizen/common/20160829.140206 accepted/tizen/ivi/20160829.232653 accepted/tizen/mobile/20160829.232602 accepted/tizen/tv/20160829.232611 accepted/tizen/wearable/20160829.232635 submit/tizen/20160829.055144
sanghyeok.oh [Mon, 29 Aug 2016 05:03:54 +0000 (14:03 +0900)]
revert changes:revert commit id dc3048a8de00c01514c14ef465a87b8ca9a7c704

previous submit has bug, and revert it
"Prefix tree search for ownership rules, removed virtual methods."
id : dc3048a8de00c01514c14ef465a87b8ca9a7c704

Change-Id: I0a73eab24c95f1a6cc3a4e37a9ffb0d2da943e3f
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoAdded description label to libdbuspolicy kdbus connection 40/85540/1
Kazimierz Krosman [Thu, 25 Aug 2016 15:48:16 +0000 (17:48 +0200)]
Added description label to libdbuspolicy kdbus connection

Change-Id: I3c17aa33ea71f9eab6cd2bd161500b1363804389

7 years agoFix: free memory by KDBUS_CMD_FREE ioctl 39/85539/1
Kazimierz Krosman [Thu, 25 Aug 2016 13:25:52 +0000 (15:25 +0200)]
Fix: free memory by KDBUS_CMD_FREE ioctl

Change-Id: I6252c1783fa9dd52343bd128fa975b38191247f3

7 years agoFix: enable libdbuspolicy for multiple init. 29/85329/2
Kazimierz Krosman [Wed, 24 Aug 2016 14:48:55 +0000 (16:48 +0200)]
Fix: enable libdbuspolicy for multiple init.

Change-Id: I5ffea43051cb5bd51320333fde273815e12801ae

7 years agoMerge "Fixes coding style issues." into tizen
Karol Lewandowski [Tue, 23 Aug 2016 10:38:22 +0000 (03:38 -0700)]
Merge "Fixes coding style issues." into tizen

7 years agoMerge "Prefix tree search for ownership rules, removed virtual methods." into tizen
Karol Lewandowski [Tue, 23 Aug 2016 10:38:13 +0000 (03:38 -0700)]
Merge "Prefix tree search for ownership rules, removed virtual methods." into tizen

7 years agoFixes coding style issues. 11/85011/1
Krystian Kisielak [Tue, 23 Aug 2016 08:44:34 +0000 (10:44 +0200)]
Fixes coding style issues.

Change-Id: Ibbbaab71538906fa123156c3260707b9edef4bcc
Signed-off-by: Krystian Kisielak <k.kisielak@samsung.com>
7 years agobug fix:wrong index of kdbus_unique_id 49/84949/1
sanghyeok.oh [Tue, 23 Aug 2016 03:00:30 +0000 (12:00 +0900)]
bug fix:wrong index of kdbus_unique_id

Change-Id: I374bf3de298adf49d67e48b199590a1aa164d0a5
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agokdbus_unique_id fix 99/84799/1 accepted/tizen/common/20160822.132920 accepted/tizen/ivi/20160822.232755 accepted/tizen/mobile/20160822.232703 accepted/tizen/tv/20160822.232720 accepted/tizen/wearable/20160822.232737 submit/tizen/20160822.114411
Konrad Lipinski [Mon, 22 Aug 2016 11:19:38 +0000 (13:19 +0200)]
kdbus_unique_id fix

Change-Id: Ice25972fdc38e032f8d06ccb66eec8e3f202337a

7 years agoPrefix tree search for ownership rules, removed virtual methods. 19/80619/14
Krystian Kisielak [Fri, 10 Jun 2016 10:01:59 +0000 (12:01 +0200)]
Prefix tree search for ownership rules, removed virtual methods.

Change-Id: I90909b035da16dce39ac28278c1561eca0396335
Signed-off-by: Krystian Kisielak <k.kisielak@samsung.com>
7 years agokdbus: synchronize kdbus interface header between repositories 81/83681/3 accepted/tizen/common/20160812.141311 accepted/tizen/ivi/20160815.233632 accepted/tizen/mobile/20160815.233544 accepted/tizen/tv/20160815.233556 accepted/tizen/wearable/20160815.233613 submit/tizen/20160812.121107
Karol Lewandowski [Fri, 12 Aug 2016 09:51:05 +0000 (11:51 +0200)]
kdbus: synchronize kdbus interface header between repositories

Change-Id: I8e47edf8c61699a99523dead09bb3ef321894d31

7 years agoChange in API to return internal errors by libdbuspolicy 80/83380/2
Kazimierz Krosman [Wed, 10 Aug 2016 11:02:04 +0000 (13:02 +0200)]
Change in API to return internal errors by libdbuspolicy

Libdbuspolicy now returns error codes via main API
(check_out and check_int functions):
DBUSPOLICY_RESULT_ALLOW 1
DBUSPOLICY_RESULT_DENY 0
DBUSPOLICY_RESULT_DEST_NOT_AVAILABLE -1
DBUSPOLICY_RESULT_KDBUS_ERROR -2
DBUSPOLICY_RESULT_CYNARA_ERROR -3

it is needed by gdbus and libdbus to make better descripted logs.

Change-Id: I060de3ec0a767ee56dfd5ae8f6aa4475dd25ffa4

8 years agoMerge "Fix copying to empty string." into tizen accepted/tizen/common/20160725.153515 accepted/tizen/ivi/20160725.064756 accepted/tizen/mobile/20160725.064727 accepted/tizen/tv/20160725.064748 accepted/tizen/wearable/20160725.064750 submit/tizen/20160725.024306
INSUN PYO [Mon, 25 Jul 2016 02:38:09 +0000 (19:38 -0700)]
Merge "Fix copying to empty string." into tizen

8 years agoFix copying to empty string. 88/81188/1
Krystian Kisielak [Fri, 22 Jul 2016 13:23:09 +0000 (15:23 +0200)]
Fix copying to empty string.

Change-Id: I0d2e111372cbe62fc3ebe9b4211e90b89a335dbf

8 years agoMerge "Added test description to make test better described" into tizen
Karol Lewandowski [Fri, 22 Jul 2016 13:02:02 +0000 (06:02 -0700)]
Merge "Added test description to make test better described" into tizen

8 years agoadd LICENSE.APACHE2.0 77/80177/1 accepted/tizen/common/20160715.080051 accepted/tizen/ivi/20160715.075317 accepted/tizen/mobile/20160715.075222 accepted/tizen/tv/20160715.075240 accepted/tizen/wearable/20160715.075254 submit/tizen/20160715.052105
Hyotaek Shim [Fri, 15 Jul 2016 05:20:13 +0000 (14:20 +0900)]
add LICENSE.APACHE2.0

Change-Id: Icb8da89c7d0413a6b2bdb79cb59cb75edb9f9b5c

8 years agoAdded test description to make test better described 97/72597/3
Kazimierz Krosman [Wed, 1 Jun 2016 17:06:14 +0000 (19:06 +0200)]
Added test description to make test better described

Change-Id: I90909b035da16dce39ac28278c1561ecf0396335

8 years agosvace 62/74462/1 accepted/tizen/common/20160616.151834 accepted/tizen/ivi/20160616.105231 accepted/tizen/mobile/20160616.105143 accepted/tizen/tv/20160616.105202 accepted/tizen/wearable/20160616.105218 submit/tizen/20160616.032706
sanghyeok.oh [Tue, 14 Jun 2016 09:04:05 +0000 (18:04 +0900)]
svace

Change-Id: I745773662dc8578fce7590bd1b3bc2bde3ede5ed
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
8 years agoFix: xml parser + minor fixes 05/72105/1 accepted/tizen/common/20160531.141928 accepted/tizen/ivi/20160602.022635 accepted/tizen/mobile/20160602.022712 accepted/tizen/tv/20160602.022350 accepted/tizen/wearable/20160602.022500 submit/tizen/20160530.143459
Kazimierz Krosman [Mon, 30 May 2016 13:43:01 +0000 (15:43 +0200)]
Fix: xml parser + minor fixes

Fixed xml parser bug that causes that only first <includedir>
works as it should.

Removed deadlock in init when logs are enabled

Minor refactors

Change-Id: I94c97efff478cf919cc5809f106bca1bb1465889

8 years agolibdbuspolicyt refactoring to meet Tizen coding style 92/70892/2
Kazimierz Krosman [Fri, 20 May 2016 15:23:39 +0000 (17:23 +0200)]
libdbuspolicyt refactoring to meet Tizen coding style

Change-Id: I9765dd74342d695d50b223185c71a84d7f0f1aa3

8 years agoTree policy engine decision checker replacement 94/70794/3
Kazimierz Krosman [Fri, 20 May 2016 11:15:10 +0000 (13:15 +0200)]
Tree policy engine decision checker replacement

Tree policy engine decision checker was replaced by naive
search algorithm. For each check call, libdbuspolicy iterate via
policy rules in the reverse order. First rule that matches request
is used to return decision.

Multiple sender's and receiver's names are proceeded during search
procedure (algorithm try to match current rule for each name). Previous version
search all database for each name.

Added unit tests (make check)

Change-Id: Ie78ae8eec285a7042d275d02333372bca4d76d28

8 years agoAllow incremental build 04/72104/1
Kazimierz Krosman [Fri, 27 May 2016 09:24:06 +0000 (11:24 +0200)]
Allow incremental build

Change-Id: Id8c02912d1ddf0d3a86bb5e5f999a1dbce035943