/external/selinux/libselinux/src/ |
compute_create.c | 52 const char * tcon, 79 scon, tcon, unmap_class(tclass)); 111 const char * tcon, 115 return security_compute_create_name_raw(scon, tcon, tclass, 121 const char * tcon, 133 if (selinux_trans_to_raw_context(tcon, &rtcon)) { 152 const char * tcon, 156 return security_compute_create_name(scon, tcon, tclass, NULL, newcon);
|
compute_relabel.c | 14 const char * tcon, 39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); 66 const char * tcon, 77 if (selinux_trans_to_raw_context(tcon, &rtcon)) {
|
compute_av.c | 14 const char * tcon, 41 snprintf(buf, len, "%s %s %hu %x", scon, tcon, 78 const char * tcon, 86 ret = security_compute_av_flags_raw(scon, tcon, tclass, 105 const char * tcon, 116 if (selinux_trans_to_raw_context(tcon, &rtcon)) { 132 const char * tcon, 139 ret = security_compute_av_flags(scon, tcon, tclass,
|
compute_member.c | 14 const char * tcon, 39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); 66 const char * tcon, 77 if (selinux_trans_to_raw_context(tcon, &rtcon)) {
|
checkAccess.c | 35 int selinux_check_access(const char *scon, const char *tcon, const char *class, const char *perm, void *aux) { 51 rc = avc_context_to_sid(tcon, &tcon_id);
|
audit2why.c | 313 char * tcon; local 327 if (!PyArg_ParseTuple(args,(char *)"sssO!:audit2why",&scon,&tcon,&tclassstr,&PyList_Type, &listObj)) 343 rc = sepol_context_to_sid(tcon, strlen(tcon) + 1, &tsid);
|
/external/selinux/libselinux/include/selinux/ |
selinux.h | 185 const char * tcon, 190 const char * tcon, 196 const char * tcon, 201 const char * tcon, 209 const char * tcon, 213 const char * tcon, 217 const char * tcon, 222 const char * tcon, 230 const char * tcon, 234 const char * tcon, [all...] |
/frameworks/base/core/java/android/os/ |
SELinux.java | 97 * @param tcon The target or object security context. 102 public static final native boolean checkSELinuxAccess(String scon, String tcon, String tclass, String perm);
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
Am.java | 122 final String tcon = SELinux.getFileContext(file.getAbsolutePath()); local 123 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { 128 String msg = "System server has no access to file context " + tcon;
|