Home | History | Annotate | Download | only in android

Lines Matching refs:pkgname

904 				const char *pkgname,
935 __FUNCTION__, uid, seinfo, pkgname);
1000 if(!pkgname)
1004 if (strncasecmp(pkgname, cur->name.str, cur->name.len-1))
1007 if (strcasecmp(pkgname, cur->name.str))
1087 __FUNCTION__, uid, seinfo, pkgname);
1101 const char *pkgname,
1122 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, NULL, ctx);
1174 const char *pkgname)
1192 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, NULL, ctx);
1249 static unsigned int pkghash(const char *pkgname)
1252 for (; *pkgname; pkgname++) {
1253 h = h * 31 + *pkgname;
1345 char *pkgname = NULL, *end = NULL;
1392 pkgname = strdup(pathname);
1393 if (!pkgname)
1396 for (end = pkgname; *end && *end != '/'; end++)
1404 info = package_info_lookup(pkgname);
1407 pkgname, pathname);
1408 free(pkgname);
1418 info ? info->seinfo : seinfo, info ? info->name : pkgname, pathname, ctx);
1441 free(pkgname);
1445 selinux_log(SELINUX_ERROR, "%s: Error looking up context for path %s, pkgname %s, seinfo %s, uid %u: %s\n",
1446 __FUNCTION__, pathname, pkgname, info->seinfo, info->uid, strerror(errno));