Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Security-manager: update of global user name
[AGL/meta-agl.git]
/
meta-app-framework
/
recipes-core
/
security-manager
/
security-manager
/
Removing-tizen-platform-config.patch
diff --git
a/meta-app-framework/recipes-core/security-manager/security-manager/Removing-tizen-platform-config.patch
b/meta-app-framework/recipes-core/security-manager/security-manager/Removing-tizen-platform-config.patch
index
4830db2
..
1c9edcf
100644
(file)
--- a/
meta-app-framework/recipes-core/security-manager/security-manager/Removing-tizen-platform-config.patch
+++ b/
meta-app-framework/recipes-core/security-manager/security-manager/Removing-tizen-platform-config.patch
@@
-94,7
+94,7
@@
index ae305d3..65cc8b5 100644
+ if (!globaluid) {
+ struct passwd pw, *p;
+ char buf[4096];
+ if (!globaluid) {
+ struct passwd pw, *p;
+ char buf[4096];
-+ int rc = getpwnam_r("
userapp
", &pw, buf, sizeof buf, &p);
++ int rc = getpwnam_r("
afm
", &pw, buf, sizeof buf, &p);
+ globaluid = (rc || p == NULL) ? 555 : p->pw_uid;
+ }
return globaluid;
+ globaluid = (rc || p == NULL) ? 555 : p->pw_uid;
+ }
return globaluid;