/external/selinux/libselinux/include/selinux/ |
D | 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 …]
|
/external/selinux/libselinux/src/ |
D | compute_create.c | 51 int security_compute_create_name_raw(const char * scon, in security_compute_create_name_raw() argument 79 scon, tcon, unmap_class(tclass)); in security_compute_create_name_raw() 110 int security_compute_create_raw(const char * scon, in hidden_def() 115 return security_compute_create_name_raw(scon, tcon, tclass, in hidden_def() 120 int security_compute_create_name(const char * scon, in hidden_def() 131 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def() 151 int security_compute_create(const char * scon, in hidden_def() 156 return security_compute_create_name(scon, tcon, tclass, NULL, newcon); in hidden_def()
|
D | compute_av.c | 13 int security_compute_av_flags_raw(const char * scon, in security_compute_av_flags_raw() argument 43 snprintf(buf, len, "%s %s %hu %x", scon, tcon, in security_compute_av_flags_raw() 85 int security_compute_av_raw(const char * scon, in hidden_def() 94 ret = security_compute_av_flags_raw(scon, tcon, tclass, in hidden_def() 112 int security_compute_av_flags(const char * scon, in hidden_def() 122 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def() 139 int security_compute_av(const char * scon, in hidden_def() 147 ret = security_compute_av_flags(scon, tcon, tclass, in hidden_def()
|
D | compute_relabel.c | 13 int security_compute_relabel_raw(const char * scon, in security_compute_relabel_raw() argument 39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_relabel_raw() 65 int security_compute_relabel(const char * scon, in hidden_def() 75 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def()
|
D | validatetrans.c | 13 int security_validatetrans_raw(const char *scon, in security_validatetrans_raw() argument 41 bufsz = snprintf(buf, size, "%s %s %hu %s", scon, tcon, unmap_class(tclass), newcon); in security_validatetrans_raw() 62 int security_validatetrans(const char *scon, in hidden_def() 72 if (selinux_trans_to_raw_context(scon, &rscon)) { in hidden_def()
|
D | compute_member.c | 13 int security_compute_member_raw(const char * scon, in security_compute_member_raw() argument 39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_member_raw() 65 int security_compute_member(const char * scon, in hidden_def() 75 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def()
|
D | compute_user.c | 12 int security_compute_user_raw(const char * scon, in security_compute_user_raw() argument 38 snprintf(buf, size, "%s %s", scon, user); in security_compute_user_raw() 82 int security_compute_user(const char * scon, in hidden_def() 88 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def()
|
D | checkAccess.c | 22 int selinux_check_access(const char *scon, const char *tcon, const char *class, const char *perm, v… in selinux_check_access() argument 34 rc = avc_context_to_sid(scon, &scon_id); in selinux_check_access()
|
D | audit2why.c | 312 char * scon; in analyze() local 327 …if (!PyArg_ParseTuple(args,(char *)"sssO!:audit2why",&scon,&tcon,&tclassstr,&PyList_Type, &listObj… in analyze() 339 rc = sepol_context_to_sid(scon, strlen(scon) + 1, &ssid); in analyze()
|
/external/selinux/mcstrans/utils/ |
D | untranscon.c | 16 security_context_t scon; in main() local 19 if(untrans_context(argv[1],&scon) == 0) { in main() 20 printf("%s\n", scon); in main() 21 freecon(scon); in main()
|
D | transcon.c | 17 security_context_t scon; in main() local 20 if(trans_context(argv[1],&scon) == 0) { in main() 21 printf("%s\n", scon); in main() 22 freecon(scon); in main()
|
/external/selinux/policycoreutils/secon/ |
D | secon.c | 625 security_context_t scon_trans, scon; in disp_con() local 632 scon = scon_raw; in disp_con() 634 scon = scon_trans; in disp_con() 636 if (!*scon) { /* --self-exec and --self-fs etc. */ in disp_con() 656 scon); in disp_con() 687 if (!(con = context_new(scon))) in disp_con() 688 errx(EXIT_FAILURE, "Couldn't create context from: %s", scon); in disp_con() 711 scon); in disp_con() 731 scon); in disp_con()
|
/external/selinux/libselinux/fuzzers/ |
D | selinux_check_access_fuzzer.cpp | 58 std::string scon = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() local 61 selinux_check_access(scon.data(), tcon.data(), tclass.data(), perm.data(), NULL); in LLVMFuzzerTestOneInput()
|
D | selinux_check_access_fuzzer.dict | 1 scon="u:r:shell:s0"
|
/external/selinux/gui/ |
D | fcontextPage.py | 151 scon = context(scontext) 152 self.fcontextTypeEntry.set_text(scon.type) 153 self.fcontextMLSEntry.set_text(scon.mls)
|
/external/selinux/sandbox/ |
D | seunshare.c | 555 security_context_t scon; in killall() local 598 if (getpidcon(id, &scon) == 0) { in killall() 600 context_t pidcon = context_new(scon); in killall() 606 freecon(scon); in killall()
|
/external/selinux/secilc/docs/ |
D | cil_type_statements.md | 317 ` scon=unconfined.object tcon=unconfined.object class=file` 377 ` scon=unconfined.object tcon=unconfined.object class=file`
|