summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2016-06-09Remove --nopidfile flags from system dbus-daemonsubmit/tizen/20160609.065037INSUN PYO1-1/+1
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I3ac61db553aa290288792f440e43c6dcd87add8e
2016-06-08Removing some temp filessubmit/tizen/20160608.062323accepted/tizen/wearable/20160609.090342accepted/tizen/tv/20160609.090437accepted/tizen/mobile/20160609.090331accepted/tizen/ivi/20160609.090400Hyotaek Shim3-0/+0
Change-Id: I4188c820422e41f9f7e3c41c0237c78eafc2c158
2016-06-08Fix for smack error when dbus-daemon(session) accesses proc/cmdlineHyotaek Shim4-1/+1
Change-Id: Ifadafc677821c6a8b0b747d31f1c4128533ce3ed Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2016-05-25kdbus: always pack message header as as single PAYLOAD_VEC itemsubmit/tizen/20160527.082529accepted/tizen/wearable/20160602.021621accepted/tizen/tv/20160602.021607accepted/tizen/mobile/20160602.021631accepted/tizen/ivi/20160602.021635accepted/tizen/common/20160530.131628Lukasz Skalski3-47/+77
According to PORTING-DBUS1 document [1], the message header in its entirety must be contained in a single PAYLOAD_VEC item. What's more, in case of memfd transport, message footer (which contains body signature and offsets size) has to be attached at the end of message as a yet another PAYLOAD_VEC item. [1] https://cgit.freedesktop.org/systemd/systemd/tree/src/libsystemd/sd-bus/PORTING-DBUS1 Change-Id: I282589c0641c1eb97f874fcfd6e3bee6ecacc8ae
2016-05-24add license file for MIT licensesubmit/tizen/20160524.103010accepted/tizen/common/20160526.145915sanghyeok.oh2-1/+10
add MIT license for dbus/dbus/dbus-server-launchd.c Change-Id: I006a3efc8e4fa112dcb3ca95e7e9c2faccf54940 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2016-05-24Merge "kdbus: add '--enable-kdbus-sync-calls' configure switch" into tizenAdrian Szyndela2-0/+8
2016-05-24kdbus: add '--enable-kdbus-sync-calls' configure switchLukasz Skalski2-0/+8
To compile kdbus transport with native support for synchronous calls, add '--enable-kdbus-sync-calls' flags to spec file. Change-Id: Ibe76d32ee7d9d038825deeb98a0d5d72be201b98