Home | History | Annotate | Download | only in src

Lines Matching refs:pkgname

664 				const char *pkgname,
740 if(!pkgname)
744 if (strncasecmp(pkgname, cur->name.str, cur->name.len-1))
747 if (strcasecmp(pkgname, cur->name.str))
821 __FUNCTION__, uid, seinfo, pkgname);
835 const char *pkgname,
856 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, NULL, ctx);
908 const char *pkgname)
926 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, NULL, ctx);
1019 static unsigned int pkghash(const char *pkgname)
1022 for (; *pkgname; pkgname++) {
1023 h = h * 31 + *pkgname;
1114 char *pkgname = NULL, *end = NULL;
1161 pkgname = strdup(pathname);
1162 if (!pkgname)
1165 for (end = pkgname; *end && *end != '/'; end++)
1173 info = package_info_lookup(pkgname);
1176 pkgname, pathname);
1177 free(pkgname);
1187 info ? info->seinfo : seinfo, info ? info->name : pkgname, pathname, ctx);
1210 free(pkgname);
1214 selinux_log(SELINUX_ERROR, "%s: Error looking up context for path %s, pkgname %s, seinfo %s, uid %u: %s\n",
1215 __FUNCTION__, pathname, pkgname, info->seinfo, info->uid, strerror(errno));