sdk/target/sdbd.git
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>
8 years agoMerge "Revert "Revert "Modify the packet size in transport protocol.""" into tizen_3.0 accepted/tizen/3.0/common/20161221.180623 accepted/tizen/3.0/ivi/20161221.005318 accepted/tizen/3.0/mobile/20161221.005340 accepted/tizen/3.0/tv/20161221.005156 accepted/tizen/3.0/wearable/20161221.005229 submit/tizen_3.0/20161219.083125
Sangjin Kim [Mon, 19 Dec 2016 08:23:48 +0000 (00:23 -0800)]
Merge "Revert "Revert "Modify the packet size in transport protocol.""" into tizen_3.0

8 years agoRevert "Revert "Modify the packet size in transport protocol."" 64/105564/1
Jaewon Lim [Mon, 19 Dec 2016 04:51:20 +0000 (20:51 -0800)]
Revert "Revert "Modify the packet size in transport protocol.""

This reverts commit 57917a169d72ead67de0921c6f1a37fe70f99040.

Change-Id: I37a23f2cea79831b3c532c8adba3bfce0b95d05d

8 years agofix potential bugs 28/104828/2 accepted/tizen/3.0/common/20161219.112500 accepted/tizen/3.0/ivi/20161219.063905 accepted/tizen/3.0/mobile/20161219.063850 accepted/tizen/3.0/tv/20161219.063913 accepted/tizen/3.0/wearable/20161219.063835 submit/tizen_3.0/20161214.111143
greatim [Wed, 14 Dec 2016 08:28:38 +0000 (17:28 +0900)]
fix potential bugs

remove unnecessary files and code (properties.h and properties.c)
fix double close problem of socket pair in file_sync_service.c
remove unnecessary manifest file

Change-Id: Ic61ca8ffab9e1ee31f3a432acf0e9c138fc26fbe
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMerge "Revert "Modify the packet size in transport protocol."" into tizen_3.0 accepted/tizen/3.0/common/20161212.161827 accepted/tizen/3.0/ivi/20161212.060845 accepted/tizen/3.0/mobile/20161212.060826 accepted/tizen/3.0/tv/20161212.060834 accepted/tizen/3.0/wearable/20161212.060840 submit/tizen_3.0/20161212.044313
Jaewon Lim [Mon, 12 Dec 2016 04:41:19 +0000 (20:41 -0800)]
Merge "Revert "Modify the packet size in transport protocol."" into tizen_3.0

8 years agoMerge "Revert "Modify the SMACK label for SDB shell."" into tizen_3.0
Jaewon Lim [Mon, 12 Dec 2016 04:41:14 +0000 (20:41 -0800)]
Merge "Revert "Modify the SMACK label for SDB shell."" into tizen_3.0

8 years agoRevert "Modify the SMACK label for SDB shell." 84/103984/1
Jaewon Lim [Mon, 12 Dec 2016 04:32:40 +0000 (20:32 -0800)]
Revert "Modify the SMACK label for SDB shell."

This reverts commit 046f23e7ea9c15c72de74fc46530c3319bc7622d.

Change-Id: I196d5d4d975e9aec1efd28a39c3f1aaf2a9da6f9

8 years agoRevert "Modify the packet size in transport protocol." 83/103983/1
Jaewon Lim [Mon, 12 Dec 2016 04:32:09 +0000 (20:32 -0800)]
Revert "Modify the packet size in transport protocol."

This reverts commit f7a9e14ff28fdb099abbfba917a2d135e354c080.

Change-Id: I1b6f418aaec7ce07b30e98989841cabb4f01dc1e

8 years agoMerge "Modify the SMACK label for SDB shell." into tizen_3.0 accepted/tizen/3.0/common/20161209.161330 accepted/tizen/3.0/ivi/20161209.105646 accepted/tizen/3.0/mobile/20161209.105626 accepted/tizen/3.0/tv/20161209.105639 accepted/tizen/3.0/wearable/20161209.105642 submit/tizen_3.0/20161209.093104
Sangjin Kim [Fri, 9 Dec 2016 09:29:35 +0000 (01:29 -0800)]
Merge "Modify the SMACK label for SDB shell." into tizen_3.0

8 years agoModify the SMACK label for SDB shell. 63/96263/3
Kim Gunsoo [Thu, 6 Oct 2016 12:12:34 +0000 (21:12 +0900)]
Modify the SMACK label for SDB shell.

- Previously, there was a problem that the SDB shell
  has the SMACK authority of sdbd.
  In order to prevent this, it has been modified to run
  a separate SMACK label between sdbd and SDB shell.

Change-Id: I768ef0b165cf66fe88648cc272638819c4bd96fe
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoMerge "Modify the packet size in transport protocol." into tizen_3.0
Sangjin Kim [Fri, 9 Dec 2016 06:01:15 +0000 (22:01 -0800)]
Merge "Modify the packet size in transport protocol." into tizen_3.0

8 years agoModify the packet size in transport protocol. 85/100485/7
Kim Gunsoo [Wed, 9 Dec 2015 04:59:27 +0000 (13:59 +0900)]
Modify the packet size in transport protocol.

- increase the transport packet size. (4KB -> 256KB)
- read USB transport packet as 4KB block repeatedly

Change-Id: I949ff050e51b907523922104bd5683b1132f2b2c
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agofix potential bugs 63/103063/1 accepted/tizen/3.0/common/20161207.195648 accepted/tizen/3.0/ivi/20161207.135606 accepted/tizen/3.0/mobile/20161207.135556 accepted/tizen/3.0/tv/20161207.135421 accepted/tizen/3.0/wearable/20161207.135744 submit/tizen_3.0/20161207.080751
greatim [Wed, 7 Dec 2016 06:46:39 +0000 (15:46 +0900)]
fix potential bugs

fix potential bugs
1. NO_LOCK.STAT for errno in log.h
2. NULL_AFTER_DEREF by asprintf

Change-Id: I3470fd2d8d0b86c3417add3657a38b45d1222626
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agodisable printing log in emulator by default 54/102054/1 accepted/tizen/3.0/common/20161206.125549 accepted/tizen/3.0/ivi/20161205.235356 accepted/tizen/3.0/mobile/20161205.235304 accepted/tizen/3.0/tv/20161205.235321 accepted/tizen/3.0/wearable/20161205.235338 submit/tizen_3.0/20161205.082223
greatim [Mon, 5 Dec 2016 01:13:14 +0000 (10:13 +0900)]
disable printing log in emulator by default

disable printing log in emulator by default

Change-Id: I88ad00f7824b055847e0dcb8d580675334e12d7b
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agofix a bug (free the static buffer) 46/101646/1
greatim [Fri, 2 Dec 2016 00:30:15 +0000 (09:30 +0900)]
fix a bug (free the static buffer)

fix a bug (free the static buffer)

Change-Id: If31caa5c8ff36ae7658bb33daa1df07e20f053be
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agomodify default app command behavior for uninstall command 49/101049/1 accepted/tizen/3.0/common/20161130.133819 accepted/tizen/3.0/ivi/20161130.092433 accepted/tizen/3.0/mobile/20161130.092341 accepted/tizen/3.0/tv/20161130.092400 accepted/tizen/3.0/wearable/20161130.092419 submit/tizen_3.0/20161130.075858
greatim [Wed, 30 Nov 2016 07:22:59 +0000 (16:22 +0900)]
modify default app command behavior for uninstall command

modify default app command behavior for uninstall command

Change-Id: I8acbd3761af9672f6d51a2f94330bfe3509938da
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agofix a bug that cause dynamic overflow 07/101007/1
greatim [Wed, 30 Nov 2016 05:30:22 +0000 (14:30 +0900)]
fix a bug that cause dynamic overflow

fix a bug that cause dynamic overflow

Change-Id: I1cf2159915442a98257e06948bcb193886ccb547
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agorefactor calling encryption functions of plugin 01/100101/1 accepted/tizen/3.0/common/20161129.102835 accepted/tizen/3.0/ivi/20161129.001726 accepted/tizen/3.0/mobile/20161129.001637 accepted/tizen/3.0/tv/20161129.001656 accepted/tizen/3.0/wearable/20161129.001709 submit/tizen_3.0/20161128.031728
greatim [Fri, 25 Nov 2016 06:33:00 +0000 (15:33 +0900)]
refactor calling encryption functions of plugin

modify the implementation of encryption function according to new plugin architecture

Change-Id: I62c142b5bf95fe7c4d8529c9272213274883b0a5
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agofix to add null-termination character when copy string by strncpy 89/98289/1
greatim [Thu, 17 Nov 2016 02:45:32 +0000 (11:45 +0900)]
fix to add null-termination character when copy string by strncpy

fix to add null-termination character when copy string by strncpy

Change-Id: Icad071a0f17a0f1e8aff893cefd343ba12e2dd66
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoFix the bug that a shell command buffer is not initialized 07/98207/2 accepted/tizen/3.0/common/20161116.144216 accepted/tizen/3.0/ivi/20161116.123359 accepted/tizen/3.0/mobile/20161116.123306 accepted/tizen/3.0/tv/20161116.123325 accepted/tizen/3.0/wearable/20161116.123342 submit/tizen_3.0/20161116.112743
SangJin Kim [Wed, 16 Nov 2016 11:17:23 +0000 (20:17 +0900)]
Fix the bug that a shell command buffer is not initialized

Change-Id: Ib295d3c8a4782d71add779c659e9c4a99dda6304
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoFixed SVACE issue 76/97076/2 accepted/tizen/3.0/common/20161116.144052 accepted/tizen/3.0/ivi/20161116.023507 accepted/tizen/3.0/mobile/20161116.023434 accepted/tizen/3.0/tv/20161116.023452 accepted/tizen/3.0/wearable/20161116.023459 submit/tizen_3.0/20161115.065311
greatim [Fri, 11 Nov 2016 06:10:54 +0000 (15:10 +0900)]
Fixed SVACE issue

Fixed SVACE issue

Change-Id: Ia5f7ee4c56ae82702809ff0d69eb229594647a1f
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agofix a bug that sdb shell command over 128 byte is cut 47/96847/1 submit/tizen_3.0/20161111.022600
greatim [Thu, 10 Nov 2016 10:56:19 +0000 (19:56 +0900)]
fix a bug that sdb shell command over 128 byte is cut

modify string buffer size of parameter for plugin invocation

Change-Id: Ia3925eca3d444bf4b1c66c7c6c9827225ea90294
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoRevert "Revert "add data encryption feature"" 96/96696/2
Jaewon Lim [Thu, 10 Nov 2016 01:52:50 +0000 (17:52 -0800)]
Revert "Revert "add data encryption feature""

This reverts commit e5cb6422d20125dc1896e7d8838c6e7e8b77ab86.

Change-Id: I9d806afef3826e7c7f40b613bd6b4dd06064b2e8

8 years agoRevert "Revert "Merge plugin improvement commit"" 95/96695/2
Jaewon Lim [Thu, 10 Nov 2016 01:52:39 +0000 (17:52 -0800)]
Revert "Revert "Merge plugin improvement commit""

This reverts commit 84bfce8dd67d9d74febaf5ef3c0fe0cd6ec16382.

Change-Id: I7d5ca566b67230ca712ec276f74ad2115b66e2ca

8 years agoRevert "Revert "modify default plugin's behavior by emulator"" 94/96694/2
Jaewon Lim [Thu, 10 Nov 2016 01:52:19 +0000 (17:52 -0800)]
Revert "Revert "modify default plugin's behavior by emulator""

This reverts commit b94610b00ff7573e1f16c8f08cc92d11d88d080a.

Change-Id: I8d4d37517c8cd13a6a8e763a68a5f1ccd19038bd

8 years agoRevert "Revert "Add the appcmd protocol for product extended routine."" 93/96693/2
Jaewon Lim [Thu, 10 Nov 2016 01:51:19 +0000 (17:51 -0800)]
Revert "Revert "Add the appcmd protocol for product extended routine.""

This reverts commit 49a0a10876e193945a71849f0519b19883f4752a.

Change-Id: If226fb2f2118877976170d80406b53f318344e89

8 years agoRevert "Revert "improve plugin architecture"" 91/96691/1
Jaewon Lim [Thu, 10 Nov 2016 01:47:42 +0000 (17:47 -0800)]
Revert "Revert "improve plugin architecture""

This reverts commit eb26b877fe2db374ffa875bbb1e6c1cf19921c86.

Change-Id: Id98f5e6d21f4f96bc3ffb4ca6ae928ea07232b04

8 years agoRevert "improve plugin architecture" 23/96623/2 accepted/tizen/3.0/ivi/20161109.124804 accepted/tizen/3.0/mobile/20161109.124753 accepted/tizen/3.0/tv/20161109.124757 accepted/tizen/3.0/wearable/20161109.124800 submit/tizen_3.0/20161109.120925
Sangjin Kim [Wed, 9 Nov 2016 12:04:31 +0000 (04:04 -0800)]
Revert "improve plugin architecture"

This reverts commit 4290e4be7477c1bfec81607cd17c3907c5b315c6.

Change-Id: I52177f71b9dfb5ac50c77c93b0a94feb203fef04

8 years agoRevert "Add the appcmd protocol for product extended routine." 22/96622/2
Sangjin Kim [Wed, 9 Nov 2016 12:04:17 +0000 (04:04 -0800)]
Revert "Add the appcmd protocol for product extended routine."

This reverts commit e30355d93562b2edc8ad596149ccf3aa7140a906.

Change-Id: I244670cbf42d885f1626db1a7fe2a51251e0eb61

8 years agoRevert "modify default plugin's behavior by emulator" 21/96621/2
Sangjin Kim [Wed, 9 Nov 2016 12:04:07 +0000 (04:04 -0800)]
Revert "modify default plugin's behavior by emulator"

This reverts commit a430ea553950d5a9910cc051c3171da852607c03.

Change-Id: I23c07c65ac71009a9e48a60b3e6e9f1f4586fe96

8 years agoRevert "Merge plugin improvement commit" 20/96620/2
Sangjin Kim [Wed, 9 Nov 2016 12:03:55 +0000 (04:03 -0800)]
Revert "Merge plugin improvement commit"

This reverts commit 97f2d53e382e658536c6e38073f695812b57af38.

Change-Id: I71c2fbae3f8c3f439304ab51224fdb3daecbdb0e

8 years agoRevert "add data encryption feature" 19/96619/1
Sangjin Kim [Wed, 9 Nov 2016 12:03:41 +0000 (04:03 -0800)]
Revert "add data encryption feature"

This reverts commit 89745858c0ca69210ece6e794d980fc7bfc51f96.

Change-Id: Id0fb6cab639e885c802fd956de1bdab820cc8d47

8 years agoadd data encryption feature 33/95433/2 accepted/tizen/3.0/ivi/20161109.025318 accepted/tizen/3.0/mobile/20161109.025219 accepted/tizen/3.0/tv/20161109.025240 accepted/tizen/3.0/wearable/20161109.025257 submit/tizen_3.0/20161108.033051
greatim [Thu, 3 Nov 2016 08:17:55 +0000 (17:17 +0900)]
add data encryption feature

add data encryption feature
 - encryption on / off for each device
 - encryption message handshaking
 - encryption module

Change-Id: I89337af9d9a5bc6fac45401f962392491b3e43ae
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMerge plugin improvement commit 57/95757/1 accepted/tizen/3.0/ivi/20161108.061900 accepted/tizen/3.0/mobile/20161108.061805 accepted/tizen/3.0/tv/20161108.061822 accepted/tizen/3.0/wearable/20161108.061842 submit/tizen_3.0/20161107.030727
greatim [Fri, 4 Nov 2016 11:52:51 +0000 (20:52 +0900)]
Merge plugin improvement commit

Merge plugin improvement commit

Change-Id: Ic0e4f94dd9874a5cea4885a5fda7ff0de2441388
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agomodify default plugin's behavior by emulator 56/95756/1
greatim [Thu, 8 Sep 2016 09:15:43 +0000 (18:15 +0900)]
modify default plugin's behavior by emulator

modify default plugin's behavior by emulator
add more debugging log

Change-Id: I2d5fdd4c5a56f63113dc2d34622afcdc2eacb345
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoAdd the appcmd protocol for product extended routine. 55/95755/1
Kim Gunsoo [Wed, 4 May 2016 04:33:23 +0000 (13:33 +0900)]
Add the appcmd protocol for product extended routine.

- In order to reduce the platform-dependent implementation,
  it is added to appcmd protocol that is a product extension structure.

Conflicts:
src/sdb.c

Change-Id: I5ad12f8f3db0afdb588dbcaf49f98c7390cb794f
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoimprove plugin architecture 54/95754/1
greatim [Fri, 5 Aug 2016 12:35:48 +0000 (21:35 +0900)]
improve plugin architecture

add default_plugin_*.c file for default plugin code
add plugin.c/h file for plugin related code (plugin loading, unloading)
refactoring plugin related codes

Conflicts:
src/sdb.c
src/sdbd_plugin.h
src/transport_local.c

Change-Id: I3cc8858364f0121819c693713aa9772e4c633047
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMerge "add data encryption feature" into tizen
Sangjin Kim [Thu, 3 Nov 2016 08:44:57 +0000 (01:44 -0700)]
Merge "add data encryption feature" into tizen

8 years agoadd data encryption feature 29/95429/1
greatim [Thu, 3 Nov 2016 08:17:55 +0000 (17:17 +0900)]
add data encryption feature

add data encryption feature
 - encryption on / off for each device
 - encryption message handshaking
 - encryption module

Change-Id: I89337af9d9a5bc6fac45401f962392491b3e43ae
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoModify the type reading CPU architecture type from sysinfo. 52/95352/1 accepted/tizen/3.0/ivi/20161103.045329 accepted/tizen/3.0/mobile/20161103.045226 accepted/tizen/3.0/tv/20161103.045250 accepted/tizen/3.0/wearable/20161103.045308 submit/tizen_3.0/20161103.034048
Kim Gunsoo [Thu, 3 Nov 2016 03:23:34 +0000 (12:23 +0900)]
Modify the type reading CPU architecture type from sysinfo.

- To support 64bit CPU architecture, the type reading from
  sysinfo was changed to string.

Change-Id: I88ac5d7ad2e76d4c2a83cb2912fa2db49d3cc809
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoModify the type reading CPU architecture type from sysinfo. 51/95351/1
Kim Gunsoo [Thu, 3 Nov 2016 03:23:34 +0000 (12:23 +0900)]
Modify the type reading CPU architecture type from sysinfo.

- To support 64bit CPU architecture, the type reading from
  sysinfo was changed to string.

Change-Id: I88ac5d7ad2e76d4c2a83cb2912fa2db49d3cc809
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoAdds error handling when a change of user privilege has failed. 49/95349/1 accepted/tizen/3.0/ivi/20161103.045211 accepted/tizen/3.0/mobile/20161103.045109 accepted/tizen/3.0/tv/20161103.045132 accepted/tizen/3.0/wearable/20161103.045150 submit/tizen_3.0/20161103.025701
Kim Gunsoo [Thu, 20 Oct 2016 04:59:50 +0000 (13:59 +0900)]
Adds error handling when a change of user privilege has failed.

- When the authority to change the shell and sync service process
  has failed, add the error handling.

Change-Id: I78a5ee314cad9a881a16dc7817ab6c85e11f0d57
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agomodify spec file to make dev package 48/95348/1
greatim [Thu, 13 Oct 2016 07:30:08 +0000 (16:30 +0900)]
modify spec file to make dev package

To support pkgconfig for sdbd plugin,
modify spec file to make dev package

Change-Id: Ic9095cab424273d1ca3c526a779f5a4c23556abb
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMerge "Adds error handling when a change of user privilege has failed." into tizen
Sangjin Kim [Wed, 2 Nov 2016 05:51:34 +0000 (22:51 -0700)]
Merge "Adds error handling when a change of user privilege has failed." into tizen

8 years agoAdds error handling when a change of user privilege has failed. 23/93023/2
Kim Gunsoo [Thu, 20 Oct 2016 04:59:50 +0000 (13:59 +0900)]
Adds error handling when a change of user privilege has failed.

- When the authority to change the shell and sync service process
  has failed, add the error handling.

Change-Id: I78a5ee314cad9a881a16dc7817ab6c85e11f0d57
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agomodify spec file to make dev package 79/92079/1 accepted/tizen/3.0/common/20161114.112322 accepted/tizen/common/20161021.110942 accepted/tizen/ivi/20161028.150329 accepted/tizen/mobile/20161028.150240 accepted/tizen/tv/20161028.150253 accepted/tizen/wearable/20161028.150310 submit/tizen/20161021.011247 submit/tizen_3.0_common/20161104.104000
greatim [Thu, 13 Oct 2016 07:30:08 +0000 (16:30 +0900)]
modify spec file to make dev package

To support pkgconfig for sdbd plugin,
modify spec file to make dev package

Change-Id: Ic9095cab424273d1ca3c526a779f5a4c23556abb
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoFixed SVACE issue. 23/91323/1 accepted/tizen/3.0/ivi/20161028.151319 accepted/tizen/3.0/mobile/20161028.143214 accepted/tizen/3.0/tv/20161028.143513 accepted/tizen/3.0/wearable/20161028.150822 accepted/tizen/common/20161007.060704 accepted/tizen/ivi/20161007.103840 accepted/tizen/mobile/20161007.103852 accepted/tizen/tv/20161007.103850 accepted/tizen/wearable/20161007.103847 submit/tizen/20161007.054049 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423
Kim Gunsoo [Fri, 7 Oct 2016 04:50:46 +0000 (13:50 +0900)]
Fixed SVACE issue.

- Remove the vulnerable function 'strerror()'.

Change-Id: I6f056b85a6ec55ab7221fd977e6da61558432904
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoMerge "Revert "change umask value to 022 from 000 because of security reason"" into... accepted/tizen/3.0/ivi/20161011.062303 accepted/tizen/3.0/mobile/20161015.034122 accepted/tizen/3.0/tv/20161016.005706 accepted/tizen/3.0/wearable/20161015.084042 accepted/tizen/common/20161004.194430 accepted/tizen/ivi/20161004.232713 accepted/tizen/mobile/20161004.232627 accepted/tizen/tv/20161004.232641 accepted/tizen/wearable/20161004.232656 submit/tizen/20161004.112007 submit/tizen_3.0_ivi/20161010.000006 submit/tizen_3.0_mobile/20161015.000006 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000005
Jaewon Lim [Tue, 4 Oct 2016 11:19:10 +0000 (04:19 -0700)]
Merge "Revert "change umask value to 022 from 000 because of security reason"" into tizen

8 years agoRevert "change umask value to 022 from 000 because of security reason" 44/90844/1
Jaewon Lim [Tue, 4 Oct 2016 11:13:51 +0000 (04:13 -0700)]
Revert "change umask value to 022 from 000 because of security reason"

This reverts commit f17729d36596c1bb347a3ade5d86f6d05bd931e3.

Change-Id: Id9368d876bf0c3cfe068d7e4567dff8b4bec135b

8 years agoMerge "Fix the sdb shell malfunction in ASan build" into tizen accepted/tizen/common/20160930.174859 accepted/tizen/ivi/20160930.233127 accepted/tizen/mobile/20160930.233043 accepted/tizen/tv/20160930.233058 accepted/tizen/wearable/20160930.233117 submit/tizen/20160930.063257
Sangjin Kim [Thu, 29 Sep 2016 07:49:13 +0000 (00:49 -0700)]
Merge "Fix the sdb shell malfunction in ASan build" into tizen

8 years agoMerge "Fixed a buffer underflow which could happen during processing sdb shell comman...
Sangjin Kim [Thu, 29 Sep 2016 07:49:00 +0000 (00:49 -0700)]
Merge "Fixed a buffer underflow which could happen during processing sdb shell command." into tizen

8 years agoMerge "Add KEEP_ALIVE option to the socket connected with sdb server." into tizen
Sangjin Kim [Thu, 29 Sep 2016 07:48:50 +0000 (00:48 -0700)]
Merge "Add KEEP_ALIVE option to the socket connected with sdb server." into tizen

8 years agoMerge "Move variables declarations from header to source" into tizen
Sangjin Kim [Thu, 29 Sep 2016 07:48:33 +0000 (00:48 -0700)]
Merge "Move variables declarations from header to source" into tizen

8 years agoFix the sdb shell malfunction in ASan build 41/89741/2
Slava Barinov [Mon, 26 Sep 2016 15:06:29 +0000 (18:06 +0300)]
Fix the sdb shell malfunction in ASan build

Accordingly to exec(3) manual the envp argument is an array of pointers to
null-terminated strings and must be terminated by a null pointer.

Without the terminator execvp fails and errno is set to 'Bad address'

Change-Id: I00e6927fd62323b7a9bea918cc79b0c4e02d77fd
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
8 years agoAdd KEEP_ALIVE option to the socket connected with sdb server. 31/89831/1
Kim Gunsoo [Fri, 26 Feb 2016 05:41:50 +0000 (14:41 +0900)]
Add KEEP_ALIVE option to the socket connected with sdb server.

- After connected with sdb server through TCP socket, add KEEP_ALIVE
  option to the socket.

Change-Id: I16ff01721dd8f919782c666871053a6e7599ec0e
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed execve EFAULT error on the asan environment. 02/89602/1
Kim Gunsoo [Mon, 26 Sep 2016 06:21:56 +0000 (15:21 +0900)]
Fixed execve EFAULT error on the asan environment.

- the envp array of pointers must be terminated by a NULL pointer.

Change-Id: Ieb64b20c1fdf24aec16ae248faf051889ddb76d4
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed a buffer underflow which could happen during processing sdb shell command. 88/89388/1
shingil.kang [Fri, 23 Sep 2016 08:50:37 +0000 (17:50 +0900)]
Fixed a buffer underflow which could happen during processing sdb shell command.

Change-Id: I0faa48855632d00e18b9e054b4f83e786b24bdd9
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMerge "change umask value to 022 from 000 because of security reason" into tizen
Sangjin Kim [Thu, 22 Sep 2016 08:12:49 +0000 (01:12 -0700)]
Merge "change umask value to 022 from 000 because of security reason" into tizen

8 years agochange umask value to 022 from 000 because of security reason 99/85499/6
greatim [Thu, 25 Aug 2016 11:05:12 +0000 (20:05 +0900)]
change umask value to 022 from 000 because of security reason

change umask value to 022 from 000 because of security reason
add S_IWOTH for pushed file to owner's content directory

Change-Id: Ie0677c4bfa8c494c13ab0ac32cdb730f90d22864
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoAdd the can_launch member to capability structure. 51/86251/1 accepted/tizen/common/20160902.062103 submit/tizen/20160902.053432
Kim Gunsoo [Mon, 23 Nov 2015 06:20:53 +0000 (15:20 +0900)]
Add the can_launch member to capability structure.

- The can_launch member is used to determine whether to
  install/launch an Application for the corresponding platform
  in the IDE.
- To obtain the can_launch information, queries the sdbd plugin.

Change-Id: Ic39cc0dce2267190de2e6052172a6333a1e5882b
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed the build problem for emulator 64 bit architecture. 41/83141/2 accepted/tizen/common/20160809.184159 accepted/tizen/ivi/20160809.232959 accepted/tizen/mobile/20160809.233042 accepted/tizen/tv/20160809.232927 accepted/tizen/wearable/20160809.233024 submit/tizen/20160809.094042
shingil.kang [Tue, 9 Aug 2016 08:49:14 +0000 (17:49 +0900)]
Fixed the build problem for emulator 64 bit architecture.

- modified the way which determines device type (emulator or target)

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