Change path information to secure log 99/215499/2 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023825 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083637 accepted/tizen/unified/20191011.015340 accepted/tizen/unified/20191014.062517 submit/tizen/20191008.062147 submit/tizen/20191010.061714 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
authorjiyong.min <jiyong.min@samsung.com>
Thu, 10 Oct 2019 00:24:21 +0000 (09:24 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Thu, 10 Oct 2019 01:45:54 +0000 (10:45 +0900)
Change-Id: I9a0691cdbcd3591338b2bff4f11f40f5f0457364

src/common/media-svc-noti.c
src/common/media-svc-util.c [changed mode: 0755->0644]

index 32e46c2..c6b97eb 100755 (executable)
@@ -33,7 +33,7 @@ static int __media_svc_publish_noti_by_item(media_svc_noti_item *noti_item)
        if (noti_item && noti_item->path) {
                ret = media_db_update_send_internal(noti_item->pid, noti_item->update_item, noti_item->update_type, noti_item->path, noti_item->media_uuid, noti_item->media_type, noti_item->mime_type);
                if (ret != MS_MEDIA_ERR_NONE) {
-                       media_svc_error("media_db_update_send_internal failed : %d [%s]", ret, noti_item->path);
+                       media_svc_sec_error("media_db_update_send_internal failed : %d [%s]", ret, noti_item->path);
                        ret = MS_MEDIA_ERR_INTERNAL;
                } else {
                        media_svc_debug("media_db_update_send_internal success");
old mode 100755 (executable)
new mode 100644 (file)
index dc79f08..fc3f052
@@ -577,7 +577,7 @@ static int __media_svc_save_image(unsigned char *image, unsigned int size, char
 {
        int ret = MS_MEDIA_ERR_NONE;
 
-       media_svc_debug("start save image, path [%s] image size [%d]", image_path, size);
+       media_svc_sec_debug("start save image, path [%s] image size [%d]", image_path, size);
 
        if (!image) {
                media_svc_error("invalid image..");
@@ -753,7 +753,7 @@ int _media_svc_get_file_time(const char *full_path)
        memset(&statbuf, 0, sizeof(struct stat));
        fd = stat(full_path, &statbuf);
        if (fd == -1) {
-               media_svc_error("stat(%s) fails.", full_path);
+               media_svc_sec_error("stat(%s) fails.", full_path);
                return MS_MEDIA_ERR_INTERNAL;
        }