Replace open(system call) to access(std.) 95/216695/8 accepted/tizen/unified/20191111.105532 submit/tizen/20191110.224221
authorjiyong.min <jiyong.min@samsung.com>
Thu, 31 Oct 2019 01:28:43 +0000 (10:28 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Mon, 4 Nov 2019 00:52:35 +0000 (09:52 +0900)
commit4745bc0a920bc246763267866e25db6702e659ca
tree972ac2d99875f2260f7c2a6e42760aad6853cea7
parent5860f0b0b8a52ba9134295c4ec7db6c85362e203
Replace open(system call) to access(std.)

 - When open() without O_CREAT, executable program can't create file
   due to 'Permission Denied'. Just it happened in shell enviroment.

 - The access() is standard function to check path permission.

Change-Id: I5f4f2bf00c0e6a21b36c1c39261008e5035113fe
include/image_util_private.h
src/image_util_encode.c
src/image_util_private.c