sdk/target/sdbd.git
8 years agoAdd the sdk_toolpath member to sdbd capability. 98/64598/1
Kim Gunsoo [Mon, 4 Apr 2016 05:36:24 +0000 (14:36 +0900)]
Add the sdk_toolpath member to sdbd capability.

- The sdk_toolpath member includes a path that
  tool of the SDK is saved.

Change-Id: Ie022bed562ea0485d263593c060041a6f4fcea14
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoRemoved libprivilege-control dependency 84/64084/1 accepted/tizen/common/20160330.120406 accepted/tizen/ivi/20160405.010421 accepted/tizen/mobile/20160405.010325 accepted/tizen/tv/20160405.010345 accepted/tizen/wearable/20160405.010400 submit/tizen/20160330.034717
shingil.kang [Wed, 30 Mar 2016 03:39:50 +0000 (12:39 +0900)]
Removed libprivilege-control dependency

Change-Id: I6db42995d134e555ef93a024c7e0377e5977520c
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoRemoved unnecessary codes 46/62646/2 accepted/tizen/common/20160317.161308 accepted/tizen/ivi/20160318.113332 accepted/tizen/mobile/20160318.113031 accepted/tizen/tv/20160318.113208 accepted/tizen/wearable/20160318.113212 submit/tizen/20160317.084332
shingil.kang [Thu, 17 Mar 2016 08:11:55 +0000 (17:11 +0900)]
Removed unnecessary codes

Change-Id: I797f401fe9597d6f03462e252d508f459e859183
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixed sdk_launch script (merged from tizen_2.4) 16/61916/2 accepted/tizen/common/20160311.203902 accepted/tizen/ivi/20160311.150359 accepted/tizen/mobile/20160311.143348 accepted/tizen/tv/20160311.144922 accepted/tizen/wearable/20160311.145729 submit/tizen/20160311.083725
shingil.kang [Fri, 11 Mar 2016 07:12:10 +0000 (16:12 +0900)]
Fixed sdk_launch script (merged from tizen_2.4)

Change-Id: I7d07e5749d08647c87477748c809d304ed3e9d23
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMerge "Removed hard-coded path to support multi-user." into tizen accepted/tizen/common/20160311.201644 accepted/tizen/ivi/20160311.061218 accepted/tizen/mobile/20160311.061118 accepted/tizen/tv/20160311.061132 accepted/tizen/wearable/20160311.061159 submit/tizen/20160310.131426
Yoonki Park [Thu, 10 Mar 2016 13:12:39 +0000 (05:12 -0800)]
Merge "Removed hard-coded path to support multi-user." into tizen

8 years agoRemoved hard-coded path to support multi-user. 93/61793/1
shingil.kang [Thu, 10 Mar 2016 13:06:52 +0000 (22:06 +0900)]
Removed hard-coded path to support multi-user.

Change-Id: I48871f1e2b98511c94e916fc291f94dfe861b9a6
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoModify the fixed SDK constant(developer). 83/61783/1
Kim Gunsoo [Thu, 10 Mar 2016 11:54:01 +0000 (20:54 +0900)]
Modify the fixed SDK constant(developer).

- changed to obtained using the platform API(tizen-platform-config).

Change-Id: I0c975660c8fda8868561750d747162487733af62
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoMerge "Fixed sources reported by static code analysis tool." into tizen accepted/tizen/ivi/20160310.053057 accepted/tizen/mobile/20160310.052946 accepted/tizen/tv/20160310.053007 accepted/tizen/wearable/20160310.053034 submit/tizen/20160309.023941
Yoonki Park [Wed, 9 Mar 2016 02:38:57 +0000 (18:38 -0800)]
Merge "Fixed sources reported by static code analysis tool." into tizen

8 years agoFixed sources reported by static code analysis tool. 64/61564/3
shingil.kang [Wed, 9 Mar 2016 02:02:10 +0000 (11:02 +0900)]
Fixed sources reported by static code analysis tool.

Change-Id: I5307232da32f736c3686ea0a080eea18a09db962
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMISC: package version up(3.0.5) 11/61511/1 accepted/tizen/common/20160308.143629 accepted/tizen/ivi/20160309.005714 accepted/tizen/mobile/20160309.005621 accepted/tizen/tv/20160309.005639 accepted/tizen/wearable/20160309.005657 submit/tizen/20160308.094338
Kim Gunsoo [Tue, 8 Mar 2016 09:41:06 +0000 (18:41 +0900)]
MISC: package version up(3.0.5)

- Fixed the incorrect version information for profile_command.

Change-Id: I8ed08c3e4d63badbe5b314ec85a4272ec3c44e1a
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed the incorrect version information for profile_command. 03/61503/1
Kim Gunsoo [Tue, 8 Mar 2016 08:48:52 +0000 (17:48 +0900)]
Fixed the incorrect version information for profile_command.

- Modified to 3.0 from the 4.0.

Change-Id: I06cfade7942f8a14fee763adc523afaa9f24c769
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed build warning "implicit declaration of function" 57/61157/2 accepted/tizen/common/20160304.195712 accepted/tizen/ivi/20160305.094413 accepted/tizen/mobile/20160305.094323 accepted/tizen/tv/20160305.094340 accepted/tizen/wearable/20160305.094352 submit/tizen/20160304.090005
yoonki.park [Fri, 4 Mar 2016 08:41:43 +0000 (17:41 +0900)]
Fixed build warning "implicit declaration of function"

Change-Id: I15989e44823099736c39f600716e0e559bb45850
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMerge "Fixed an incorrect function call for usb function." into tizen accepted/tizen/common/20160302.193907 accepted/tizen/ivi/20160302.224712 accepted/tizen/mobile/20160302.224627 accepted/tizen/tv/20160302.224638 accepted/tizen/wearable/20160302.224655 submit/tizen/20160302.090440
Yoonki Park [Wed, 2 Mar 2016 09:00:02 +0000 (01:00 -0800)]
Merge "Fixed an incorrect function call for usb function." into tizen

8 years agoFixed segment fault error on arch64 97/60797/1
shingil.kang [Wed, 2 Mar 2016 08:49:28 +0000 (17:49 +0900)]
Fixed segment fault error on arch64

Change-Id: Idbc8006317e121ebd884642a06c3cd03a9811b63
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixed an incorrect function call for usb function. 54/60754/1
Kim Gunsoo [Wed, 2 Mar 2016 05:03:14 +0000 (14:03 +0900)]
Fixed an incorrect function call for usb function.

- Whether usb protocol is supported or not in sdbd, initialize
  the function pointers for usb.

Change-Id: Ic1373bcd0b51e1e8d32eb53015cb23e23ded0132
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agosdbd: remove sys-assert dependency 05/59605/2
Taeyoung Kim [Wed, 17 Feb 2016 00:45:01 +0000 (09:45 +0900)]
sdbd: remove sys-assert dependency

- sys-assert is not used in Tizen 3.0.
  Thus the dependency is removed.

Change-Id: I567be8d352e02dc71570d18fe0e83ad32ece57ba
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoFixed build error 79/58779/1 accepted/tizen/ivi/20160223.234544 accepted/tizen/mobile/20160203.102949 accepted/tizen/tv/20160203.103006 accepted/tizen/wearable/20160203.103029 submit/tizen/20160203.100610 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160223.000000
shingil.kang [Wed, 3 Feb 2016 10:03:45 +0000 (19:03 +0900)]
Fixed build error

- Fixed %changelog not in descending chronological order

Change-Id: I8eca239ce776efc7544c334c39a091223774536a
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixed build error 75/58775/1
shingil.kang [Wed, 3 Feb 2016 09:33:17 +0000 (18:33 +0900)]
Fixed build error

- add changelog section in RPM spec

Change-Id: I4d64beb13c08b0b66dcc428845bea07a347b4fdb
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoRemove changelog 60/58560/1 submit/tizen/20160202.020328 submit/tizen/20160203.093631
shingil.kang [Tue, 2 Feb 2016 02:00:47 +0000 (11:00 +0900)]
Remove changelog

Change-Id: I6ae5328d54cf3face9a1fd8f2b106d594cb82bf2
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoAdd change log 51/58451/2 submit/tizen/20160201.065657
shingil.kang [Mon, 1 Feb 2016 06:46:21 +0000 (15:46 +0900)]
Add change log

Change-Id: I336e2f63de46aa6d38689187d82ed60bb48b4131
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixes for issues reported by Static Code Analysis 39/58439/1
shingil.kang [Mon, 16 Nov 2015 12:05:24 +0000 (21:05 +0900)]
Fixes for issues reported by Static Code Analysis

- Variable atomicity
- Bad sizeof usage

Change-Id: I07f780ad12be2e74176965cabaa1a810ef0893da
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoregister vconf callback to be notified status of power lock 38/56538/1 submit/tizen/20160128.073515
shingil.kang [Mon, 13 Apr 2015 07:41:02 +0000 (16:41 +0900)]
register vconf callback to be notified status of power lock

Change-Id: Id39406a82f5c75c5eea66c28a17938cdb5f519f9
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMerge branch 'tizen_2.4_merge' into tizen 11/56311/2
Kim Gunsoo [Wed, 6 Jan 2016 08:29:02 +0000 (17:29 +0900)]
Merge branch 'tizen_2.4_merge' into tizen

Change-Id: Iff477f5ca164496b2ab6144f35195ffeb7dbcbdc
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoprevent buffer overflow when reading struct array 31/56331/3 accepted/tizen/mobile/20160106.122539 accepted/tizen/tv/20160106.122558 accepted/tizen/wearable/20160106.122614 submit/tizen/20160106.105500
shingil.kang [Wed, 6 Jan 2016 10:26:30 +0000 (19:26 +0900)]
prevent buffer overflow when reading struct array

Change-Id: Id472948779e6ad2971b263c285fd6c9bfda1e230
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixed codes which may occur buffer overflow or resource leak 81/56281/2
shingil.kang [Wed, 6 Jan 2016 03:46:58 +0000 (12:46 +0900)]
Fixed codes which may occur buffer overflow or resource leak

Change-Id: Ia516982e5de0d41e6b141845d2fef96892a0afaf
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixed codes which may occur buffer overflow or resource leak 96/56096/3
shingil.kang [Mon, 4 Jan 2016 08:29:30 +0000 (17:29 +0900)]
Fixed codes which  may occur buffer overflow or resource leak

Signed-off-by: shingil.kang <shingil.kang@samsung.com>
Change-Id: Iaebf52f17f2dd9a07d628d503976601e4530d367

8 years agoRemove unnecessary code for smack. 74/55774/1
Kim Gunsoo [Tue, 29 Dec 2015 07:23:00 +0000 (16:23 +0900)]
Remove unnecessary code for smack.

- change to the use of libsmack library.

Change-Id: Idd4ba336721a5c7ab8e27bd356ed46c5cce50da7
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoApplied ASLR 71/54071/1
shingil.kang [Fri, 11 Dec 2015 07:11:58 +0000 (16:11 +0900)]
Applied ASLR

Change-Id: Ia07bd620e3d6a0d20b015b62e62fb9f2cfd7e1f8
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agosdb: do not init usb protocol is the profile is TV 21/50721/3 accepted/tizen/mobile/20151117.005522 accepted/tizen/tv/20151117.005534 accepted/tizen/wearable/20151117.005548 submit/tizen/20151116.102124 submit/tizen/20151116.102135 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
taeyoung [Fri, 30 Oct 2015 08:57:28 +0000 (17:57 +0900)]
sdb: do not init usb protocol is the profile is TV

- In the TV target, there is no usb connection for sdb.
  Thus usb protocol init operation should be removed

Change-Id: I4d2d6cd631d39468ab283eb47d8502ad04f7aa45
Signed-off-by: taeyoung <ty317.kim@samsung.com>
9 years agoservice: remove dependency with default target 46/42346/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150626.103505 accepted/tizen/tv/20150626.103509 accepted/tizen/wearable/20150626.103521 submit/tizen/20150626.085725 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Taeyoung Kim [Fri, 26 Jun 2015 07:30:56 +0000 (16:30 +0900)]
service: remove dependency with default target

- Default target has dependency with graphical target.
- If a service file whose type is oneshot in basic
  or multi-user target is blocked by any reason,
  launching sdbd is also blocked. Thus developers
  cannot develop their modules or apps.
- Now, the dependency is removed and thus sdb can be
  enabled without any dependencies

Change-Id: I550b481c63c65e099c3a78ffe3034f550fcb6db9
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
9 years agoChange SmackExecLabel to SmackProcessLabel 05/40405/1 accepted/tizen/common/20150604.131149 submit/tizen_common/20150603.000219
Maciej Wereski [Fri, 24 Apr 2015 13:07:03 +0000 (15:07 +0200)]
Change SmackExecLabel to SmackProcessLabel

Since systemd v219 Tizen-specific SmackExecLabel option was dropped in
favour of SmackProcessLabel option from upstream.

Change-Id: I36946fc5d57d55efe23691cac67f82aa800cd2e2
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
9 years agosdbd: Add tizen environment to sdbd process 42/38242/2 accepted/tizen/common/20150416.120427 accepted/tizen/mobile/20150416.235331 accepted/tizen/tv/20150416.234601 accepted/tizen/wearable/20150416.234823 submit/tizen/20150416.111200
Jiyoung Yun [Wed, 15 Apr 2015 08:38:09 +0000 (17:38 +0900)]
sdbd: Add tizen environment to sdbd process

When systemd launch the sdbd process,
it does not have any tizen environment value.
The tizen-system-env.service makes the /run/tizen-system-env from /etc/profile.d/.

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I58dd8c37de649f217c1cdfd21afc0d456711db46

9 years agoMerge "Support both functionfs and sdb gadget" into tizen
Yoonki Park [Fri, 13 Mar 2015 01:54:55 +0000 (18:54 -0700)]
Merge "Support both functionfs and sdb gadget" into tizen

9 years agomodify system-info key string 07/35907/2 accepted/tizen/common/20150226.085124 accepted/tizen/mobile/20150226.100613 accepted/tizen/tv/20150226.094508 accepted/tizen/wearable/20150226.095738 submit/tizen/20150226.055334
Jiyoung Yun [Thu, 26 Feb 2015 02:06:19 +0000 (11:06 +0900)]
modify system-info key string

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: Ib9f5b04ba67326dc176aaa1183504ee840bd8dc3

9 years agopackaging: fix invocation of usermod in post-install 39/35839/1 accepted/tizen_3.0.2014.q4_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/3.0.2014.q4/common/20150225.092244 accepted/tizen/common/20150225.092321 submit/tizen_3.0.2014.q4_common/20150225.091554 submit/tizen_common/20150225.091507
Stephane Desneux [Wed, 25 Feb 2015 08:51:12 +0000 (09:51 +0100)]
packaging: fix invocation of usermod in post-install

Change-Id: I6e6716e157356319be8ec40b77701de10eea17d0
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agoCreation of the user account for the SDK 92/35592/3 accepted/tizen/3.0.2014.q4/common/20150225.092028 accepted/tizen/common/20150225.091851 submit/tizen_3.0.2014.q4_common/20150224.151135 submit/tizen_common/20150224.141123
José Bollo [Wed, 18 Feb 2015 15:42:28 +0000 (16:42 +0100)]
Creation of the user account for the SDK

This replace the previously hackish creation of the
user handled by SDB for the SDK.

The current implementation creates the user on need at
installation time of SDB. If the user still exists, it
is not recreated to avoid erasing of previously existing
data.

The group developer is also created.
TODO: check that the group developer is needed.

Change-Id: Ie2a1fae481ad7f89f8349aafa1d19f858b8a1313
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoMerge "Fix sdbd error: proc/1011/oom_adj is deprecated, please use /proc/1011/oom_sco...
Yoonki Park [Mon, 24 Nov 2014 02:57:26 +0000 (18:57 -0800)]
Merge "Fix sdbd error: proc/1011/oom_adj is deprecated, please use /proc/1011/oom_score_adj instead" into tizen

9 years agoUse %{_unitdir} macro to package systemd unit files 25/30325/1 tizen_3.0_ivi accepted/tizen/common/20141121.093622 accepted/tizen/ivi/20141201.015040 accepted/tizen/mobile/20141216.103534 accepted/tizen/mobile/20150105.022530 submit/tizen/20141118.051925 submit/tizen_mobile/20141216.000000 submit/tizen_mobile/20141216.101341 submit/tizen_mobile/20141231.012840 submit/tizen_mobile/20151202.000001 tizen_3.0_ivi_release
Geoffroy Van Cutsem [Fri, 14 Nov 2014 14:26:43 +0000 (15:26 +0100)]
Use %{_unitdir} macro to package systemd unit files

Bug-Tizen: TC-2069

Change-Id: I24445b2e71d9473f2afcdeb4813e4577060e9795
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
10 years agoAlign with Multi user feature, SDB tool should concider develloper as regular user 21/28121/4 accepted/tizen/common/20141015.105840 accepted/tizen/ivi/20141020.070054 submit/tizen_common/20141015.091219 submit/tizen_ivi/20141015.091312 submit/tizen_mobile/20141120.000000
Baptiste DURAND [Fri, 26 Sep 2014 09:41:23 +0000 (11:41 +0200)]
Align with Multi user feature, SDB tool should concider develloper as regular user

Develloper user should be owned by users group

Add Home directory creation
Linked with : https://review.tizen.org/gerrit/#/c/28178/
BUG=TC-320

Change-Id: I79fad0baac5c0bd763aa3d4d56a07d3f49be55e0
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoSupport both functionfs and sdb gadget 79/27179/1
Łukasz Stelmach [Thu, 4 Sep 2014 12:27:24 +0000 (14:27 +0200)]
Support both functionfs and sdb gadget

Automatically detect the kernel interface to use for communication
with host.

Change-Id: I51834991063d9bbb686598490ddc7a0b607fc282
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
10 years agoFix sdbd error: proc/1011/oom_adj is deprecated, please use /proc/1011/oom_score_adj... 84/26284/1
Mykola Tryshnivskyy [Wed, 20 Aug 2014 08:37:02 +0000 (11:37 +0300)]
Fix sdbd error: proc/1011/oom_adj is deprecated, please use /proc/1011/oom_score_adj instead

Change-Id: Idb48c5f459ec995d42cc9d291d64473c416c1236
Signed-off-by: Mykola Tryshnivskyy <mykola.tryshnivskyy@globallogic.com>
10 years agoChange sdbd running with User Smack label. 88/26288/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/3.0.2014.q3/common/20141020.094325 accepted/tizen/common/20140822.100512 accepted/tizen/ivi/20140822.151436 submit/tizen_3.0.2014.q3_common/20141020.093726 submit/tizen_common/20140822.082427 submit/tizen_ivi/20140822.082357 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Alice Liu [Wed, 20 Aug 2014 08:27:03 +0000 (16:27 +0800)]
Change sdbd running with User Smack label.

According the Smack rules in Tizen 3, sdbd should be
running with User Smack label. This will fix the issue
that Xwalk cannot access the applicaiton package pushed
by SDB.

Change-Id: I25624ef73413825d8ffd2c5d36e5aff3385a9f37
Signed-off-by: Alice Liu <alice.liu@intel.com>
10 years agoChange reference to macro 'emulator' to 'with emulator' in spec 19/23119/1 tizen_3.0.m14.2_ivi accepted/tizen/common/20140618.144331 accepted/tizen/ivi/20140619.124125 submit/accepted/tizen/ivi/20140618.073339 submit/accepted/tizen_common/20140618.073320 submit/tizen/20140618.051235 submit/tizen_common/20140618.074012 submit/tizen_common/20140618.080340 submit/tizen_ivi/20140618.080337 tizen_3.0.m14.2_ivi_release
Dongxing Liu [Wed, 18 Jun 2014 02:49:43 +0000 (10:49 +0800)]
Change reference to macro 'emulator' to 'with emulator' in spec

Now Project Configuration in OBS uses macro 'with emulator',
so we need to change reference in spec file accordingly.

Change-Id: Icd8622c5cdea7e76784787fa67e57c5cb93095c2
Signed-off-by: Dongxing Liu <dongxing.x.liu@intel.com>
10 years agoChange reference to macro 'simulator' to 'emulator' in spec 91/22791/1 submit/tizen_common/20140612.113529
Xiaoyang Yu (max) [Thu, 12 Jun 2014 11:17:33 +0000 (19:17 +0800)]
Change reference to macro 'simulator' to 'emulator' in spec

Now Project Configuration in OBS use macro 'emulator' instead of
'simulator', so we need to change reference in spec file
accordingly

Change-Id: Id25308859aea8713a477a92b5f163eff3dae8304
Signed-off-by: Xiaoyang Yu (max) <max.a.yu@intel.com>
10 years agoFix SDBD segfault issue 09/19409/1 accepted/tizen_generic accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140415.185303 accepted/tizen/ivi/release/20140412.070515 submit/tizen/20140411.235043 submit/tizen_ivi_release/20140412.063036
Xiaoyang Yu (max) [Fri, 11 Apr 2014 20:01:05 +0000 (04:01 +0800)]
Fix SDBD segfault issue

Fix TIVI-3031 SDBD process segment fault

Change-Id: Ie65d929b23f78d72dbd48ce958c4c75ec2ef7f87
Signed-off-by: Xiaoyang Yu (max) <max.a.yu@intel.com>
10 years agoMerge "Revert "Fix sdbd segfault"" into tizen
Stanislav Vorobiov [Fri, 11 Apr 2014 11:30:33 +0000 (04:30 -0700)]
Merge "Revert "Fix sdbd segfault"" into tizen

10 years agoRevert "Exit if malloc failed" 05/19405/1
Max Yu [Fri, 11 Apr 2014 11:00:21 +0000 (04:00 -0700)]
Revert "Exit if malloc failed"

This reverts commit d8c15b2e241ed0462c6ddf58d1651581221b0c60.

Change-Id: I5610f6245fa3451e269cfd14aaac5da30f317575

10 years agoExit if malloc failed 75/19375/1 submit/tizen/20140411.153438
Xiaoyang Yu (max) [Fri, 11 Apr 2014 15:25:17 +0000 (23:25 +0800)]
Exit if malloc failed

Exit if failed to malloc for env string

Change-Id: Ib9fb676520cb05ff98ebc671f548ad15fcaa07e1
Signed-off-by: Xiaoyang Yu (max) <max.a.yu@intel.com>
10 years agoFix sdbd segfault 60/19360/1 submit/tizen/20140411.144936
Xiaoyang Yu (max) [Fri, 11 Apr 2014 14:41:12 +0000 (22:41 +0800)]
Fix sdbd segfault

Fix TIVI-3031 SDBD process segment fault

Change-Id: I13e581b52827be8bba8f867ccb958dec6295d6e6
Signed-off-by: Xiaoyang Yu (max) <max.a.yu@intel.com>
10 years agoRevert "Fix sdbd segfault" 02/19402/1
Max Yu [Fri, 11 Apr 2014 10:59:13 +0000 (03:59 -0700)]
Revert "Fix sdbd segfault"

This reverts commit ff9d790217ab53b0dd4afaa1d8f316fb30f335fe.

Change-Id: Ib4c25cc3d549a1c5e19e154a5e84a5f178516860

10 years agoAllow sdb to listen on both usb and TCP. 46/18546/3 accepted/tizen_ivi_panda accepted/tizen/generic/20140331.081744 accepted/tizen/ivi/20140328.192816 accepted/tizen/ivi/panda/20140328.181242 accepted/tizen/ivi/release/20140404.171232 submit/tizen/20140328.080409 submit/tizen_ivi_release/20140404.170142
Krzysztof Opasiak [Mon, 24 Mar 2014 12:41:23 +0000 (13:41 +0100)]
Allow sdb to listen on both usb and TCP.

Fix semantic of --listen option to allow run sdb
with TCP backend on real device.

Add systemd target to allow run sdb with tcp backend,

Change-Id: I3499ee1e90539961629ad6a5a763b99c2fb7bb6b
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
10 years agoRefined pkg dependency 92/18592/1 accepted/tizen/generic/20140327.113926 accepted/tizen/ivi/20140327.210957 accepted/tizen/ivi/panda/20140327.194440 submit/tizen/20140327.041126
yoonki.park [Thu, 27 Mar 2014 01:41:29 +0000 (10:41 +0900)]
Refined pkg dependency

- Removed a dependency on debug-launchpad

Change-Id: I2df5fe55cda075d49217b29151c76dc0781cf4bf
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
10 years agoRemove hardcoded path for multiuser support 71/16871/5
Sabera Djelti (sdi2) [Tue, 25 Feb 2014 14:17:24 +0000 (15:17 +0100)]
Remove hardcoded path for multiuser support

Change-Id: I40fbc04ea408f7e044ada515b6c0b17c6ad2ee41
Bug-Tizen: PTREL-725
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoAdd --usage/--help commandline options 95/15995/2
Aleksander Zdyb [Fri, 7 Mar 2014 11:52:17 +0000 (12:52 +0100)]
Add --usage/--help commandline options

Change-Id: I22581e04b24bbad6ee587fc93b91a89506fc4f8b
Signed-off-by: Aleksander Zdyb <a.zdyb@partner.samsung.com>
10 years agoVersion up to 3.0.1 to add the following changes: 58/16658/1 accepted/tizen/generic accepted/tizen/ivi accepted/tizen/generic/20140220.135232 accepted/tizen/ivi/20140220.173745 accepted/tizen/ivi/release/20140312.115121 accepted/tizen/mobile/20140227.071658 submit/tizen/20140220.130415 submit/tizen/20140220.130635 submit/tizen_ivi_release/20140312.071526
yoonki.park [Thu, 20 Feb 2014 13:03:15 +0000 (22:03 +0900)]
Version up to 3.0.1 to add the following changes:

    - Remove sys-assert dependency
    - Rewrite Makefile as CMakeLists.txt
    - Initial support for FunctionFS
    - Parse commandline of sdbd and make use of values provided

Signed-off-by: yoonki.park <yoonki.park@samsung.com>
Change-Id: Iafa2e549047b6b49e34ba785a210e8912e4f4ffc

10 years agoRemove sys-assert dependency 98/14298/2
Mikko Ylinen [Wed, 5 Feb 2014 04:39:28 +0000 (06:39 +0200)]
Remove sys-assert dependency

sys-assert controls how core dumps are handled in the system.
It provides a system/image wide capability.

Product images might choose not to install it or they might
prefer an alternative core dump service (e.g., systemd
coredump).

Therefore, individual packages should not explicitly depend
on sys-assert.

Change-Id: Icd83879a9f676464c2fae4f06676c7e8fabd53e6
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoRewrite Makefile as CMakeLists.txt 74/14674/4
Aleksander Zdyb [Wed, 29 Jan 2014 14:20:04 +0000 (15:20 +0100)]
Rewrite Makefile as CMakeLists.txt

FunctionFS transport can be enabled by passing
-DUSE_FUNCTION_FS to cmake.

Unit tests building can be enabled by passing
-DBUILD_UNIT_TESTS to cmake

Signed-off-by: Aleksander Zdyb <a.zdyb@partner.samsung.com>
Change-Id: Ia4f394ab301a74b83e5846ba19931f0637f0d241

10 years agoInitial support for FunctionFS 13/14113/5
Aleksander Zdyb [Wed, 29 Jan 2014 14:22:43 +0000 (15:22 +0100)]
Initial support for FunctionFS

Add support for FunctionFS. It's not yet built by default, but can be
enabled by substituting usb_linux_client.c with usb_funcfs_client.c.

Change-Id: Id3209741e21c331ed239cdd6204b70e275224449
Signed-off-by: Aleksander Zdyb <a.zdyb@partner.samsung.com>
10 years agoParse commandline of sdbd and make use of values provided 19/15719/5
Aleksander Zdyb [Fri, 31 Jan 2014 11:00:45 +0000 (12:00 +0100)]
Parse commandline of sdbd and make use of values provided

Settings such as emulator name or ports are no longer parsed
from /proc/cmdline. Individual ports can be now explicitly
specified and not determined by some hardcoded arithmetical logic.
An additional advantage is possibility to launch sdbd in tcp mode
on specified IP and port. Moreover running on emulator or not
is not determined at runtime, but rather passed as an option.

Available options are:
* -e, --emulator=HOST:PORT   emulator's name and forward port
* -c, --connect-to=HOST:PORT hostname or IP and port of sdb
                             listening on host (for notification)
* -s, --sensors=HOST:PORT    hostname or IP and port of sensors
                             daemon
* -l, --listen-port=PORT     port on which sdbd shall be
                             listening on

Some functions are rewritten to make use of commandline args:
* is_emulator(),
* get_emulator_forward_port(),
* get_emulator_name().

send_msg_to_localhost_from_guest() is more generic now -- accepts
hostname.

Change-Id: I498ce3688019418548dc94c55c4ea8144be8687a
Signed-off-by: Aleksander Zdyb <a.zdyb@partner.samsung.com>
10 years agoRevert "Start sdbd at boot time" 03/14903/1
Kévin THIERRY [Mon, 13 Jan 2014 12:27:48 +0000 (04:27 -0800)]
Revert "Start sdbd at boot time"

This reverts commit da60ed8dd45cc54f72e35688d0f016062ed4976e.

Change-Id: I864d0df0e78bbcfddf5f19a9013d7e40549598e8
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoStart sdbd at boot time 57/14757/2
Kévin THIERRY [Fri, 10 Jan 2014 15:10:21 +0000 (16:10 +0100)]
Start sdbd at boot time

Bug-Tizen: TIVI-2400
Change-Id: Idc9c4616ea36f0f51330626d60ecfd562d4edd16
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
11 years agoversion up to 3.0.0 21/11721/1 accepted/tizen/mobile accepted/tizen/20131104.140446 accepted/tizen/20131104.174211 accepted/tizen/20131112.015040 submit/tizen/20131104.065157 submit/tizen_2.2/20131104.065040
yoonki.park [Mon, 4 Nov 2013 05:36:46 +0000 (14:36 +0900)]
version up to 3.0.0

Change-Id: Ie42c8f10e84d3ce3603306620459c1a600358e58
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoFix some runtime issue in 3.0 02/11602/1
Junfeng Dong [Thu, 31 Oct 2013 03:26:31 +0000 (11:26 +0800)]
Fix some runtime issue in 3.0

  set manifest request domain to floor.
  Remove wrong run time requires.

Change-Id: I8598b9320faf7890dd47d51b0b4ce00751af7b62
Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
11 years agomake link sdbd.service file to emulator target dir 82/10782/2
yoonki.park [Fri, 11 Oct 2013 14:48:06 +0000 (23:48 +0900)]
make link sdbd.service file to emulator target dir

Change-Id: I26a4a042b694777dde1f60f79a977ef927cd59a0
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoverify system info pkg version dependency 48/11048/1
yoonki.park [Thu, 17 Oct 2013 04:32:21 +0000 (13:32 +0900)]
verify system info pkg version dependency

Change-Id: If5ea7679055f473e1d38ab14de1383354663f9c1
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoremove resource leak 06/11006/2
yoonki.park [Wed, 16 Oct 2013 06:58:45 +0000 (15:58 +0900)]
remove resource leak

Change-Id: I63610fd78399f58ddb7eac45d84c146f4fac7631
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agofixed to cp sdbd.service file to right target 71/10771/1 submit/tizen/20131011.084016
kh5325.kim [Fri, 11 Oct 2013 08:39:10 +0000 (17:39 +0900)]
fixed to cp sdbd.service file to right target

Change-Id: Ie0c35ac38863615a4542102810aecc496af68168
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
11 years agosource drop from rsa 58/10758/1 submit/tizen/20131011.052626 submit/tizen/20131011.053853
kh5325.kim [Fri, 11 Oct 2013 05:22:45 +0000 (14:22 +0900)]
source drop from rsa

Change-Id: Icca1a9d735e546a5b5ae40163b8e40376f00707d
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
11 years agocp sdbd.service file & clean up build script files 57/10757/1 submit/tizen_2.2/20131010.123438 submit/tizen_2.2/20131010.124030
kh5325.kim [Thu, 10 Oct 2013 12:32:23 +0000 (21:32 +0900)]
cp sdbd.service file & clean up build script files

Change-Id: Icfdd8a59092e7dd51a71ab87324a7a4f0726b4b3
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
11 years agosend device name when incomming connection 56/10756/1
kh5325.kim [Thu, 10 Oct 2013 07:36:54 +0000 (16:36 +0900)]
send device name when incomming connection

Change-Id: I3e8f2e3c18eeeee2008df2584538e929b0a949fd
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
11 years agosend notify to qemu when sdbd has been booted up 55/10755/1
kh5325.kim [Thu, 10 Oct 2013 07:05:03 +0000 (16:05 +0900)]
send notify to qemu when sdbd has been booted up

Change-Id: Ibe67da241c97a8669de418b4db6186269a53cefa
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
11 years agosupport for getting platform system information 54/10754/1
kh5325.kim [Thu, 10 Oct 2013 04:49:02 +0000 (13:49 +0900)]
support for getting platform system information

Change-Id: Ie93809dbc52b3c636a28a771fd06eb4463ee6865
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
11 years agoRevert "cp license file to usr/share" 51/10351/1
kh5325.kim [Mon, 30 Sep 2013 11:10:34 +0000 (20:10 +0900)]
Revert "cp license file to usr/share"

This reverts commit 2591cfb9f817ecc9cf15269014528ea316daa0d1.

11 years agocp license file to usr/share
yoonki.park [Fri, 13 Sep 2013 09:34:01 +0000 (18:34 +0900)]
cp license file to usr/share

Change-Id: Ic6b96ae9425a0e1ee92e66ffc3d39f7eb22a83ee
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years ago[Title] fix launch app script
ho.namkoong [Mon, 5 Aug 2013 03:16:33 +0000 (12:16 +0900)]
[Title] fix launch app script
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I99ad5fe502683980f32ebf2c3230b7529a9226f3

11 years agosync sources
yoonki.park [Tue, 30 Jul 2013 09:13:51 +0000 (18:13 +0900)]
sync sources

Change-Id: I0027264c11c91dd84eb01b9d1b5c5c48f02729cc
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoversion up to 2.2.8 submit/tizen_2.2/20130715.044849 submit/tizen_2.2_extension/20130913.075819
yoonki.park [Mon, 15 Jul 2013 04:47:03 +0000 (13:47 +0900)]
version up to 2.2.8

Change-Id: I4b611ab521661be0118e09ba17d9542d6a5b9a6e
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agosupport for pushing a file larger than 2GB on 32 bit system
yoonki.park [Mon, 15 Jul 2013 04:46:14 +0000 (13:46 +0900)]
support for pushing a file larger than 2GB on 32 bit system

Change-Id: I1564178e0c06c32f359c330078ebb607c8edd328
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoMerge "remove resource leak according to prevent rules" into tizen_2.2
yoonki.park [Wed, 10 Jul 2013 05:50:48 +0000 (05:50 +0000)]
Merge "remove resource leak according to prevent rules" into tizen_2.2

11 years agoremove resource leak according to prevent rules
yoonki.park [Wed, 10 Jul 2013 05:47:12 +0000 (14:47 +0900)]
remove resource leak according to prevent rules

Change-Id: I19fa7eec90d3ecbcb2fbcef7c8704ce2baabd296
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years ago[Title] sync smack rule with private git
ho.namkoong [Mon, 8 Jul 2013 05:51:33 +0000 (14:51 +0900)]
[Title] sync smack rule with private git
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Ia24f953174c0c57ffd495da9ba340d20e0770bbe

11 years agoverify code according to prevent rules submit/tizen_2.2/20130705.083911
yoonki.park [Fri, 5 Jul 2013 08:36:18 +0000 (17:36 +0900)]
verify code according to prevent rules

Change-Id: Ie84cf3a94766148940ad4910db15889a5f3473fd
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agosend noti to sensord when sdb is booting up submit/tizen_2.2/20130704.052118
yoonki.park [Thu, 4 Jul 2013 05:17:44 +0000 (14:17 +0900)]
send noti to sensord when sdb is booting up

Change-Id: I5c4df395196bc2126bb7db755b431a9b6d3fac0b
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoset label * when pushing a file
yoonki.park [Thu, 4 Jul 2013 05:16:29 +0000 (14:16 +0900)]
set label * when pushing a file

Change-Id: I0540485034ebf635f7e612e25a4d8c674d4c7434
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agocode rollback for setting label to * submit/tizen_2.2/20130701.112409
yoonki.park [Mon, 1 Jul 2013 11:22:49 +0000 (20:22 +0900)]
code rollback for setting label to *

Change-Id: I6d27d126eaf35b8c57e96061c842ba6081da69d9
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agofixed file missing bug when root on mode submit/tizen_2.2/20130630.141649
yoonki.park [Sun, 30 Jun 2013 14:15:29 +0000 (23:15 +0900)]
fixed file missing bug when root on mode

Change-Id: I470cba73cffc7fcfe1f5eb50242f6e580ac262a8
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoset w permission to others when pushing a file submit/tizen_2.2/20130629.133643
yoonki.park [Sat, 29 Jun 2013 13:28:59 +0000 (22:28 +0900)]
set w permission to others when pushing a file

Change-Id: Ia2303115e1fc807110a8d7637b718714a17a3342
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoset * label when file pushing submit/tizen_2.2/20130628.120622
yoonki.park [Fri, 28 Jun 2013 09:02:39 +0000 (18:02 +0900)]
set * label when file pushing

Change-Id: I784ae9d4d2053307d16ab1184d62f72ff332274c
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agofixed emulator connect protocol name
yoonki.park [Fri, 28 Jun 2013 08:58:21 +0000 (17:58 +0900)]
fixed emulator connect protocol name

Change-Id: Id640f84a7fde367fcae3de5a18dae732ac3a7931
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agonotify to sdb server when sdbd is booting up
yoonki.park [Fri, 28 Jun 2013 05:14:10 +0000 (14:14 +0900)]
notify to sdb server when sdbd is booting up

Change-Id: Id1cb623db97bbb31109b84d9f7b32e6fcf57347a
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years ago[Title] Fix major prevent submit/tizen_2.2/20130627.053943
ho.namkoong [Thu, 27 Jun 2013 02:55:49 +0000 (11:55 +0900)]
[Title] Fix major prevent
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I02689618e2584388f43f6e62256e06b1b5b48318

11 years agoset HOME env submit/tizen_2.2/20130624.134753
yoonki.park [Mon, 24 Jun 2013 13:47:01 +0000 (22:47 +0900)]
set HOME env

Change-Id: I061edb850c73cd69c4e0e2fadc4490a06fae3cd0
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years agoMerge "change apppath index for valgrand rule" into tizen_2.2
yoonki.park [Mon, 24 Jun 2013 05:21:06 +0000 (05:21 +0000)]
Merge "change apppath index for valgrand rule" into tizen_2.2

11 years agochange apppath index for valgrand rule submit/tizen_2.2/20130624.051947 submit/tizen_2.2/20130624.052836
yoonki.park [Mon, 24 Jun 2013 05:18:36 +0000 (14:18 +0900)]
change apppath index for valgrand rule

Change-Id: I416a3a6b1dea1e9c1c4cfb8f75ab301ce3f03539
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
11 years ago[Title] remove echo in launchpad
ho.namkoong [Sun, 23 Jun 2013 13:08:47 +0000 (22:08 +0900)]
[Title] remove echo in launchpad
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I2d9176065487718a4297968b54e43d9760da68c6

Change-ID: Ibc92c44f4ce3a3362019c2cb7132074e69186ea7

11 years ago[Title] remove echo in launchpad submit/tizen_2.1/20130623.133345 submit/tizen_2.1/20130623.133736 submit/tizen_2.2/20130623.133840
ho.namkoong [Sun, 23 Jun 2013 13:08:47 +0000 (22:08 +0900)]
[Title] remove echo in launchpad
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I2d9176065487718a4297968b54e43d9760da68c6

11 years ago[Title] update pkg version -> 2.1.4 submit/tizen_2.2/20130623.112729
ho.namkoong [Sun, 23 Jun 2013 11:22:38 +0000 (20:22 +0900)]
[Title] update pkg version -> 2.1.4
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Iac6584c78c0dbfae352751e77cf730c9f1207bcf

11 years ago[Title] fix codecoverage pull bug 2
ho.namkoong [Sun, 23 Jun 2013 11:10:52 +0000 (20:10 +0900)]
[Title]  fix codecoverage pull bug 2
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#] 9670
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I6e2e4748eb98e6aea717b6d19dcf6aaf31b5b508

11 years ago[Title] apply smack rule in debug attach
ho.namkoong [Sun, 23 Jun 2013 07:58:50 +0000 (16:58 +0900)]
[Title] apply smack rule in debug attach
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#] 9670
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Icb4d91d96647ed89286f43c3ed5f6f42dabe0387

11 years ago[Title] Fix launch script
ho.namkoong [Sun, 23 Jun 2013 06:48:25 +0000 (15:48 +0900)]
[Title] Fix launch script
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Ifdcc35e288fa8881c14ae636fe24ccb61d34acfd