sdk/target/sdbd.git
7 years agopackage: update version (3.0.44) 10/156310/1 accepted/tizen/unified/20171018.165234 submit/tizen/20171018.044949
Sooyoung Ha [Wed, 18 Oct 2017 03:10:47 +0000 (12:10 +0900)]
package: update version (3.0.44)

Change-Id: I68231790d5e787f4a170240867e2aff12720e762
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoplugin: do not null assign saveptr of strtok_r 09/156309/1
Sooyoung Ha [Wed, 18 Oct 2017 03:09:29 +0000 (12:09 +0900)]
plugin: do not null assign saveptr of strtok_r

Change-Id: I49b9f386f45cab131be0f22e9c53cffbf40161ed
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.43) 99/155799/1
Sooyoung Ha [Mon, 16 Oct 2017 07:20:38 +0000 (16:20 +0900)]
package: update version (3.0.43)

Change-Id: Ic67edc88fa0ac9fc377e912b1ef4e4ddff48d3f3
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: remove unused function 98/155798/1
Sooyoung Ha [Mon, 16 Oct 2017 07:19:57 +0000 (16:19 +0900)]
source: remove unused function

Change-Id: I8df28769edca2a8028ddcf984c630c28f5f04d5b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.42) 23/154723/3 accepted/tizen/unified/20171012.191841 submit/tizen/20171012.092830
Jinhyung Jo [Wed, 11 Oct 2017 06:50:02 +0000 (15:50 +0900)]
package: update version (3.0.42)

Change-Id: I44989f6d30412a1b596e6da8a00314766e59e290
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agodbus: change from dbus-glib API to GDBus API 86/154486/4
Jinhyung Jo [Tue, 10 Oct 2017 09:06:20 +0000 (18:06 +0900)]
dbus: change from dbus-glib API to GDBus API

As mentioned in the URL below:
  https://dbus.freedesktop.org/doc/dbus-glib/

  dbus-glib is a deprecated API for use of D-Bus from GLib applications.
  Do not use it in new code. Since version 2.26,
  GLib's accompanying GIO library provides a high-level API for D-Bus,
  "GDBus", based on an independent reimplementation of the D-Bus protocol.
  The maintainers of D-Bus recommend that GLib applications
  should use GDBus instead of dbus-glib.

Change-Id: I5754e0c40fdb246e0a29766ae795e6dcaebc07e4
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (3.0.41) 39/154939/1 accepted/tizen/unified/20171012.023937 submit/tizen/20171011.115817
Sooyoung Ha [Wed, 11 Oct 2017 11:49:04 +0000 (20:49 +0900)]
package: update version (3.0.41)

Change-Id: I749e0ddd0190e1e9c2d39062676b5ec8af413f94
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agotransport: do not free broadcast transport packet 38/154938/1
Sooyoung Ha [Wed, 11 Oct 2017 11:48:03 +0000 (20:48 +0900)]
transport: do not free broadcast transport packet

Change-Id: I581877a737e4b860061fca8b62b89ea31d39b695
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.40) 16/154316/1 accepted/tizen/unified/20171010.162620 submit/tizen/20171010.071619
Sooyoung Ha [Tue, 10 Oct 2017 05:02:09 +0000 (14:02 +0900)]
package: update version (3.0.40)

Change-Id: I21ea7beee26cd393bd589007f9cc52758955ed26
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: add g_main_loop_unref for finished mainloop 15/154315/1
Sooyoung Ha [Tue, 10 Oct 2017 05:01:12 +0000 (14:01 +0900)]
source: add g_main_loop_unref for finished mainloop

Change-Id: Iefd46e1882cee1011454eafee4414e4130df21d9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.39) 14/154314/1
Sooyoung Ha [Tue, 10 Oct 2017 04:51:31 +0000 (13:51 +0900)]
package: update version (3.0.39)

Change-Id: I63990255b41482fe7d6985f368253f4f4aa6dd1a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: fix some risky codes 13/154313/1
Sooyoung Ha [Tue, 10 Oct 2017 04:50:30 +0000 (13:50 +0900)]
source: fix some risky codes

Change-Id: I09660d031e04a3318849c49f2fe933f6388e0627
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.38) 17/152217/1 accepted/tizen/unified/20170927.063402 submit/tizen/20170927.013854
Jinhyung Jo [Mon, 25 Sep 2017 09:13:27 +0000 (18:13 +0900)]
package: update version (3.0.38)

Change-Id: I814eec175f304dbfb2640a2747255ab2d39c45eb
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agoservice: fix a bug in crash report service 13/152213/1
Jinhyung Jo [Mon, 25 Sep 2017 08:36:20 +0000 (17:36 +0900)]
service: fix a bug in crash report service

Added to watch for the move event.

Change-Id: I1e2a8e39217f25d19bc9c84c3dab663311fb5523
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (3.0.37) 52/150852/2 accepted/tizen/unified/20170920.081047 submit/tizen/20170919.053220
Sooyoung Ha [Tue, 19 Sep 2017 02:37:52 +0000 (11:37 +0900)]
package: update version (3.0.37)

Change-Id: I19f19ba2b4acbe6b745233ff1179e6452aa3ef3e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosecure: change insecure system function 51/150851/2
Sooyoung Ha [Tue, 19 Sep 2017 02:36:33 +0000 (11:36 +0900)]
secure: change insecure system function

system() -> fork() + execve()

Change-Id: I0a8a062013dddfbce03f11ddb6e02962775eb3e9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.36) 70/148670/1
Sooyoung Ha [Fri, 8 Sep 2017 09:05:01 +0000 (18:05 +0900)]
package: update version (3.0.36)

Change-Id: I2be9a7801aa4eb64ae68a517e2eae892aeb521b4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackaging: modify user and group of tcp service 12/148212/1
Sooyoung Ha [Thu, 7 Sep 2017 06:33:33 +0000 (15:33 +0900)]
packaging: modify user and group of tcp service

Change-Id: Ia67f0da66d2326898d19e8e9effeb91c65eb3d4f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.35) 98/145598/1 accepted/tizen/4.0/unified/20170904.143511 accepted/tizen/unified/20170824.051043 submit/tizen/20170824.024628 submit/tizen_4.0/20170831.112542
Jinhyung Jo [Wed, 23 Aug 2017 04:54:15 +0000 (13:54 +0900)]
package: update version (3.0.35)

Change-Id: I1e8537183d81eb117354adb4f7a4b97d05b0f32f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agoappcmd: change argument from local to heap 97/145597/1
Jinhyung Jo [Wed, 23 Aug 2017 02:23:58 +0000 (11:23 +0900)]
appcmd: change argument from local to heap

Change-Id: I708ae784d24cbd5394d2787bf15b53b27ee33c16
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (3.0.34) 99/143499/1 accepted/tizen/4.0/unified/20170828.223130 accepted/tizen/unified/20170811.021122 submit/tizen/20170810.075108 submit/tizen_4.0/20170828.100009
Jinhyung Jo [Thu, 10 Aug 2017 06:47:53 +0000 (15:47 +0900)]
package: update version (3.0.34)

Change-Id: I7e419c1b710447c9a588f7639fc3963b78f5f3d3
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: remove use of getenv() 01/143401/1
Jinhyung Jo [Wed, 9 Aug 2017 14:24:35 +0000 (23:24 +0900)]
source: remove use of getenv()

Change-Id: I4caf3eb7f788ddd95a83be13a298d1c87c48de10
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: fix security issues 90/143390/1
Jinhyung Jo [Wed, 9 Aug 2017 12:28:47 +0000 (21:28 +0900)]
source: fix security issues

Change-Id: I49c6c58ec6646f33183881440e6a1bd6607801dd
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: remove unused code 89/143389/1
Jinhyung Jo [Wed, 9 Aug 2017 09:31:01 +0000 (18:31 +0900)]
source: remove unused code

Change-Id: Ib52f23e49f6b876304d19567f7bf1b9b372b5742
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: add code to check for null pointer 88/143388/1
Jinhyung Jo [Wed, 9 Aug 2017 07:50:43 +0000 (16:50 +0900)]
source: add code to check for null pointer

Change-Id: Ie73726a837cdc6d28468845c91388644f0c5a853
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (3.0.33) 82/140482/3 accepted/tizen/4.0/unified/20170816.013126 accepted/tizen/unified/20170804.025641 submit/tizen/20170803.074638 submit/tizen_4.0/20170811.094300
Sooyoung Ha [Tue, 25 Jul 2017 06:30:19 +0000 (15:30 +0900)]
package: update version (3.0.33)

Change-Id: Ie125643663764582fee9458810531eabf0baf208
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoservice: apply capabilities for security 81/140481/3
Sooyoung Ha [Tue, 25 Jul 2017 06:29:36 +0000 (15:29 +0900)]
service: apply capabilities for security

Change-Id: If8ea4bba3476acf2d2043f17f6f8b63538fd9f8f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: Add libpthread explicitly for ASan build 20/131320/2 submit/tizen/20170712.125833
Slava Barinov [Fri, 26 May 2017 09:01:38 +0000 (12:01 +0300)]
package: Add libpthread explicitly for ASan build

Change-Id: I39508a5c77a41f5ce3b3dfcfe295cb24bde4a367
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
7 years agopackage: update version (3.0.32) 11/136511/1 accepted/tizen/unified/20170630.061148 submit/tizen/20170630.052335
Sooyoung Ha [Fri, 30 Jun 2017 05:15:11 +0000 (14:15 +0900)]
package: update version (3.0.32)

Change-Id: I44433704c5f7267dee1aa18573e760bed2cbc56e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackaging: modify user and group of tv service file 10/136510/1
Sooyoung Ha [Fri, 30 Jun 2017 05:11:37 +0000 (14:11 +0900)]
packaging: modify user and group of tv service file

The 'sdk' user group causes TV smack denying.
This almost revert of commit a16797abdc35b105d38beaf9aaccab12b616933d.

Change-Id: Id0a4beb8efc9e986cfd9f7eb56041de0d05b1105
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.31) 34/136134/1 accepted/tizen/unified/20170629.090040 submit/tizen/20170628.080356
Sooyoung Ha [Wed, 28 Jun 2017 07:54:11 +0000 (16:54 +0900)]
package: update version (3.0.31)

Change-Id: Ie8d745d492170e326cf86d4c1e20afd12f1def36
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: fix typo 33/136133/1
Sooyoung Ha [Wed, 28 Jun 2017 07:51:21 +0000 (16:51 +0900)]
source: fix typo

Change-Id: I7c68c0689e3e62361491285ce8107879c24b0209
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.30) 67/135967/1 submit/tizen/20170628.025840
Sooyoung Ha [Tue, 27 Jun 2017 13:49:24 +0000 (22:49 +0900)]
package: update version (3.0.30)

Change-Id: I29f10364d289fbf07f1811a22d693c71ef30b842
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: align indent 66/135966/1
Sooyoung Ha [Tue, 27 Jun 2017 13:32:18 +0000 (22:32 +0900)]
source: align indent

I change the tabs to spaces and remove the redundant spaces.

Change-Id: Iaed7c815f2d9e04582b1a68bc65d678261824378
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agodbus: add dbus_connection_unref 65/135965/1
Sooyoung Ha [Tue, 27 Jun 2017 13:31:06 +0000 (22:31 +0900)]
dbus: add dbus_connection_unref

Change-Id: Ic7c085a06da97f40c570b7be116a1236d5b222da
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.29) 50/135550/1
Jinhyung Jo [Thu, 22 Jun 2017 08:15:06 +0000 (17:15 +0900)]
package: update version (3.0.29)

Change-Id: I99d417e1d2a513506f084b59c219466d14b98e4f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: remove integer underflow 73/135273/7
Jinhyung Jo [Wed, 21 Jun 2017 11:28:48 +0000 (20:28 +0900)]
source: remove integer underflow

Change-Id: Ie6987bb833fa1061409ccd3a8b4abddf4e281cc7
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: remove build warning 72/135272/2
Jinhyung Jo [Wed, 21 Jun 2017 11:18:48 +0000 (20:18 +0900)]
source: remove build warning

change format specifier for 'size_t': %d -> %zu, %x -> %zx
remove -Wint-to-pointer-cast, -Wpointer-to-int-cast
apply indentation to 'if' statement

Change-Id: Id58a213d6ce8a8b43d19c2789327ec7b2716ab93
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (3.0.28) 95/133495/1 submit/tizen/20170612.121331
Sooyoung Ha [Mon, 12 Jun 2017 11:17:09 +0000 (20:17 +0900)]
package: update version (3.0.28)

Change-Id: I040d55035076328d3317c47a92019f60fa86782b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: avoid potential buffer overflow of scanf 80/133480/1
Sooyoung Ha [Mon, 12 Jun 2017 10:50:04 +0000 (19:50 +0900)]
source: avoid potential buffer overflow of scanf

Change-Id: I853dac8153041dc1786bb58f2058f31cba0a56e3
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: add some defensive codes 96/132296/1
Sooyoung Ha [Fri, 2 Jun 2017 06:27:57 +0000 (15:27 +0900)]
source: add some defensive codes

Change-Id: I41c728f258b75b0d8d03f0bd8526fda73103d901
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.27) 94/132294/1
Sooyoung Ha [Fri, 2 Jun 2017 06:28:56 +0000 (15:28 +0900)]
package: update version (3.0.27)

Change-Id: I8d832462f0f0e600da4b143ec16252567e2d7177
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: remove redundant codes 72/130872/2
Sooyoung Ha [Tue, 16 May 2017 05:19:34 +0000 (14:19 +0900)]
source: remove redundant codes

There were so many legacy sdb-server source codes on sdb-daemon
repository. These could disturb a developer in code reading.

Change-Id: Ida03e0eee34081246c917d044acd7d75e45441e4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.26) 74/130874/2
Sooyoung Ha [Wed, 24 May 2017 08:09:08 +0000 (17:09 +0900)]
package: update version (3.0.26)

Change-Id: If6b898bb10d5b82717a0da8fcbe82ed080eab424
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackaging: modify user and group of service 73/130873/2
Sooyoung Ha [Wed, 24 May 2017 08:08:05 +0000 (17:08 +0900)]
packaging: modify user and group of service

Change-Id: I674a6fe5ff4311b991f83d5e89b3da0b982b123f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.25) 43/128443/1 accepted/tizen/unified/20170510.183353 submit/tizen/20170510.075540 tizen_4.0.m1_release
Jinhyung Choi [Wed, 10 May 2017 05:04:37 +0000 (14:04 +0900)]
package: update version (3.0.25)

Change-Id: I40f480f3279054c663d46c0bc2f5507ff4e549c2
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
7 years agomisc: avoid potential buffer overflow 42/128442/1
Jinhyung Choi [Thu, 20 Apr 2017 06:08:44 +0000 (15:08 +0900)]
misc: avoid potential buffer overflow

Change-Id: Ib87bfb9ee6a3f1a0b3b3cd3d65f460e0ceea3338
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
(cherry picked from commit efe0ed6319e6f273dd78aadcac445a99524691ba)

7 years agopackage: update version (3.0.24) 73/126673/1 accepted/tizen/unified/20170426.061634 submit/tizen/20170424.143543
Sooyoung Ha [Mon, 24 Apr 2017 14:31:23 +0000 (23:31 +0900)]
package: update version (3.0.24)

Change-Id: I17e56843a94725176eee0982414e7f2435ed4795
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosync: fix excluded files issue when execute "sdb pull" command 12/126612/2
Munkyu Im [Mon, 24 Apr 2017 09:20:57 +0000 (18:20 +0900)]
sync: fix excluded files issue when execute "sdb pull" command

need 1 length more to handle null terminated.

Change-Id: I0da67c726cc2b68d636faac42c46c860c2ec892b
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agopackage: update version (3.0.23) 05/126205/1 accepted/tizen/unified/20170420.160431 submit/tizen/20170420.112940
Sooyoung Ha [Thu, 20 Apr 2017 11:28:00 +0000 (20:28 +0900)]
package: update version (3.0.23)

Change-Id: I2ed26fbaf8c2fa13936e1a7efb9a0b1c263ca63b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agomisc: avoid potential buffer overflows 50/124550/2
Munkyu Im [Tue, 11 Apr 2017 14:34:35 +0000 (23:34 +0900)]
misc: avoid potential buffer overflows

Change-Id: I9c0c8c389cb502719d531a8495f4e35539606ffa
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
(cherry picked from commit 31061870b2693168025f6d6717c1ea8e8ae8c3e6)

7 years agopackaging: remove redundant file copy code 49/124949/1
Sooyoung Ha [Thu, 13 Apr 2017 06:30:30 +0000 (15:30 +0900)]
packaging: remove redundant file copy code

Change-Id: I9964684b1de3bd44cad0b85c356eea69c4abd1d6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.22) 57/124857/1 accepted/tizen/unified/20170413.160725 submit/tizen/20170412.171631
Sooyoung Ha [Wed, 12 Apr 2017 17:11:45 +0000 (02:11 +0900)]
package: update version (3.0.22)

Change-Id: I687caf67d1d79df25e096dd6d2365f2b2d16a057
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agofile_sync_service: fix stack corruption 56/124856/1
Sooyoung Ha [Wed, 12 Apr 2017 17:02:20 +0000 (02:02 +0900)]
file_sync_service: fix stack corruption

Change-Id: I1e85ba0bc7f772e8f8446030ea4ea71cda2b48d5
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.21) 49/124549/1 accepted/tizen/unified/20170411.165134 submit/tizen/20170411.151658
Sooyoung Ha [Tue, 11 Apr 2017 15:14:50 +0000 (00:14 +0900)]
package: update version (3.0.21)

Change-Id: Iab27716caef546f4b0fd3382828dfb8b87d26b0f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agofork: child process should call exit() 47/124547/1
Sooyoung Ha [Tue, 11 Apr 2017 15:06:54 +0000 (00:06 +0900)]
fork: child process should call exit()

Change-Id: I81ef43a5f54152e7f1d4f9480cd9b8220be794f2
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.20) 28/124528/1 submit/tizen/20170411.124108
Sooyoung Ha [Tue, 11 Apr 2017 12:36:43 +0000 (21:36 +0900)]
package: update version (3.0.20)

Change-Id: I30d2d74a50d4697d7c002a3748cd4f27a4108bd8
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosubprocess.c: do not wait child process 48/124448/1
Sooyoung Ha [Tue, 11 Apr 2017 09:27:33 +0000 (18:27 +0900)]
subprocess.c: do not wait child process

A redundant wait() action could occur the process-hang.

Change-Id: I6e6d228d28a6d30e2f725a1cd8dadcad069edd7a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoplugin: trivial modification of log contents 08/123208/1 accepted/tizen/unified/20170406.172559 submit/tizen/20170405.090214
Sooyoung Ha [Tue, 4 Apr 2017 14:53:54 +0000 (23:53 +0900)]
plugin: trivial modification of log contents

'out.array_of_parameter[0].v_int32' will freed by release function and
'success' can present the result enough.

Change-Id: I072db5c7a1f078e7ca4e5d7ce4b99e1d6fdd397c
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years ago[Tizen] Remove emulator build dependencies 58/121758/4 submit/tizen/20170404.044936
hk57.kim [Wed, 29 Mar 2017 00:51:20 +0000 (09:51 +0900)]
[Tizen] Remove emulator build dependencies

- This is for Tizen 4.0.
- Added backward-compatibility that does not deteriorate 4.0 Configurability

- When you SR this, you need to create JIRA-TRE issue of:
  : add sdbd-extension-emulator for common/mobile/wearable/ivi emulator
  : add sdbd-extension-tv-emulator for tv emulator

(It's add, not replace.)

Change-Id: Ifc620fd9d83d7a8d56241064832768697c08b058
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 52/122752/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190620 accepted/tizen/ivi/20170403.131912 accepted/tizen/mobile/20170403.131816 accepted/tizen/tv/20170403.131834 accepted/tizen/unified/20170403.131931 accepted/tizen/wearable/20170403.131851 submit/tizen/20170403.100921
Sooyoung Ha [Mon, 3 Apr 2017 08:45:52 +0000 (17:45 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I459af5e29fb92a9d727c5be023a4b19a26875719
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.19) 10/121810/1 accepted/tizen/3.0/common/20170330.125103 accepted/tizen/3.0/ivi/20170330.042812 accepted/tizen/3.0/mobile/20170330.042341 accepted/tizen/3.0/tv/20170330.042616 accepted/tizen/3.0/wearable/20170330.042715 submit/tizen_3.0/20170329.060805
Jinhyung Choi [Wed, 29 Mar 2017 05:48:46 +0000 (14:48 +0900)]
package: update version (3.0.19)

Change-Id: I996b447fb2a38c029c049ffd23f92230ee7f75fc
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
7 years agoappcmd: modify runapp command for watchapp type 08/121808/3
Jinhyung Choi [Wed, 29 Mar 2017 05:31:23 +0000 (14:31 +0900)]
appcmd: modify runapp command for watchapp type

Change-Id: If92e6400b7e88c33ee088fe551127778b962df2e
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
7 years agopackage: update version (3.0.18) 43/121043/1 accepted/tizen/3.0/common/20170328.141912 accepted/tizen/3.0/ivi/20170328.112355 accepted/tizen/3.0/mobile/20170328.112217 accepted/tizen/3.0/tv/20170328.112339 accepted/tizen/3.0/wearable/20170328.112348 submit/tizen_3.0/20170327.060448
Sooyoung Ha [Mon, 27 Mar 2017 06:03:08 +0000 (15:03 +0900)]
package: update version (3.0.18)

Change-Id: I43d8e8f049b7cb91838d4d48d52c91680a61b672
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoservice: change method of create_process function 11/120911/1
Sooyoung Ha [Fri, 24 Mar 2017 15:46:21 +0000 (00:46 +0900)]
service: change method of create_process function

On some case, System privileged shell is needed(ex: appcmd). I provide
functions for creating System privileged process as create_subprocess()
and create_userprocess() for User::Shell privileged. And I also clarify
the equivocal definition name.

Change-Id: Iac129b81e2534ec2a54dc29969098ca8014f582c
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosubprocess: remove user shell 16/120516/1
Jinhyung Choi [Thu, 23 Mar 2017 06:46:20 +0000 (15:46 +0900)]
subprocess: remove user shell

sub-process uses /sh instead of a copy of it.

Change-Id: I2f0eb13fe5f08ae4eb6b1f3e57fd6d4119d7e446
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
7 years agopackage: update version (3.0.17) 06/118906/1 accepted/tizen/3.0/common/20170315.122755 accepted/tizen/3.0/ivi/20170315.075510 accepted/tizen/3.0/mobile/20170315.075337 accepted/tizen/3.0/tv/20170315.075409 accepted/tizen/3.0/wearable/20170315.075441 submit/tizen_3.0/20170314.115723
Sooyoung Ha [Tue, 14 Mar 2017 11:55:48 +0000 (20:55 +0900)]
package: update version (3.0.17)

Change-Id: I11e16a48bb2367ea7ef4c97a3e8649734185799f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: remove some risky codes 95/118895/1
Sooyoung Ha [Tue, 14 Mar 2017 10:50:13 +0000 (19:50 +0900)]
source: remove some risky codes

Some of these codes can cause the various defects.

Change-Id: I5effcdba397a9f80583564ccb2f975205413543c
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agofile: remove redundant execute mode bit 93/118193/1
Sooyoung Ha [Thu, 9 Mar 2017 06:27:44 +0000 (15:27 +0900)]
file: remove redundant execute mode bit

Change-Id: Icfd4016ad4f79bcb248fc341a2caa97e9b35854a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 92/118192/1
Sooyoung Ha [Thu, 9 Mar 2017 06:25:53 +0000 (15:25 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-ID: I364987d6b02d4538753a9b924fbd6769878510b3
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.16) 39/118139/1 accepted/tizen/3.0/common/20170309.110602 accepted/tizen/3.0/ivi/20170309.085844 accepted/tizen/3.0/mobile/20170309.085628 accepted/tizen/3.0/tv/20170309.085722 accepted/tizen/3.0/wearable/20170309.085806 submit/tizen_3.0/20170309.062003
Sooyoung Ha [Thu, 9 Mar 2017 02:43:55 +0000 (11:43 +0900)]
package: update version (3.0.16)

Change-Id: I49f60d84a2a061c71cd1a884af73306ad52ddd35
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoshell: introduce sdb user daemon for user shell 06/116506/12
Sooyoung Ha [Sat, 25 Feb 2017 14:45:51 +0000 (23:45 +0900)]
shell: introduce sdb user daemon for user shell

To create a shell session via sdb, SDBD open the ptmx and then a pts
device is created. Next, SDBD forks a shell who use the pts opened
previously. BUT, forked shell cannot use the pts because forked shell
has no privilege to read the pts.
So I introduce new sdb user daemon who is only for launching shell.
The sdb user daemon has low privilege, same as user shell, and has few
functions - open ptmx, pass opened ptmx fd to SDBD, and exec shell.

Change-Id: I2332419e4b186d4b18c281a554569735617e9f64
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: remove redundant code 08/114808/1
Sooyoung Ha [Wed, 15 Feb 2017 07:07:02 +0000 (16:07 +0900)]
source: remove redundant code

Remove some duplicated codes and redundant spaces.

Change-Id: I4c42490f999eb587f7adca17b3322ca900af50c1
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoRevert "Revert "sdb: change group and owner of sdb device node"" 07/114507/1
Shingil Kang [Wed, 13 Jul 2016 05:18:07 +0000 (22:18 -0700)]
Revert "Revert "sdb: change group and owner of sdb device node""

This reverts commit 45bfe8e57fd16c8bc2ad8073afeb3a842c3eb810.

Change-Id: Iecfb11a43fb26135cc4f99260892d7edd1e69722
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoRevert "Revert "Modify modules that need root permission."" 58/105958/2
Shingil Kang [Wed, 13 Jul 2016 05:18:27 +0000 (22:18 -0700)]
Revert "Revert "Modify modules that need root permission.""

This reverts commit 9395230cf70cc07bfd036f8aa374f5f9443c7983.

Change-Id: I3fb22370706706e8e8042fedd58b79d95b889946
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoAllowed 'sdb root on' command even if the UID of SDBD is non-root. 54/105954/2
shingil.kang [Wed, 13 Jul 2016 05:20:27 +0000 (14:20 +0900)]
Allowed 'sdb root on' command even if the UID of SDBD is non-root.

 - file IO(pull/push), shell service can be worked by root user with restricted priviliges.

Change-Id: I37f4248443bd7f5231ec99e0d1737cd556b749b3
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoAdd capability 'sdbd_rootperm' 05/105705/2
shingil.kang [Fri, 5 Aug 2016 06:20:34 +0000 (15:20 +0900)]
Add capability 'sdbd_rootperm'

Change-Id: Ib63b4f3605506f62e3a8e8d7e32fb5937062ca3c
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.15) 83/113583/1 accepted/tizen/3.0/common/20170216.151242 accepted/tizen/3.0/ivi/20170213.225015 accepted/tizen/3.0/mobile/20170213.224959 accepted/tizen/3.0/tv/20170213.225006 accepted/tizen/3.0/wearable/20170213.225010 submit/tizen_3.0/20170208.070834 submit/tizen_3.0/20170213.021555
Sooyoung Ha [Wed, 8 Feb 2017 07:05:57 +0000 (16:05 +0900)]
package: update version (3.0.15)

Change-Id: I0085cc5980ebf1679f2c0193953c380831cd9ac7
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosdb.h: remove duplicated member 69/113569/1
Sooyoung Ha [Wed, 8 Feb 2017 06:39:52 +0000 (15:39 +0900)]
sdb.h: remove duplicated member

Change-Id: I11f7086dd60cefbe36be2a46b9e92e2585b14cf1
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.14) 17/112117/2 submit/tizen_3.0/20170207.083849
Munkyu Im [Thu, 26 Jan 2017 05:46:57 +0000 (14:46 +0900)]
package: update version (3.0.14)

Change-Id: Ia07a267448ac269c28c9f216b21ba678066f7f04
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agoRevert "Revert "remove mkdir again for sdbd log file"" 68/113368/1
Sooyoung Ha [Tue, 7 Feb 2017 06:52:06 +0000 (15:52 +0900)]
Revert "Revert "remove mkdir again for sdbd log file""

This reverts commit 22ee2bf467e3e798ee9b0811fef172e6b231f93a.

Change-Id: Ibdb42d07d508fe53f49ba75f4d0c2a9bff7d9df9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoRevert "Revert "remove mkdir for sdbd log file"" 67/113367/1
Sooyoung Ha [Tue, 7 Feb 2017 06:51:40 +0000 (15:51 +0900)]
Revert "Revert "remove mkdir for sdbd log file""

This reverts commit bdaaa8e914baf89a727c013d6b3e00a81a100aff.

Change-Id: I980f16a44b33c0e8a60be956d04e9d36541d81ca
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoRevert "Revert "remove smack_setlabel function usage for security reason"" 66/113366/1
Sooyoung Ha [Tue, 7 Feb 2017 06:51:18 +0000 (15:51 +0900)]
Revert "Revert "remove smack_setlabel function usage for security reason""

This reverts commit 9acf96cbd8e41c699e2f059c1bef256910215178.

Change-Id: I75479ca94a011a79764556da3776587addf413c1
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoRevert "Revert "Revert "Revert "Modify the SMACK label for SDB shell."""" 65/113365/1
Sooyoung Ha [Tue, 7 Feb 2017 06:50:10 +0000 (15:50 +0900)]
Revert "Revert "Revert "Revert "Modify the SMACK label for SDB shell.""""

This reverts commit b3894c7aa4e819c5cde88c7d389fb8300af6fdb1.

Change-Id: I98cbf82cdc47392e8c3b8038c0e395bcc9e6ac3b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agocap: Add new "pkgcmd_debugmode" capability for pkgcmd debug mode 09/112009/3 accepted/tizen/3.0/common/20170201.163917 accepted/tizen/3.0/ivi/20170201.034920 accepted/tizen/3.0/mobile/20170201.034830 accepted/tizen/3.0/tv/20170201.034848 accepted/tizen/3.0/wearable/20170201.034904 submit/tizen_3.0/20170126.054419
Munkyu Im [Wed, 25 Jan 2017 09:04:22 +0000 (18:04 +0900)]
cap: Add new "pkgcmd_debugmode" capability for pkgcmd debug mode

To support screenshot,
App should be installed with "pkgcmd -G" command.
It is activated by enabling "pkgcmd_debugmode" capability.

Change-Id: I0c65fbff2155f6d96cc1cfc39102844fce7c4ea6
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agofix a bug that device is still offline when reboot (USB connected) 87/109887/3
greatim [Thu, 12 Jan 2017 06:49:37 +0000 (15:49 +0900)]
fix a bug that device is still offline when reboot (USB connected)

modify broadcast_transport (send device status) not to send packet to
offline devices

Change-Id: Iabf9f6987a12f4f091089b5982c5f8cc45ab97f4
Signed-off-by: greatim <jaewon81.lim@samsung.com>
7 years agoRemove Profile Build Dependencies: do it at runtime 93/94893/4
MyungJoo Ham [Wed, 2 Nov 2016 02:39:16 +0000 (11:39 +0900)]
Remove Profile Build Dependencies: do it at runtime

1. This is for Tizen 4.0

2. When this commit is being SR-ed, the maintainer needs to create
a JIRA-TRE issue of:

  Add sdbd-profile_tv for TV profile

Change-Id: I8432436827023da8990c76f93df3e33c381e2e63
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 35/108335/1 accepted/tizen/common/20170104.073233 accepted/tizen/ivi/20170104.221837 accepted/tizen/mobile/20170104.221743 accepted/tizen/tv/20170104.221802 accepted/tizen/unified/20170309.040846 accepted/tizen/wearable/20170104.221819 submit/tizen/20170104.060414 submit/tizen_unified/20170308.100420
SangJin Kim [Wed, 4 Jan 2017 05:42:59 +0000 (14:42 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I700aec60ab37b0f533572483b0048d60fb1622bb
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoRevert "Revert "Revert "Modify the SMACK label for SDB shell.""" 38/107338/2 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/20170105.025836 accepted/tizen/3.0.m2/tv/20170105.030020 accepted/tizen/3.0.m2/wearable/20170105.030227 accepted/tizen/3.0/common/20161227.181509 accepted/tizen/3.0/ivi/20161227.135441 accepted/tizen/3.0/mobile/20161227.135349 accepted/tizen/3.0/tv/20161227.135408 accepted/tizen/3.0/wearable/20161227.135425 submit/tizen_3.0.m2/20170104.093756 submit/tizen_3.0/20161227.125501
Sangjin Kim [Tue, 27 Dec 2016 12:51:21 +0000 (04:51 -0800)]
Revert "Revert "Revert "Modify the SMACK label for SDB shell."""

This reverts commit cb4d1bb8af186a59661e4e35bdb13fecdc1a0163.

Change-Id: I0e22b3fe0cb56f38cc562182bef7a65de998a59f

8 years agoRevert "remove smack_setlabel function usage for security reason" 37/107337/2
Sangjin Kim [Tue, 27 Dec 2016 12:51:05 +0000 (04:51 -0800)]
Revert "remove smack_setlabel function usage for security reason"

This reverts commit 3b551c517915ee6b2c4709a57dc066ea64c29973.

Change-Id: Ie6f76b81f12a736ac797ccb882ff7b922c0b621e

8 years agoRevert "remove mkdir for sdbd log file" 34/107334/2
Sangjin Kim [Tue, 27 Dec 2016 12:50:41 +0000 (04:50 -0800)]
Revert "remove mkdir for sdbd log file"

This reverts commit 7d1c2eecd0f6ab44be3d4d4d1d9634af9b0a3aa7.

Change-Id: I59138c8c1b068100e45eb5d0511934cdab7f0a4a

8 years agoRevert "remove mkdir again for sdbd log file" 35/107335/1
Sangjin Kim [Tue, 27 Dec 2016 12:50:54 +0000 (04:50 -0800)]
Revert "remove mkdir again for sdbd log file"

This reverts commit ec96660d649e7eb961046f6f456eade9a0ea6920.

Change-Id: I8ed9f39eea79ab0a96dee071e491387843e84345

8 years agoremove mkdir again for sdbd log file 98/107298/1 submit/tizen_3.0/20161227.110220
SangJin Kim [Tue, 27 Dec 2016 10:54:36 +0000 (19:54 +0900)]
remove mkdir again for sdbd log file

Change-Id: I3ca69e6cce164c1df13dcbee6c453e17d3bf60da
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoremove mkdir for sdbd log file 52/107252/1 submit/tizen_3.0/20161227.090907
greatim [Tue, 27 Dec 2016 08:41:19 +0000 (17:41 +0900)]
remove mkdir for sdbd log file

remove mkdir for sdbd log file

Change-Id: I50a7902cd1738a687bc8c315998b29a33a8b720f
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMerge "remove smack_setlabel function usage for security reason" into tizen_3.0 accepted/tizen/3.0/common/20161227.101931 accepted/tizen/3.0/ivi/20161227.010200 accepted/tizen/3.0/mobile/20161227.010104 accepted/tizen/3.0/tv/20161227.010124 accepted/tizen/3.0/wearable/20161227.010142 submit/tizen_3.0/20161226.053436
Sangjin Kim [Mon, 26 Dec 2016 05:33:02 +0000 (21:33 -0800)]
Merge "remove smack_setlabel function usage for security reason" into tizen_3.0

8 years agoremove smack_setlabel function usage for security reason 56/106856/4
greatim [Fri, 23 Dec 2016 08:32:50 +0000 (17:32 +0900)]
remove smack_setlabel function usage for security reason

remove smack_setlabel function usage
change sdbd log directory
change sdbd smack label to "System"

Change-Id: I242c08d177f456768f3b6e3d3ee90bbb70d7dbe9
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMerge "Revert "Revert "Modify the SMACK label for SDB shell.""" into tizen_3.0
Sangjin Kim [Mon, 26 Dec 2016 05:19:37 +0000 (21:19 -0800)]
Merge "Revert "Revert "Modify the SMACK label for SDB shell.""" into tizen_3.0

8 years agoRevert "Revert "Modify the SMACK label for SDB shell."" 43/106843/1
Jaewon Lim [Fri, 23 Dec 2016 07:57:25 +0000 (23:57 -0800)]
Revert "Revert "Modify the SMACK label for SDB shell.""

This reverts commit 37ca0ed4a0610cc20f954cb94a2ac7698ba52d56.

Change-Id: Idc727cc0a259d750634d3ef70b4f71dc9a160eba

8 years agoFix SVACE issue. 52/106352/1 accepted/tizen/3.0/ivi/20161226.024555 accepted/tizen/3.0/mobile/20161226.024502 accepted/tizen/3.0/tv/20161226.024517 accepted/tizen/3.0/wearable/20161226.024532 submit/tizen_3.0/20161221.103425
SangJin Kim [Wed, 21 Dec 2016 10:32:08 +0000 (19:32 +0900)]
Fix SVACE issue.

Change-Id: I640624dc49117b8eca6034b41ae33b2e52b8eb8c
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agofix potential bugs 89/106189/1 accepted/tizen/3.0/common/20161221.181515 accepted/tizen/3.0/ivi/20161221.103439 accepted/tizen/3.0/mobile/20161221.103344 accepted/tizen/3.0/tv/20161221.103403 accepted/tizen/3.0/wearable/20161221.103420 submit/tizen_3.0/20161221.011452
greatim [Wed, 21 Dec 2016 01:06:21 +0000 (10:06 +0900)]
fix potential bugs

fix NO_LOCK.STAT bugs for errno

Change-Id: Ic24d17fdf755d9d7b007db68b50b6fb2b30cee37
Signed-off-by: greatim <jaewon81.lim@samsung.com>