/external/selinux/mcstrans/utils/ |
transcon.c | 17 security_context_t scon; local 20 if(trans_context(argv[1],&scon) == 0) { 21 printf("%s\n", scon); 22 freecon(scon);
|
untranscon.c | 16 security_context_t scon; local 19 if(untrans_context(argv[1],&scon) == 0) { 20 printf("%s\n", scon); 21 freecon(scon);
|
/external/selinux/libselinux/src/ |
compute_create.c | 51 int security_compute_create_name_raw(const char * scon, 79 scon, tcon, unmap_class(tclass)); 110 int security_compute_create_raw(const char * scon, 115 return security_compute_create_name_raw(scon, tcon, tclass, 120 int security_compute_create_name(const char * scon, 131 if (selinux_trans_to_raw_context(scon, &rscon)) 151 int security_compute_create(const char * scon, 156 return security_compute_create_name(scon, tcon, tclass, NULL, newcon);
|
compute_relabel.c | 13 int security_compute_relabel_raw(const char * scon, 39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); 65 int security_compute_relabel(const char * scon, 75 if (selinux_trans_to_raw_context(scon, &rscon))
|
compute_av.c | 13 int security_compute_av_flags_raw(const char * scon, 41 snprintf(buf, len, "%s %s %hu %x", scon, tcon, 77 int security_compute_av_raw(const char * scon, 86 ret = security_compute_av_flags_raw(scon, tcon, tclass, 104 int security_compute_av_flags(const char * scon, 114 if (selinux_trans_to_raw_context(scon, &rscon)) 131 int security_compute_av(const char * scon, 139 ret = security_compute_av_flags(scon, tcon, tclass,
|
compute_member.c | 13 int security_compute_member_raw(const char * scon, 39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); 65 int security_compute_member(const char * scon, 75 if (selinux_trans_to_raw_context(scon, &rscon))
|
compute_user.c | 12 int security_compute_user_raw(const char * scon, 38 snprintf(buf, size, "%s %s", scon, user); 82 int security_compute_user(const char * scon, 88 if (selinux_trans_to_raw_context(scon, &rscon))
|
checkAccess.c | 35 int selinux_check_access(const char *scon, const char *tcon, const char *class, const char *perm, void *aux) { 47 rc = avc_context_to_sid(scon, &scon_id);
|
audit2why.c | 312 char * scon; local 327 if (!PyArg_ParseTuple(args,(char *)"sssO!:audit2why",&scon,&tcon,&tclassstr,&PyList_Type, &listObj)) 339 rc = sepol_context_to_sid(scon, strlen(scon) + 1, &ssid);
|
/external/selinux/libselinux/include/selinux/ |
selinux.h | 184 extern int security_compute_av(const char * scon, 189 extern int security_compute_av_raw(const char * scon, 195 extern int security_compute_av_flags(const char * scon, 200 extern int security_compute_av_flags_raw(const char * scon, 208 extern int security_compute_create(const char * scon, 212 extern int security_compute_create_raw(const char * scon, 216 extern int security_compute_create_name(const char * scon, 221 extern int security_compute_create_name_raw(const char * scon, 229 extern int security_compute_relabel(const char * scon, 233 extern int security_compute_relabel_raw(const char * scon, [all...] |
/frameworks/base/core/java/android/os/ |
SELinux.java | 96 * @param scon The source or subject security context. 102 public static final native boolean checkSELinuxAccess(String scon, String tcon, String tclass, String perm);
|
/external/selinux/policycoreutils/secon/ |
secon.c | 625 security_context_t scon_trans, scon; local 632 scon = scon_raw; 634 scon = scon_trans; 636 if (!*scon) { /* --self-exec and --self-fs etc. */ 655 scon); 686 if (!(con = context_new(scon))) 687 errx(EXIT_FAILURE, "Couldn't create context from: %s", scon); 710 scon); 730 scon);
|
/external/selinux/gui/ |
fcontextPage.py | 154 scon = context(scontext) 155 self.fcontextTypeEntry.set_text(scon.type) 156 self.fcontextMLSEntry.set_text(scon.mls)
|
/external/selinux/sandbox/ |
seunshare.c | 555 security_context_t scon; local 598 if (getpidcon(id, &scon) == 0) { 600 context_t pidcon = context_new(scon); 606 freecon(scon);
|
/system/core/init/ |
service.cpp | 724 std::string scon; local 726 scon = seclabel_; 728 scon = ComputeContextFromExecutable(name_, args_[0]); 729 if (scon == "") { 757 std::bind(&DescriptorInfo::CreateAndPublish, std::placeholders::_1, scon)); [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/obj/mips/ |
asm0.go | 1113 case 4: /* add $scon,[r1],r2 */ [all...] |
/prebuilts/go/linux-x86/src/cmd/internal/obj/mips/ |
asm0.go | 1113 case 4: /* add $scon,[r1],r2 */ [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/obj/ppc64/ |
asm9.go | [all...] |
/prebuilts/go/linux-x86/src/cmd/internal/obj/ppc64/ |
asm9.go | [all...] |