projects
/
platform
/
core
/
security
/
libprivilege-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109d71f
)
Prevent related bugfixes.
author
Mariusz Domanski
<m.domanski@samsung.com>
Tue, 15 Jan 2013 14:40:06 +0000
(15:40 +0100)
committer
Tomasz Swierczek
<t.swierczek@samsung.com>
Wed, 16 Jan 2013 16:01:30 +0000
(17:01 +0100)
[Issue] N/A
[Bug] Bugs found by Coverity.
[Cause] N/A
[Solution] Fix for copy-paste error.
[Verification] Build libprivilege-control, installl package
on target and successfuly reboot target.
src/privilege-control.c
patch
|
blob
|
history
diff --git
a/src/privilege-control.c
b/src/privilege-control.c
index
17ed6fe
..
91c436e
100644
(file)
--- a/
src/privilege-control.c
+++ b/
src/privilege-control.c
@@
-417,7
+417,7
@@
static inline int perm_to_smack(struct smack_accesses* smack, const char* app_la
strcpy(smack_subject, app_label);
if (!strcmp(smack_object, SMACK_APP_LABEL))
- strcpy(smack_
su
bject, app_label);
+ strcpy(smack_
o
bject, app_label);
if (smack_accesses_add_modify(smack, smack_subject, smack_object, smack_accesses, "") != 0) {
ret = PC_ERR_INVALID_OPERATION;