Searched defs:seinfo (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java44 public int install(String name, int uid, int gid, String seinfo) { argument
53 builder.append(seinfo != null ? seinfo : "!");
183 public int createUserData(String name, int uid, int userId, String seinfo) { argument
192 builder.append(seinfo != null ? seinfo : "!");
310 public boolean restoreconData(String pkgName, String seinfo, int uid) { argument
315 builder.append(seinfo != null ? seinfo : "!");
H A DSELinuxMMAC.java54 // Signature seinfo values read from policy.
57 // Default seinfo read from policy.
100 private String seinfo; field in class:SELinuxMMAC.Policy
104 seinfo = null;
109 seinfo = seinfoValue;
117 // seinfo value or at least one package policy.
119 return (seinfo != null) || (!pkgMap.isEmpty());
123 // Check for package name seinfo value first.
129 // Return the global seinfo value.
130 return seinfo;
[all...]
H A DPackageManagerService.java389 // If mac_permissions.xml was found for seinfo labeling.
4996 private int createDataDirsLI(String packageName, int uid, String seinfo) { argument
4998 int res = mInstaller.install(packageName, uid, uid, seinfo);
5005 UserHandle.getUid(user, uid), user, seinfo);
5537 pkg.applicationInfo.seinfo);
5580 mInstaller.restoreconData(pkg.packageName, pkg.applicationInfo.seinfo,
5590 pkg.applicationInfo.seinfo);
/frameworks/base/core/java/android/content/pm/
H A DApplicationInfo.java466 * String retrieved from the seinfo tag found in selinux policy. This value
472 public String seinfo; field in class:ApplicationInfo
619 if (seinfo != null) {
620 pw.println(prefix + "seinfo=" + seinfo);
699 seinfo = orig.seinfo;
749 dest.writeString(seinfo);
798 seinfo = source.readString();
/frameworks/native/cmds/installd/
H A Dcommands.c33 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo) argument
89 if (selinux_android_setfilecon(pkgdir, pkgname, seinfo, uid) < 0) {
190 int make_user_data(const char *pkgname, uid_t uid, userid_t userid, const char* seinfo) argument
244 if (selinux_android_setfilecon(pkgdir, pkgname, seinfo, uid) < 0) {
1478 int restorecon_data(const char* pkgName, const char* seinfo, uid_t uid) argument
1491 if (!pkgName || !seinfo) {
1492 ALOGE("Package name or seinfo tag is null when trying to restorecon.");
1501 if (selinux_android_restorecon_pkgdir(primarydir, seinfo, uid, flags) < 0) {
1545 if (selinux_android_restorecon_pkgdir(pkgdir, seinfo, uid, flags) < 0) {

Completed in 101 milliseconds