Manish Rathod [Thu, 26 Apr 2018 05:44:27 +0000 (05:44 +0000)]
Merge "Change default ffs path to match system policy" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:44:16 +0000 (05:44 +0000)]
Merge "Remove daemonization" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:44:02 +0000 (05:44 +0000)]
Merge "Add socket for ffs socket activation" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:43:48 +0000 (05:43 +0000)]
Merge "Use endpoints provided by socket activation" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:43:37 +0000 (05:43 +0000)]
Merge "Extract descriptors and strings to binary files during compilation" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:43:20 +0000 (05:43 +0000)]
Merge "Change default ffs path" into tizen
Changseok Oh [Wed, 11 Apr 2018 10:49:03 +0000 (10:49 +0000)]
Merge "Fix for svace issues" into tizen
adhavan.m [Wed, 11 Apr 2018 09:55:03 +0000 (15:25 +0530)]
Package: Update version (3.0.48)
Change-Id: If328c6cf5005264310a1c6216a70101a0b7b4561
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
adhavan.m [Tue, 10 Apr 2018 12:16:05 +0000 (17:46 +0530)]
Added appcmd arguments parsing
Change-Id: Ifb7c03e2659eac06d9f26740900e2d08d356893a
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
shikha.ta [Fri, 6 Apr 2018 06:22:45 +0000 (11:52 +0530)]
Fix for svace issues
Change-Id: I9a97f784358be1d7c9f36aa58944b413c22f2e86
Signed-off-by: shikha.ta <shikha.ta@samsung.com>
adhavan.m [Thu, 5 Apr 2018 10:02:42 +0000 (15:32 +0530)]
Package: Update version (3.0.47)
Change-Id: Icb026b148604632205500d60a8303f88ef036fde
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
adhavan.m [Wed, 28 Mar 2018 12:52:46 +0000 (18:22 +0530)]
Fix for sdbd security issues
Change-Id: Ideaab3d8fb75eb21973ec12856cc5c82e58f90a8
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
Krzysztof Opasiak [Wed, 7 Mar 2018 19:12:02 +0000 (20:12 +0100)]
Change default ffs path to match system policy
Change-Id: Ifdabe7cfb883af6c9d773748cb61e658829c4503
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Paweł Szewczyk [Mon, 5 Mar 2018 11:59:54 +0000 (12:59 +0100)]
Remove daemonization
It's not necessary to fork the daemon manually, we have systemd for
managing that. The forking also may affect the sd_listen_ api.
Change-Id: Ia067e64a31787ee87f1b150959765aff40e9d007
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
Krzysztof Opasiak [Wed, 7 Mar 2018 19:17:01 +0000 (20:17 +0100)]
Add socket for ffs socket activation
Adapt the sdbd service to support ffs socket activation via sockets
with ListenUSBFunction option. Add a socket unit for socket activation.
Change-Id: Iefd15fb318230c2bf10b39680ef495bb78c49864
Signed-off-by: Georgia Brikis <g.brikis@samsung.com>
[Rebased for Tizen 5.0]
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
Georgia Brikis [Wed, 2 Mar 2016 14:44:47 +0000 (15:44 +0100)]
Use endpoints provided by socket activation
Enable sdbd to receive preinitialized sockets from systemd. And enable
sdbd to use the endpoints passed by the systemd for opening a usb
thread (old functionality remains if socket activation is not used).
Change-Id: I0c08a82ad200aa042e095e1abf08d8e48de9c62d
Signed-off-by: Georgia Brikis <g.brikis@samsung.com>
[Rebased for Tizen 5.0]
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Georgia Brikis [Thu, 25 Feb 2016 10:51:13 +0000 (11:51 +0100)]
Extract descriptors and strings to binary files during compilation
For socket activation FunctionFs descriptors and strings have to be
provided as binary files. This commit adds support for extracting FFs
strings and descriptors during compilation and installing them.
Change-Id: I8a063e9d6c49d6703cc751e55fe4b86dafaa9e0d
Signed-off-by: Georgia Brikis <g.brikis@samsung.com>
[Rebased for Tizen 5.0]
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
Krzysztof Opasiak [Wed, 3 Dec 2014 10:44:37 +0000 (11:44 +0100)]
Change default ffs path
Change-Id: I3c3e235bfb4b921a068f814ea2df8d01f8797d15
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Rebased for tizen 5.0]
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
jounsun.beak [Fri, 1 Dec 2017 12:35:29 +0000 (21:35 +0900)]
plugin: add verify_path to check valid path for push
Change-Id: I0ae896d25fc4fb9c8bbf89fee16f3f04b3f70160
Signed-off-by: jounsun.beak <jounsun.beak@samsung.com>
jihye424.kim [Fri, 15 Dec 2017 06:41:27 +0000 (15:41 +0900)]
appcmd: modify runapp command
-- check type of application is widget or not before to run application
Change-Id: I0d791cf802ab937a0273df9335e6d91774887d92
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
Sooyoung Ha [Wed, 6 Dec 2017 16:23:25 +0000 (01:23 +0900)]
package: update version (3.0.46)
Change-Id: I3fd3e5cc10291c64daf083e525716f126fd36c57
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Wed, 6 Dec 2017 16:22:36 +0000 (01:22 +0900)]
install: apply install -g option
Change-Id: Ib84bb299caa8c43aa5e49116b31db5b76fb9f4d6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Wed, 29 Nov 2017 07:11:13 +0000 (16:11 +0900)]
capability: add device_name capability
The device_name is the value of VCONFKEY_SETAPPL_DEVICE_NAME_STR
vconf key.
Change-Id: Ic0204387a2e9362e5d095e1191170218a291b90a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Tue, 28 Nov 2017 06:07:31 +0000 (15:07 +0900)]
package: update version (3.0.45)
Change-Id: I5027cfea49cbbf4024eccd20ff5cce0d25d3671f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Tue, 28 Nov 2017 06:04:48 +0000 (15:04 +0900)]
fopen: add realpath before fopen
To prevent path-modification attack using symbolic link.
Change-Id: Id5133df718b1e14a22849920082ff1717bc417e6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>