summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-28Modify from APACHE-2.0 to Apache-2.0submit/tizen_3.0/20161228.020339submit/tizen_3.0.m2/20170104.093752accepted/tizen/3.0/wearable/20161229.054210accepted/tizen/3.0/tv/20161229.054154accepted/tizen/3.0/mobile/20161229.054149accepted/tizen/3.0/ivi/20161229.054231accepted/tizen/3.0/common/20161229.112552accepted/tizen/3.0.m2/wearable/20170105.024524accepted/tizen/3.0.m2/tv/20170105.024027accepted/tizen/3.0.m2/mobile/20170105.023936tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileHyotaek Shim1-1/+1
Change-Id: I2e509fe1a4f275c9f5b35290bdd2d218c4b3692a
2016-12-28Add .spec description about LICENSE.APACHE2.0Hyotaek Shim1-1/+1
Change-Id: I127f90398b4fe33b3c3b412ef84a42ab2683efd5
2016-12-28Add LICENSE.APACHE2.0Hyotaek Shim1-0/+205
Change-Id: Icf4a2b514abfeb458305c58ab99aad4cfbab325d
2016-11-25Adds package for dbus-integration tests.submit/tizen_3.0/20161216.022433submit/tizen_3.0/20161214.092923submit/tizen_3.0/20161212.081220accepted/tizen/3.0/wearable/20161219.011937accepted/tizen/3.0/tv/20161219.011918accepted/tizen/3.0/mobile/20161219.011901accepted/tizen/3.0/ivi/20161219.011955accepted/tizen/3.0/common/20161219.112846Krystian Kisielak2-1/+676
Change-Id: I0175a6c710e418be7f3b06f1df6ad13396e40f8c Signed-off-by: Krystian Kisielak <k.kisielak@samsung.com>
2016-10-14Bugfix, GVariant: missing padding for fixed-size tuples.submit/tizen_3.0_common/20161104.104000submit/tizen_3.0/20161028.092423submit/tizen_3.0/20161028.062323submit/tizen/20161017.013745accepted/tizen/wearable/20161017.075840accepted/tizen/tv/20161017.075825accepted/tizen/mobile/20161017.075813accepted/tizen/ivi/20161017.075855accepted/tizen/common/20161017.170121accepted/tizen/3.0/wearable/20161028.150918accepted/tizen/3.0/tv/20161028.143614accepted/tizen/3.0/mobile/20161028.143348accepted/tizen/3.0/ivi/20161028.151429accepted/tizen/3.0/common/20161114.110504Adrian Szyndela1-0/+15
There is a requirement for fixed-size tuples: size of such tuple must be a multiply of its required alignment. That part was overlooked in the implementation. This commit adds padding accounting for both reading and writing. Change-Id: I0825be6436b93b836dc333f5a395fdf1021f2a06
2016-10-14Bugfix, GVariant: no padding in root-level tuplessubmit/tizen/20161014.114439accepted/tizen/wearable/20161017.013616accepted/tizen/tv/20161017.013608accepted/tizen/mobile/20161017.013558accepted/tizen/ivi/20161017.013624accepted/tizen/common/20161017.170021Adrian Szyndela1-8/+32
Change-Id: If84df57e9985f484e3c3c63854df5ff666cc1794
2016-09-26change socket in/out labelsubmit/tizen_3.0_wearable/20161015.000001submit/tizen_3.0_tv/20161015.000001submit/tizen_3.0_mobile/20161015.000001submit/tizen_3.0_ivi/20161010.000001submit/tizen/20160926.071522accepted/tizen/wearable/20160927.075206accepted/tizen/tv/20160927.080330accepted/tizen/mobile/20160927.075955accepted/tizen/ivi/20160927.075658accepted/tizen/common/20160926.154223accepted/tizen/3.0/wearable/20161015.082120accepted/tizen/3.0/tv/20161016.004323accepted/tizen/3.0/mobile/20161015.032807accepted/tizen/3.0/ivi/20161011.043850sanghyeok.oh1-0/+2
Change-Id: Ifcc7dacb077615c8f5392a6b213d402d4775af05 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2016-09-13bugfix: sec_label was copied without ending bytesubmit/tizen/20160919.053144accepted/tizen/wearable/20160920.051557accepted/tizen/tv/20160920.051534accepted/tizen/mobile/20160920.051520accepted/tizen/ivi/20160920.051616accepted/tizen/common/20160919.154452Adrian Szyndela2-3/+3
Change-Id: I3d9aa7f2d608e6706600a87ad5dc570033244f98
2016-09-05kdbus: fix for GetConnectionSELinuxSecurityContext method callLukasz Skalski1-6/+26
To keep compatibility with dbus1, GetConnectionSELinuxSecurityContext method call should always return SELinuxSecurityContextUnknown error on systems without SELinux (even if other LSM systems, like for example SMACK, are available on platform). Change-Id: I347cdf665a03fc047d267752b23c4503bf5218e3
2016-08-31Merge "calculate kdbus timeout based on user timeout" into tizensubmit/tizen/20160905.095924submit/tizen/20160905.094007submit/tizen/20160905.073119accepted/tizen/wearable/20160907.060135accepted/tizen/tv/20160907.060115accepted/tizen/mobile/20160907.060059accepted/tizen/ivi/20160907.060148accepted/tizen/common/20160905.171607Hyotaek Shim5-22/+24
2016-08-31calculate kdbus timeout based on user timeoutKonrad Lipinski5-22/+24
Change-Id: I9fd1720e5c2a1edaa1fcd66b78df0b0238e9ce9f
2016-08-31Bugfix:abnormal using of _dbus_validate_bus_namesanghyeok.oh2-6/+16
Change-Id: I1eb91da587469381f69ada2939a980d8ea1f40e1 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2016-08-23support NameAcquired & NameLost signal subscriptionsubmit/tizen/20160829.055144accepted/tizen/wearable/20160829.232632accepted/tizen/tv/20160829.232608accepted/tizen/mobile/20160829.232558accepted/tizen/ivi/20160829.232650accepted/tizen/common/20160829.140203sanghyeok.oh3-57/+238
Change-Id: I6f7c2e39c8872ebae8a68157515ef247325b3cc4 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2016-08-19Support Lazy-Mount feature - move user dbus.service from ↵submit/tizen/20160822.045932submit/tizen/20160822.012953accepted/tizen/wearable/20160823.041235accepted/tizen/tv/20160823.041206accepted/tizen/mobile/20160823.041127accepted/tizen/ivi/20160823.041258accepted/tizen/common/20160822.132729INSUN PYO1-3/+9
default.target.wants to basic.target.wants Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I5ec89ce65fe196d54a4b130e41a83a82acb40101
2016-08-19Support Lazy-Mount feature - ↵INSUN PYO1-0/+1
http://suprem.sec.samsung.net/confluence/display/SFH/Lazy+mount Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I4b9f4a435f2aae9215bb7d77bb423715884d01e1
2016-08-18Merge "omit standard match iff sender=org.freedesktop.DBus" into tizenHyotaek Shim1-62/+36
2016-08-18omit standard match iff sender=org.freedesktop.DBusKonrad Lipinski1-62/+36
Change-Id: Ib8a1c138983124a2597b0c700f5c6a2c7dd4744e
2016-08-17kdbus: fixed memory leak in reply_ListNames()Adrian Szyndela2-0/+13
Additionally, added some documentation for _kdbus_list(). Change-Id: I267100ec123f33a1b10f3ce1c9aca3004ac1e9fc
2016-08-16Merge "kdbus: fixed memory leak in "hello" command." into tizensubmit/tizen/20160816.093841submit/tizen/20160816.092849accepted/tizen/wearable/20160817.040702accepted/tizen/tv/20160817.040646accepted/tizen/mobile/20160817.040629accepted/tizen/ivi/20160817.040717accepted/tizen/common/20160817.132822INSUN PYO1-1/+3
2016-08-16Relocate ifdef LIBDBUSPOLICY to avoid build erros when libdbuspolicy is disabledHyotaek Shim1-3/+5
Change-Id: I8710e8d2ff1911ea11b48984ebda227a0a8658fe Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2016-08-16kdbus: fixed memory leak in "hello" command.Adrian Szyndela1-1/+3
Change-Id: I0f5c1882a9ffcc9a0186a834ad73e72a10b9f239
2016-08-16Merge "%reconfigure instead of autoreconf" into tizenINSUN PYO2-250/+1
2016-08-16Merge "kdbus: policy: add more detailed errors descriptions" into tizenINSUN PYO1-27/+58
2016-08-12kdbus: policy: add more detailed errors descriptionsLukasz Skalski1-27/+58
Change-Id: I683f77755c6fefafbcc255107839f10362abadb0
2016-08-11%reconfigure instead of autoreconfKonrad Lipinski2-250/+1
Change-Id: Icc74194668757c9e7ebc79d63d4a3b2ec65d0c34
2016-08-10Bugfix: always set n_fdssubmit/tizen/20160810.234659accepted/tizen/wearable/20160812.010448accepted/tizen/tv/20160812.010445accepted/tizen/mobile/20160812.010451accepted/tizen/ivi/20160812.010454accepted/tizen/common/20160812.140624Adrian Szyndela1-0/+1
Change-Id: Ib10e3eb7c102f63a5d63c550858ad4a5edee8c2b
2016-08-10Bugfix: removed double-stripping of parenthesesAdrian Szyndela1-7/+3
GVariant keeps body inside structs. This fact is kept hidden from libdbus user. Thus, struct parentheses have to be added, removed in proper places. There was one such place in _dbus_type_reader_gvariant_init(). However, it was not sufficient and get_const_signature() also got stripping code. Unfortunately, I didn't notice that stripping should be removed in the first of these functions. This commit fixes that. Change-Id: I5c2e6c7c8212d283fd6da1cc998a2711038905f3
2016-08-02Bugfix: corrected sizeofssubmit/tizen/20160809.013929accepted/tizen/wearable/20160809.232424accepted/tizen/tv/20160809.232304accepted/tizen/mobile/20160809.232314accepted/tizen/ivi/20160809.232322accepted/tizen/common/20160809.183722Adrian Szyndela1-2/+2
Change-Id: I9281352c2afa0bb39c69df35ce28054fab83b994
2016-07-27Merge "fix in system dbus.service (User=dbus, Group=dbus)" into tizenHyotaek Shim0-0/+0
2016-07-27fix in system dbus.service (User=dbus, Group=dbus)submit/tizen/20160727.083823accepted/tizen/common/20160727.151436Hyotaek Shim1-0/+2
Change-Id: Iea127741bfe3f5fbe68eb13d98933307420007b2
2016-07-27fix in system dbus.service (User=dbus, Group=dbus)submit/accepted/tizen_common/20160727.083431Hyotaek Shim1-0/+2
Change-Id: I5041323980664baecdde25a65230e7c6a3608bac
2016-07-20Onlycap-related fix in system dbus.service (SmackProcessLabel=System)submit/tizen/20160720.045510accepted/tizen/wearable/20160720.055700accepted/tizen/tv/20160720.055639accepted/tizen/mobile/20160720.055618accepted/tizen/ivi/20160720.055721accepted/tizen/common/20160720.173252Hyotaek Shim1-0/+1
Change-Id: I725049c020a107774f79cf2685c7505497b6723d
2016-07-19[PATCH 1/2] kdbus: Fix the overflow for timeout calculationsubmit/tizen/20160719.063348accepted/tizen/wearable/20160719.104416accepted/tizen/tv/20160719.104422accepted/tizen/mobile/20160719.104436accepted/tizen/ivi/20160719.104426INSUN PYO1-1/+1
The maximum value of unsigned long is 4294967295 which is too small for storing nano second. It makes the overflow in calculation. Use LLU instead of LU for timeout calculation. ====================================================================== Subject: [PATCH 2/2] kdbus: adjust the default value for timeout to 50 sec This definition is used by the default value for timeout value. But in the other places, 50 sec is used by default value for timeout, instead of using it. Let's align it with the others Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Idddaf3f095ad47206f8b6ac11bc46c43c3bc8bd3
2016-07-18Merge "gvariant marshal: nested struct offset size accounts for fixed ↵Hyotaek Shim1-2/+2
members" into tizen
2016-07-18Merge "dbus-marshal-gavariant : Update offset bytes size whenever message is ↵Hyotaek Shim1-2/+2
appended" into tizen
2016-07-11cynara: Do not drop messages when sender connection is closedsubmit/tizen/20160713.054211accepted/tizen/wearable/20160713.094315accepted/tizen/tv/20160713.094306accepted/tizen/mobile/20160713.094320accepted/tizen/ivi/20160713.094327accepted/tizen/common/20160713.144916Karol Lewandowski1-6/+0
Information about required sender credentials is cached in internal structures at authentication stage. Change-Id: Ibe0b3ba8b608728c11347d406c9ab2e4495cafc7
2016-07-07gvariant marshal: nested struct offset size accounts for fixed membersKonrad Lipinski1-2/+2
Change-Id: Ib8c7876c9a0072bde28201cb754b26ed20bbf892
2016-07-05dbus-marshal-gavariant : Update offset bytes size whenever message is appendedJonghwa Lee1-2/+2
check_offsets_in_body_for_adding() is called only when former data is not fixed sized data. If former written data is fixed size one (e.g. integer, boolean..) it skips to update offset bytes size even message body size exceeds its limits. It results invalid memory access on reciever-side. This patch fixes it to update offset bytes size whenever message is appended. Change-Id: I2b94955d40debc5129b5f3c193e197efb542141b Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2016-06-29increase max_replies_per_connection to 1024 form 128submit/tizen_common/20160701.180000submit/tizen/20160629.044513accepted/tizen/wearable/20160630.002832accepted/tizen/tv/20160630.002852accepted/tizen/mobile/20160630.002812accepted/tizen/ivi/20160630.002906accepted/tizen/common/20160703.130033INSUN PYO1-1/+1
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I36556b8c5bc02a935a03e7cc18edb01633d1ae97
2016-06-28Merge "bus check privilege : ignore dropping message about signal message ↵Hyotaek Shim1-1/+2
when sender's connection is disconnected during checking privilege." into tizen
2016-06-28bus check privilege : ignore dropping message about signal message when ↵submit/tizen/20160628.090030accepted/tizen/wearable/20160629.020939accepted/tizen/tv/20160629.020932accepted/tizen/mobile/20160629.020950accepted/tizen/ivi/20160629.020919INSUN PYO1-1/+2
sender's connection is disconnected during checking privilege. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ibbb6b63f3efecf450ea2c34fcd87477ceb1bcc2c
2016-06-28to defend against a security attack of changing external PATHHyotaek Shim1-0/+4
Change-Id: I5d2149d71b1c593fc337052becefc68f3cf7265c Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2016-06-27bus: fix bus_context_check_security_policy checkingsubmit/tizen/20160628.005120Lukasz Skalski1-1/+1
Change-Id: I41ead9532676d201bdd3396652e2de573136ea60
2016-06-24Bug fix for signal hash(bloom filter) operations in dbus-transport-kdbussubmit/tizen/20160628.003115submit/tizen/20160624.063050accepted/tizen/common/20160627.191717INSUN PYO1-4/+4
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I9ad96a0eebf938c24d2531486c117a7096112573
2016-06-23policy: fix: add missing free #2submit/tizen/20160623.060952INSUN PYO1-1/+3
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ibe6c2f780ecf4ea5ff549266b102546dce6d88d6
2016-06-22Merge "policy: fix: add missing free" into tizenHyotaek Shim1-0/+1
2016-06-22increate max_connections_per_user to 512 from 256submit/tizen/20160622.041941INSUN PYO1-1/+1
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ifb592255396e295fd9b34e63b9ba5831e85f2601
2016-06-21policy: fix: add missing freeKarol Lewandowski1-0/+1
Change-Id: I4a7cca5935c1bddbdd94a44ebec1c814670380bf
2016-06-17activation: set children oom_score_adj to 0Hyotaek Shim1-1/+11
Change-Id: Ida85bcb12ea8ce0a1af948fb0f1600ed21f3323e Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2016-06-09move pid file path of system dbus-daemon from /var/run/dbus/pid to ↵submit/tizen/20160609.071543accepted/tizen/wearable/20160610.010945accepted/tizen/tv/20160610.010936accepted/tizen/mobile/20160610.011005accepted/tizen/ivi/20160610.010927accepted/tizen/common/20160610.180805INSUN PYO1-1/+2
/tmp/dbus_launch Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I5c8d33c56c84bbc00242109a0c10af5c2a7664fd