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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
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
Sangjin Kim [Wed, 9 Nov 2016 12:04:31 +0000 (04:04 -0800)]
Revert "improve plugin architecture"
This reverts commit
4290e4be7477c1bfec81607cd17c3907c5b315c6.
Change-Id: I52177f71b9dfb5ac50c77c93b0a94feb203fef04
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
Sangjin Kim [Thu, 29 Sep 2016 07:49:13 +0000 (00:49 -0700)]
Merge "Fix the sdb shell malfunction in ASan build" into tizen
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
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
Sangjin Kim [Thu, 29 Sep 2016 07:48:33 +0000 (00:48 -0700)]
Merge "Move variables declarations from header to source" into tizen
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>
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>
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>
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>
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
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>
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>
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>
Sangjin Kim [Fri, 5 Aug 2016 08:26:23 +0000 (01:26 -0700)]
Merge "Checks whether socket transport is duplicated." into tizen
Sangjin Kim [Thu, 4 Aug 2016 09:41:13 +0000 (02:41 -0700)]
Merge "Added 'environment_variables' capability" into tizen
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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
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
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
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>
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
Sangjin Kim [Mon, 30 May 2016 04:41:05 +0000 (21:41 -0700)]
Merge "Modify modules that need root permission." into tizen
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Yoonki Park [Thu, 10 Mar 2016 13:12:39 +0000 (05:12 -0800)]
Merge "Removed hard-coded path to support multi-user." into tizen
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>
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>
Yoonki Park [Wed, 9 Mar 2016 02:38:57 +0000 (18:38 -0800)]
Merge "Fixed sources reported by static code analysis tool." into tizen
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>
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>
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>
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>
Yoonki Park [Wed, 2 Mar 2016 09:00:02 +0000 (01:00 -0800)]
Merge "Fixed an incorrect function call for usb function." into tizen