projects
/
platform
/
core
/
security
/
privilege-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa04bf
)
Fix not to launch privacy popup when getting privacy status
12/124812/1
accepted/tizen_3.0_common
accepted/tizen_3.0_ivi
accepted/tizen_3.0_mobile
accepted/tizen_3.0_tv
accepted/tizen_3.0_wearable
tizen_3.0
accepted/tizen/3.0/common/20170414.094713
accepted/tizen/3.0/ivi/20170414.043122
accepted/tizen/3.0/mobile/20170414.042955
accepted/tizen/3.0/tv/20170414.043019
accepted/tizen/3.0/wearable/20170414.043056
submit/tizen_3.0/20170412.120330
author
Yunjin Lee
<yunjin-.lee@samsung.com>
Tue, 11 Apr 2017 08:06:33 +0000
(17:06 +0900)
committer
Yunjin Lee
<yunjin-.lee@samsung.com>
Wed, 12 Apr 2017 11:09:30 +0000
(
04:09
-0700)
Change-Id: Ib527ce48a3ada6ad6e60d6f83936a2de2f739502
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
(cherry picked from commit
5e58234462883020214cd3fff8df9faa53a9314b
)
src/privilege_info.c
patch
|
blob
|
history
diff --git
a/src/privilege_info.c
b/src/privilege_info.c
index
c98c9e8
..
2437505
100755
(executable)
--- a/
src/privilege_info.c
+++ b/
src/privilege_info.c
@@
-272,7
+272,7
@@
int privilege_info_get_privacy_privilege_status(const char *privilege, bool *sta
int result = snprintf(uid, UIDMAXLEN, "%d", getuid());
TryReturn(uid != NULL && result > 0, *status = true; free(session); cynara_finish(cynara), PRVINFO_ERROR_INTERNAL_ERROR, "[PRVINFO_ERROR_INTERNAL_ERROR] snprintf() for uid failed.");
- result = cynara_check(cynara, smack_label, session, uid, privilege);
+ result = cynara_
simple_
check(cynara, smack_label, session, uid, privilege);
int ret = PRVINFO_ERROR_NONE;
free(session);
cynara_finish(cynara);