platform/core/system/storaged.git
6 years agoApply Tizen Coding Rule 34/149234/5 accepted/tizen/4.0/unified/20170913.153247 submit/tizen_4.0/20170912.090155
pr.jung [Tue, 12 Sep 2017 02:28:02 +0000 (11:28 +0900)]
Apply Tizen Coding Rule

Change-Id: I8bad9418fc390b46879403fc6bd96dafd51e0991
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoblock: Checking calloc failed 34/148434/2 accepted/tizen/4.0/unified/20170908.222309 submit/tizen_4.0/20170908.052712
pr.jung [Fri, 8 Sep 2017 02:31:33 +0000 (11:31 +0900)]
block: Checking calloc failed

Change-Id: Icad2dd4c3580793d4ce6838210b62df00d7a3c08
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoblock: Create file when sdcard is inserted 86/141086/2 accepted/tizen/4.0/unified/20170816.011942 accepted/tizen/4.0/unified/20170816.015025 accepted/tizen/4.0/unified/20170829.020438 accepted/tizen/unified/20170731.020634 submit/tizen/20170728.063117 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100004 submit/tizen_4.0_unified/20170814.115522
pr.jung [Fri, 28 Jul 2017 06:16:49 +0000 (15:16 +0900)]
block: Create file when sdcard is inserted

Change-Id: Ia430af302ac7df92aa916313c73f3bd4d7fc26a9
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoblock: Check return value of mnt_fs_get_srcpath 67/132867/1 accepted/tizen/unified/20170608.184603 submit/tizen/20170608.051314
pr.jung [Thu, 8 Jun 2017 04:58:59 +0000 (13:58 +0900)]
block: Check return value of mnt_fs_get_srcpath

Change-Id: Ib5f35b3a5a0a8eba50d4add92fed9e65c6148b74
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoblock: Prevent buffer overflow 63/132663/1
pr.jung [Wed, 7 Jun 2017 06:00:15 +0000 (15:00 +0900)]
block: Prevent buffer overflow

- Specify a limit on the input string length
when using s with '%' format specifies for scanf-like functions

Change-Id: I7406565b9d834763784ff8c18bdd9cf31119536d
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Change sizeof to strlen to get length of devnode 43/127043/1 accepted/tizen/unified/20170426.195755 submit/tizen/20170426.042525 tizen_4.0.m1_release
pr.jung [Wed, 26 Apr 2017 02:49:07 +0000 (11:49 +0900)]
block: Change sizeof to strlen to get length of devnode

Change-Id: I0af1a7e100917f873c128af63f6796aef217059f
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock, storage: Recevie StartupFinished signal instead of BootingDone signal 36/126536/1 accepted/tizen/unified/20170425.044934 submit/tizen/20170424.085953
pr.jung [Mon, 24 Apr 2017 05:50:51 +0000 (14:50 +0900)]
block, storage: Recevie StartupFinished signal instead of BootingDone signal

- Systemd sends StartupFinished signal when system session is ready.
- Receive StartupFinished(systemd) signal instaed of BootingDone(deviced) signal.

Change-Id: I4f31c437f2dbe5811a20d6ba38407b95bc78fb6f
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Add ExtendedInternalStorage configuration 36/123536/5 accepted/tizen/unified/20170413.162741 submit/tizen/20170413.022542
pr.jung [Thu, 6 Apr 2017 04:40:52 +0000 (13:40 +0900)]
block: Add ExtendedInternalStorage configuration

- When sdcard is inserted, user needs to choose which way to use.
(External storage or extended internal storage)
- BLOCK_MMC_EXTENDED_INTERNAL_DEV is added on block_device_type

Change-Id: I33e200a74ce16d7b74eb498d0e8ccad15a9a8e8b
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agomodule : change the plugin path according to the library of arch. 25/124625/1 accepted/tizen/unified/20170412.152524 submit/tizen/20170412.041900
wchang kim [Wed, 12 Apr 2017 04:05:52 +0000 (13:05 +0900)]
module : change the plugin path according to the library of arch.

Change-Id: Ib2bfd2842aab2677e39efddd6a014c757ba1e34a

7 years agocommon: Not handle missing method 89/124389/3
pr.jung [Tue, 11 Apr 2017 08:08:23 +0000 (17:08 +0900)]
common: Not handle missing method

- If there is method call with not implemented method,
it is not handled and return DBUS_HANDLER_RESULT_NOT_YET_HANDLED

Change-Id: I46e24e2a71e7b29f589705ac7a5439b8c7c6e755
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agocommon: Do not warn about uses of functions, variables, and types marked as deprecate... 91/124591/1
pr.jung [Wed, 12 Apr 2017 01:34:57 +0000 (10:34 +0900)]
common: Do not warn about uses of functions, variables, and types marked as deprecated by using the deprecated attribute.

Change-Id: Ic026783cad4b571d7bd02790a28ae93cc734c7c1
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Should not free block device when add mount operation is failed 82/124382/1
pr.jung [Tue, 11 Apr 2017 07:34:04 +0000 (16:34 +0900)]
block: Should not free block device when add mount operation is failed

- Add insert operation is succeed, so if main thread free block device,
then block thread can't use block device

Change-Id: Ia37923a433b3f62f4c584df1390bdd18241d2c3d
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agocommon: Remove readdir 84/124184/4 accepted/tizen/unified/20170411.164111 submit/tizen/20170411.050818
pr.jung [Mon, 10 Apr 2017 11:25:32 +0000 (20:25 +0900)]
common: Remove readdir

- readdir makes no guarantee of thread safety
- Use readdir_r instead

Change-Id: I0a5c3e6bcabe1ef76291a58dd756a99a5a4a95d0
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoMerge "common: Increase refcount for DBusMessage" into tizen accepted/tizen/unified/20170407.190717 submit/tizen/20170407.050303
pr.jung [Fri, 7 Apr 2017 05:01:17 +0000 (22:01 -0700)]
Merge "common: Increase refcount for DBusMessage" into tizen

7 years agocommon: Increase refcount for DBusMessage 93/123793/1
pr.jung [Fri, 7 Apr 2017 04:33:22 +0000 (13:33 +0900)]
common: Increase refcount for DBusMessage

- DBusMessage should not be freed when result is null
- Refcount is decreased on reply_dbus_method_result

Change-Id: I712790950f42514377e9d39deecb0388e784b0c7
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Storaged needs to check repeated Add uevent 96/123596/1
pr.jung [Thu, 6 Apr 2017 07:42:17 +0000 (16:42 +0900)]
block: Storaged needs to check repeated Add uevent

Change-Id: Ia0f29e164ede7c5ad917e7c49145b9225f0c63c3
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Do not handle repeated uevent. 06/122806/1
pr.jung [Wed, 29 Mar 2017 01:37:40 +0000 (10:37 +0900)]
block: Do not handle repeated uevent.

- Check devnode is already handled.

Change-Id: I754f3192037fc3887a332770f6dbf8d5bfc3236b
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoCreate initial commit 92/118392/13 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190742 accepted/tizen/ivi/20170403.130344 accepted/tizen/mobile/20170403.130241 accepted/tizen/tv/20170403.130316 accepted/tizen/unified/20170403.130359 accepted/tizen/wearable/20170403.130328 submit/tizen/20170403.054337
pr.jung [Fri, 10 Mar 2017 07:25:33 +0000 (16:25 +0900)]
Create initial commit

Change-Id: I8a3f42cc179eb266a502dbf1c756a32a64b91f79
Signed-off-by: pr.jung <pr.jung@samsung.com>
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Wed, 8 Feb 2017 01:50:22 +0000 (17:50 -0800)]
Initial empty repository