sdk/target/sdbd.git
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>
8 years agoMerge "Checks whether socket transport is duplicated." into tizen accepted/tizen/common/20160805.130400 accepted/tizen/ivi/20160809.062635 accepted/tizen/mobile/20160809.062540 accepted/tizen/tv/20160809.062557 accepted/tizen/wearable/20160809.062610 submit/tizen/20160805.091154
Sangjin Kim [Fri, 5 Aug 2016 08:26:23 +0000 (01:26 -0700)]
Merge "Checks whether socket transport is duplicated." into tizen

8 years agoMerge "Added 'environment_variables' capability" into tizen
Sangjin Kim [Thu, 4 Aug 2016 09:41:13 +0000 (02:41 -0700)]
Merge "Added 'environment_variables' capability" into tizen

8 years agoChecks whether socket transport is duplicated. 97/82397/1
Kim Gunsoo [Mon, 11 Jan 2016 04:39:14 +0000 (13:39 +0900)]
Checks whether socket transport is duplicated.

- When connecting with sdb server, to prevent abnormal
  connection request the check routine is added.

Change-Id: Ifd59f87f826dba442aa5af08145a5dcab9fd61c8
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoMerge "Removed that debug-launchpad is started or stopped by sdbd" into tizen
Sangjin Kim [Tue, 2 Aug 2016 09:04:22 +0000 (02:04 -0700)]
Merge "Removed that debug-launchpad is started or stopped by sdbd" into tizen

8 years agoAdded 'environment_variables' capability 37/81937/7
shingil.kang [Fri, 29 Jul 2016 09:44:24 +0000 (18:44 +0900)]
Added 'environment_variables' capability

- Environment variables are applied to sdb shell process environment.
- Each environment variable should be separated by new line character('\n').
  e.g.) A=B\nC=D
- The length of environment string should be less than 4096 byte.
- The total number of environment variables should be less than 100.

Change-Id: If5b52217b364ecf45eb88f0d8d3644cec40d3d30
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoget valgrind binary path from platform configuration 94/81594/1 accepted/tizen/common/20160727.150850 accepted/tizen/ivi/20160727.102910 accepted/tizen/mobile/20160727.102737 accepted/tizen/tv/20160727.102800 accepted/tizen/wearable/20160727.102844 submit/tizen/20160727.080653
woojin [Wed, 27 Jul 2016 07:54:46 +0000 (16:54 +0900)]
get valgrind binary path from platform configuration

get valgrind binary path from /etc/tizen-platform.conf so that valgrind terminates normally

Change-Id: I7f88c193cd32a7c347122ce053851eb04b64d1b4
Signed-off-by: woojin <woojin2.jung@samsung.com>
8 years agoRemoved that debug-launchpad is started or stopped by sdbd 80/81280/1
shingil.kang [Mon, 25 Jul 2016 07:56:52 +0000 (16:56 +0900)]
Removed that debug-launchpad is started or stopped by sdbd

Change-Id: Id6aa4c6d6fee7976b929c33d4b1b4ede0647dff1
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoSet SmackProcessLabel to System::Privileged 16/80916/1 develop_plugin accepted/tizen/common/20160721.175710 accepted/tizen/ivi/20160721.090736 accepted/tizen/mobile/20160721.090434 accepted/tizen/tv/20160721.091257 accepted/tizen/wearable/20160721.090946 submit/tizen/20160721.003054
Yunjin Lee [Thu, 21 Jul 2016 01:48:07 +0000 (10:48 +0900)]
Set SmackProcessLabel to System::Privileged

Change-Id: I2420fc1d679607bd2d9b855ec9547a31ee98290e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoFixed build warnings 47/78347/2 accepted/tizen/common/20160706.142222 accepted/tizen/ivi/20160706.082640 accepted/tizen/mobile/20160706.082546 accepted/tizen/tv/20160706.082543 accepted/tizen/wearable/20160706.082551 submit/tizen/20160706.032536
shingil.kang [Tue, 5 Jul 2016 07:22:51 +0000 (16:22 +0900)]
Fixed build warnings

Change-Id: I45ea4e8e5321e2d0ebe9dc1e6dc5d7ffe76b48f4
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoAdd PATH environment variable definition into script file 85/77585/1 accepted/tizen/common/20160630.152213 accepted/tizen/ivi/20160701.033516 accepted/tizen/mobile/20160701.033605 accepted/tizen/tv/20160701.033356 accepted/tizen/wearable/20160701.033512 submit/tizen/20160630.085631
greatim [Thu, 30 Jun 2016 08:25:07 +0000 (17:25 +0900)]
Add PATH environment variable definition into script file

- To prevent security attack, add PATH environmeent variable into shell script file

Change-Id: I58610f40d1d3d8af5de0ad55b1a037e5ef99b02b
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoDeletes the files that have not been used. 50/76950/2 accepted/tizen/common/20160629.223307 accepted/tizen/ivi/20160630.003550 accepted/tizen/mobile/20160630.003536 accepted/tizen/tv/20160630.003525 accepted/tizen/wearable/20160630.003645 submit/tizen/20160629.093618
Kim Gunsoo [Tue, 28 Jun 2016 05:54:54 +0000 (14:54 +0900)]
Deletes the files that have not been used.

- It erased the files of sdb server code and features
  that are not currently in use.

Change-Id: I626ccee4da7d98d85646d56f798dc089ccce2dd6
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed codes which may occur potential bugs. 27/75727/4 accepted/tizen/common/20160627.192304 accepted/tizen/ivi/20160628.014957 accepted/tizen/mobile/20160628.015021 accepted/tizen/tv/20160628.014932 accepted/tizen/wearable/20160628.015019 submit/tizen/20160627.120129
shingil.kang [Tue, 21 Jun 2016 06:47:18 +0000 (15:47 +0900)]
Fixed codes which may occur potential bugs.

- check null pointer
- fix double close

Change-Id: I7baacb4d01d74a883ef969e43a14035ee89307a1
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoDisabled OOM killing for SDBD process on TV profile 75/74875/2 accepted/tizen/common/20160616.151856 accepted/tizen/ivi/20160617.081610 accepted/tizen/mobile/20160617.081208 accepted/tizen/tv/20160617.081318 accepted/tizen/wearable/20160617.081356 submit/tizen/20160616.053644
shingil.kang [Thu, 16 Jun 2016 02:57:30 +0000 (11:57 +0900)]
Disabled OOM killing for SDBD process on TV profile

Change-Id: I721285019b58a7f2d1004bac25c52606aa3d3738
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoAdded capabilities ralated to sdbd log 49/74449/6 accepted/tizen/common/20160614.144255 accepted/tizen/ivi/20160615.001600 accepted/tizen/mobile/20160615.001653 accepted/tizen/tv/20160615.001643 accepted/tizen/wearable/20160615.001639 submit/tizen/20160614.101413
shingil.kang [Tue, 14 Jun 2016 08:13:22 +0000 (17:13 +0900)]
Added capabilities ralated to sdbd log

- sdbd_log_enable : enable or disable sdbd log
- sdbd_log_path : the folder location of sdbd log

Change-Id: I52b91ba2242536474fe6b6f0e34dd48ddebc8a50
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoRemove unnecessary smack label for running sdbd. 28/74228/2 accepted/tizen/common/20160613.144932 accepted/tizen/ivi/20160613.123735 accepted/tizen/mobile/20160613.123836 accepted/tizen/tv/20160613.123730 accepted/tizen/wearable/20160613.123819 submit/tizen/20160613.092833
Kim Gunsoo [Mon, 13 Jun 2016 09:04:58 +0000 (18:04 +0900)]
Remove unnecessary smack label for running sdbd.

- The label(User) of the running sdbd no longer needed.

Change-Id: I6b4918d332e73d6db71a584c6a1d37906b8f6a8d
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoReturns error code when it fails to get the value of tzplatform envrionment variable. 34/73934/3 accepted/tizen/common/20160610.183510 accepted/tizen/ivi/20160613.022107 accepted/tizen/mobile/20160613.022130 accepted/tizen/tv/20160613.022036 accepted/tizen/wearable/20160613.022053 submit/tizen/20160610.110149
shingil.kang [Fri, 10 Jun 2016 05:58:36 +0000 (14:58 +0900)]
Returns error code when it fails to get the value of tzplatform envrionment variable.

- return 0 when succeeded
- return 1 when error is occured while getting the value of tzplatform environment variable.
- return 2 when tzplatform environment variable is not valid.

Change-Id: Ie4530148c43d757f69a3e8457777cbf25cb4dc3d
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMerge "Added the new protocol to get the value of environment variable." into tizen accepted/tizen/common/20160609.150219 accepted/tizen/ivi/20160609.091817 accepted/tizen/mobile/20160609.092020 accepted/tizen/tv/20160609.091800 accepted/tizen/wearable/20160609.091815 submit/tizen/20160609.041647
Sangjin Kim [Wed, 8 Jun 2016 10:10:20 +0000 (03:10 -0700)]
Merge "Added the new protocol to get the value of environment variable." into tizen

8 years agoMerge "Get the path where crash file is generated by using TZ_SYS_CRASH environment...
Sangjin Kim [Wed, 8 Jun 2016 08:16:19 +0000 (01:16 -0700)]
Merge "Get the path where crash file is generated by using TZ_SYS_CRASH environment variable." into tizen

8 years agoAdded the new protocol to get the value of environment variable. 51/73251/5
shingil.kang [Tue, 7 Jun 2016 09:16:57 +0000 (18:16 +0900)]
Added the new protocol to get the value of environment variable.

- 'env:{environment_variable}' prototol is used to get the value of {environment_variable}

Change-Id: Ie96c2318665c45950c7c17d156da378b62b1ea1e
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoGet the path where crash file is generated by using TZ_SYS_CRASH environment variable. 48/73248/1
shingil.kang [Tue, 7 Jun 2016 09:08:36 +0000 (18:08 +0900)]
Get the path where crash file is generated by using TZ_SYS_CRASH environment variable.

Change-Id: I954a722b617b90ed8741b6080ed7fa1d20365ee0
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoRevert "Modify modules that need root permission." 47/72247/2 accepted/tizen/common/20160531.143632 accepted/tizen/ivi/20160531.094945 accepted/tizen/mobile/20160531.094853 accepted/tizen/tv/20160531.094909 accepted/tizen/wearable/20160531.094927 submit/tizen/20160531.084327
Sangjin Kim [Tue, 31 May 2016 08:39:53 +0000 (01:39 -0700)]
Revert "Modify modules that need root permission."

This reverts commit c0cc4c69e65107bb2b0f955c2589ca53551c6940.

Change-Id: I669f55ba15c9757ef34e5c041b85585633d3a0e8

8 years agoMerge "Revert "sdb: change group and owner of sdb device node"" into tizen
Sangjin Kim [Tue, 31 May 2016 08:40:44 +0000 (01:40 -0700)]
Merge "Revert "sdb: change group and owner of sdb device node"" into tizen

8 years agoRevert "sdb: change group and owner of sdb device node" 49/72249/1
Sangjin Kim [Tue, 31 May 2016 08:40:09 +0000 (01:40 -0700)]
Revert "sdb: change group and owner of sdb device node"

This reverts commit 935e0b600c01ef6c81e22053453fe32e2c53995c.

Change-Id: I4d6b1fcf839d8b4e222a1c50f2267bb03b7f8e23

8 years agoMove variables declarations from header to source 81/72081/1
Slava Barinov [Mon, 30 May 2016 11:25:24 +0000 (14:25 +0300)]
Move variables declarations from header to source

This prevents 'multiple definition' error when building with -fno-common this is
used in Address Sanitizer builds.

Change-Id: I0004622648c6e442bfed36f7aa14405b858d995b
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
8 years agoMerge "sdb: change group and owner of sdb device node" into tizen accepted/tizen/common/20160530.132053 accepted/tizen/ivi/20160531.002023 accepted/tizen/mobile/20160531.001930 accepted/tizen/tv/20160531.001948 accepted/tizen/wearable/20160531.002007 submit/tizen/20160530.044428
Sangjin Kim [Mon, 30 May 2016 04:41:16 +0000 (21:41 -0700)]
Merge "sdb: change group and owner of sdb device node" into tizen

8 years agoMerge "Modify modules that need root permission." into tizen
Sangjin Kim [Mon, 30 May 2016 04:41:05 +0000 (21:41 -0700)]
Merge "Modify modules that need root permission." into tizen

8 years agosdb: change group and owner of sdb device node 93/71593/2
Taeyoung Kim [Thu, 26 May 2016 05:27:32 +0000 (14:27 +0900)]
sdb: change group and owner of sdb device node

- The owner and group of sdbd are changed from "root "to "sdk".
  Thus the udev rule is changed for it.

- Previous:
    bash-3.2# ls -alZ /dev/samsung_sdb
    crw------- 1 root root * 10, 15 Jan  1 23:41 /dev/samsung_sdb
    bash-3.2#

- Now:
    bash-3.2# ls -alZ /dev/samsung_sdb
    crw-rw---- 1 sdk sdk * 10, 15 Jan  2 04:09 /dev/samsung_sdb
    bash-3.2#

Change-Id: Ifef41987d391bc544cd8792fc21458624306ce29
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoAdded sdbd service to emulator_preinit.target 24/71624/2 accepted/tizen/common/20160526.150426 submit/tizen/20160526.083749
shingil.kang [Thu, 26 May 2016 08:11:31 +0000 (17:11 +0900)]
Added sdbd service to emulator_preinit.target

- Sdbd needs to be booted early for debugging.
- Moved the target of sdbd service to emulator_preinit.target from emulator.target

Change-Id: I55708052dd8b831684a0a83139935cd14e96af98
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixed SVACE issue. 03/71303/3 accepted/tizen/common/20160525.155943 accepted/tizen/ivi/20160525.062421 accepted/tizen/mobile/20160525.062423 accepted/tizen/tv/20160525.062416 accepted/tizen/wearable/20160525.062419 submit/tizen/20160525.042838
Kim Gunsoo [Wed, 25 May 2016 04:18:15 +0000 (13:18 +0900)]
Fixed SVACE issue.

- Invalid function definition.

Change-Id: I9b3367185add114459359d25422985ab9599d4c7
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoModify modules that need root permission. 73/67573/5
shingil.kang [Wed, 27 Apr 2016 08:43:11 +0000 (17:43 +0900)]
Modify modules that need root permission.

- Removed to permit root permission for push/pull(unitest, codecoverage, DA)
- Changed uid/gid of SDBD into sdk

Change-Id: Idd874377159afa3d387c9abb59aada2a9d34dbc3
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoChange the routine for determining whether the emulator or device. 93/69693/1 accepted/tizen/common/20160523.144043 accepted/tizen/ivi/20160523.102917 accepted/tizen/mobile/20160523.102905 accepted/tizen/tv/20160523.102823 accepted/tizen/wearable/20160523.102900 submit/tizen/20160523.052434
Kim Gunsoo [Mon, 18 Apr 2016 04:21:57 +0000 (13:21 +0900)]
Change the routine for determining whether the emulator or device.

- Determined to look at kernel parameters that includes the vm_name
  in case of emulator.

Change-Id: I06734a63eb3afcb9b9638bc1044275e5291fc5eb
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoAdded to check validation of pointer 00/68900/5 accepted/tizen/common/20160511.142321 accepted/tizen/ivi/20160512.050950 accepted/tizen/mobile/20160512.051025 accepted/tizen/tv/20160512.050937 accepted/tizen/wearable/20160512.050954 submit/tizen/20160511.083354
yoonki.park [Tue, 10 May 2016 08:37:32 +0000 (17:37 +0900)]
Added to check validation of pointer

- If packet pointer has invalid address then restart SDBD.

Change-Id: Ieff9343bba35dcfe5122c18ddea60eec615bac76
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMerge "Modify the sdk groups routine for sdb shell/sync service." into tizen accepted/tizen/common/20160504.131017 accepted/tizen/ivi/20160504.115336 accepted/tizen/mobile/20160504.115247 accepted/tizen/tv/20160504.115135 accepted/tizen/wearable/20160504.115256 submit/tizen/20160504.093037
Yoonki Park [Wed, 4 May 2016 09:29:49 +0000 (02:29 -0700)]
Merge "Modify the sdk groups routine for sdb shell/sync service." into tizen

8 years agoModify the sdk groups routine for sdb shell/sync service. 11/67511/2
Kim Gunsoo [Wed, 27 Apr 2016 05:51:55 +0000 (14:51 +0900)]
Modify the sdk groups routine for sdb shell/sync service.

- Add the groups for sdbd shell/sync default group.
  ("priv_externalstorage", "priv_externalstorage_appdata", "priv_mediastorage")
- Modify the sdk group init routine that receives group infomation
  from platform.

Change-Id: I7273df2e05f65a62953e7e4f6003e3bc928aaae4
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed a bug where sdbd shows incorrect error message 33/67433/2
shingil.kang [Tue, 26 Apr 2016 11:57:37 +0000 (20:57 +0900)]
Fixed a bug where sdbd shows incorrect error message

Change-Id: I1107e20525547327f7f97431c581c647aa6570d9
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixed build warnings. 16/66316/4 accepted/tizen/common/20160425.144951 accepted/tizen/ivi/20160425.093913 accepted/tizen/mobile/20160425.093856 accepted/tizen/tv/20160425.093917 accepted/tizen/wearable/20160425.093909 submit/tizen/20160425.050114
shingil.kang [Mon, 18 Apr 2016 09:17:05 +0000 (18:17 +0900)]
Fixed build warnings.

Change-Id: I1063d7ae01b6b28699cd90d82f9fe88c1737a34a
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoFixed sdk_launch script 38/65438/1 accepted/tizen/common/20160411.130212 accepted/tizen/ivi/20160411.095847 accepted/tizen/mobile/20160411.095813 accepted/tizen/tv/20160411.095827 accepted/tizen/wearable/20160411.095819 submit/tizen/20160411.043849
shingil.kang [Mon, 11 Apr 2016 04:33:49 +0000 (13:33 +0900)]
Fixed sdk_launch script
- Supported multi user feature

Change-Id: I2c092c8ad4f332571353f12f91f50638416dc3f6
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoAdd permission of the log group to sdbd service. 06/64906/5 accepted/tizen/common/20160408.190312 accepted/tizen/ivi/20160411.005356 accepted/tizen/mobile/20160411.005422 accepted/tizen/tv/20160411.005319 accepted/tizen/wearable/20160411.005343 submit/tizen/20160408.100802
Kim Gunsoo [Wed, 6 Apr 2016 06:21:49 +0000 (15:21 +0900)]
Add permission of the log group to sdbd service.

- To obtain permission to run the dlogutil, the log group
  permissions has been granted to sdbd service.

Change-Id: I739a3ab5dfb0b118939e2f809b32fee7d10fee04
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoMISC: package version up(3.0.7) 31/65031/1 accepted/tizen/common/20160407.132426 accepted/tizen/ivi/20160407.110751 accepted/tizen/mobile/20160407.110702 accepted/tizen/tv/20160407.110717 accepted/tizen/wearable/20160407.110733 submit/tizen/20160407.041337
Kim Gunsoo [Thu, 7 Apr 2016 04:10:16 +0000 (13:10 +0900)]
MISC: package version up(3.0.7)

- Add the check routine for multi-user support.
- Add the sdk_toolpath member to sdbd capability.

Change-Id: I7121f8c2c487934e30fbcd3ddddc2092c49742d5
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoAdd the check routine for multi-user support. 53/64853/1
Kim Gunsoo [Tue, 5 Apr 2016 23:40:21 +0000 (08:40 +0900)]
Add the check routine for multi-user support.

- The multi-user support information is obtained
  from tizen-platform-config.

Change-Id: I3ce38d8a0d9070d9a93784918acf7a0746a1094c
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoAdd the sdk_toolpath member to sdbd capability. 98/64598/1
Kim Gunsoo [Mon, 4 Apr 2016 05:36:24 +0000 (14:36 +0900)]
Add the sdk_toolpath member to sdbd capability.

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

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

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

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

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

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

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

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

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

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

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

- Fixed the incorrect version information for profile_command.

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

- Modified to 3.0 from the 4.0.

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

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

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

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

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

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

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

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

- Fixed %changelog not in descending chronological order

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

- add changelog section in RPM spec

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

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

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

- Variable atomicity
- Bad sizeof usage

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

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

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

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

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

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

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

- change to the use of libsmack library.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bug-Tizen: TC-2069

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

Develloper user should be owned by users group

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

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

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

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

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

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

Change-Id: I25624ef73413825d8ffd2c5d36e5aff3385a9f37
Signed-off-by: Alice Liu <alice.liu@intel.com>