/external/selinux/libsemanage/src/ |
D | fcontext_record.c | 63 const semanage_fcontext_t * fcontext, in hidden_def() 67 if (semanage_fcontext_key_create(handle, fcontext->expr, in hidden_def() 68 fcontext->type, key_ptr) < 0) { in hidden_def() 70 "file context %s (%s)", fcontext->expr, in hidden_def() 71 semanage_fcontext_get_type_str(fcontext->type)); in hidden_def() 88 int semanage_fcontext_compare(const semanage_fcontext_t * fcontext, in hidden_def() 92 int rv = strcmp(fcontext->expr, key->expr); in hidden_def() 96 if (fcontext->type < key->type) in hidden_def() 99 else if (key->type < fcontext->type) in hidden_def() 109 int semanage_fcontext_compare2(const semanage_fcontext_t * fcontext, in hidden_def() [all …]
|
D | fcontexts_file.c | 47 semanage_fcontext_t * fcontext, FILE * str) in fcontext_print() argument 52 const char *expr = semanage_fcontext_get_expr(fcontext); in fcontext_print() 53 int type = semanage_fcontext_get_type(fcontext); in fcontext_print() 56 semanage_context_t *con = semanage_fcontext_get_con(fcontext); in fcontext_print() 82 parse_info_t * info, semanage_fcontext_t * fcontext) in fcontext_parse() argument 96 if (semanage_fcontext_set_expr(handle, fcontext, str) < 0) in fcontext_parse() 107 semanage_fcontext_set_type(fcontext, SEMANAGE_FCONTEXT_SOCK); in fcontext_parse() 109 semanage_fcontext_set_type(fcontext, SEMANAGE_FCONTEXT_PIPE); in fcontext_parse() 111 semanage_fcontext_set_type(fcontext, SEMANAGE_FCONTEXT_BLOCK); in fcontext_parse() 113 semanage_fcontext_set_type(fcontext, SEMANAGE_FCONTEXT_LINK); in fcontext_parse() [all …]
|
D | genhomedircon.c | 238 static int fcontext_matches(const semanage_fcontext_t *fcontext, void *varg) in fcontext_matches() argument 240 const char *oexpr = semanage_fcontext_get_expr(fcontext); in fcontext_matches() 248 type = semanage_fcontext_get_type(fcontext); in fcontext_matches()
|
/external/selinux/libsemanage/include/semanage/ |
D | fcontext_record.h | 18 extern int semanage_fcontext_compare(const semanage_fcontext_t * fcontext, 21 extern int semanage_fcontext_compare2(const semanage_fcontext_t * fcontext, 30 const semanage_fcontext_t * fcontext, 37 fcontext); 40 semanage_fcontext_t * fcontext, 53 extern int semanage_fcontext_get_type(const semanage_fcontext_t * fcontext); 57 extern void semanage_fcontext_set_type(semanage_fcontext_t * fcontext, 62 fcontext); 65 semanage_fcontext_t * fcontext, 73 const semanage_fcontext_t * fcontext, [all …]
|
/external/selinux/libsemanage/example/ |
D | test_fcontext.c | 12 semanage_fcontext_t *fcontext; in main() local 45 if (semanage_fcontext_create(sh, &fcontext) < 0) { in main() 49 semanage_fcontext_set_expr(sh, fcontext, argv[2]); in main() 56 if (semanage_fcontext_set_con(sh, fcontext, con) < 0) { in main() 61 semanage_fcontext_set_type(fcontext, SEMANAGE_FCONTEXT_REG); in main() 63 if(semanage_fcontext_modify_local(sh, k, fcontext) < 0) { in main() 68 semanage_fcontext_free(fcontext); in main()
|
/external/selinux/libselinux/src/ |
D | matchpathcon.c | 493 char * fcontext = NULL; in selinux_file_context_verify() local 518 if (selabel_lookup_raw(hnd, &fcontext, path, mode) != 0) { in selinux_file_context_verify() 530 rc = (selinux_file_context_cmp(fcontext, con) == 0); in selinux_file_context_verify() 534 freecon(fcontext); in selinux_file_context_verify()
|
/external/selinux/python/semanage/ |
D | seobject.py | 2430 (rc, fcontext) = semanage_fcontext_create(self.sh) 2434 rc = semanage_fcontext_set_expr(self.sh, fcontext, target) 2446 rc = semanage_fcontext_set_con(self.sh, fcontext, con) 2450 semanage_fcontext_set_type(fcontext, file_types[ftype]) 2452 rc = semanage_fcontext_modify_local(self.sh, k, fcontext) 2459 semanage_fcontext_free(fcontext) 2494 (rc, fcontext) = semanage_fcontext_query_local(self.sh, k) 2497 (rc, fcontext) = semanage_fcontext_query(self.sh, k) 2502 con = semanage_fcontext_get_con(fcontext) 2515 rc = semanage_fcontext_set_con(self.sh, fcontext, con) [all …]
|
/external/selinux/gui/ |
D | fcontextPage.py | 125 self.fcontext = seobject.fcontextRecords() 127 fcon_dict = self.fcontext.get_all(self.local)
|
/external/selinux/python/sepolicy/sepolicy/help/ |
D | file_equiv.txt | 13 # semanage fcontext -a -e /var/www /srv/www
|
/external/selinux/policycoreutils/po/ |
D | ko.po | 905 msgid "SELinux fcontext" 906 msgstr "SELinux fcontext" 915 "SELinux Distribution fcontext Equivalence \n" 918 "SELinux 배포판 fcontext 해당 \n" 923 "SELinux Local fcontext Equivalence \n" 926 "SELinux 로컬 fcontext 해당 \n" 5235 "SELinux 로컬 fcontext 해당 \n"
|
D | te.po | 905 msgid "SELinux fcontext" 906 msgstr "SELinux fcontext" 915 "SELinux Distribution fcontext Equivalence \n" 918 "SELinux పంపిణీ fcontext సమానత \n" 923 "SELinux Local fcontext Equivalence \n" 926 "SELinux స్థానిక fcontext సమానత \n" 5123 "SELinux స్థానిక fcontext సమానత \n"
|
D | hi.po | 904 msgid "SELinux fcontext" 905 msgstr "SELinux fcontext" 914 "SELinux Distribution fcontext Equivalence \n" 917 "SELinux वितरण fcontext समरूप \n" 922 "SELinux Local fcontext Equivalence \n" 925 "SELinux स्थानीय fcontext समरूप \n" 5169 "SELinux स्थानीय fcontext समरूप \n"
|
D | bn_IN.po | 911 msgid "SELinux fcontext" 912 msgstr "SELinux fcontext" 921 "SELinux Distribution fcontext Equivalence \n" 924 "SELinux Distribution fcontext Equivalence \n" 929 "SELinux Local fcontext Equivalence \n" 932 "SELinux Local fcontext Equivalence \n" 5042 "SELinux Local fcontext Equivalence \n"
|
D | zh_CN.po | 905 msgid "SELinux fcontext" 906 msgstr "SELinux fcontext" 915 "SELinux Distribution fcontext Equivalence \n" 918 "SELinux Distribution fcontext Equivalence\n" 923 "SELinux Local fcontext Equivalence \n" 926 "SELinux Local fcontext Equivalence\n" 5037 "SELinux Local fcontext Equivalence\n"
|
D | zh_TW.po | 904 msgid "SELinux fcontext" 905 msgstr "SELinux fcontext" 914 "SELinux Distribution fcontext Equivalence \n" 917 "SELinux Distribution fcontext Equivalence \n" 922 "SELinux Local fcontext Equivalence \n" 925 "SELinux Local fcontext Equivalence \n" 5070 "SELinux Local fcontext Equivalence \n"
|
D | bg.po | 909 msgid "SELinux fcontext" 919 "SELinux Distribution fcontext Equivalence \n" 922 "Дистрибуционна SELinux fcontext еквивалентност \n" 927 "SELinux Local fcontext Equivalence \n" 930 "Локална SELinux fcontext еквивалентност \n" 5040 "Локална SELinux fcontext еквивалентност \n"
|
D | as.po | 916 msgid "SELinux fcontext" 917 msgstr "SELinux fcontext" 926 "SELinux Distribution fcontext Equivalence \n" 929 "SELinux Distribution fcontext Equivalence \n" 934 "SELinux Local fcontext Equivalence \n" 937 "SELinux Local fcontext Equivalence \n"
|
D | mr.po | 914 msgid "SELinux fcontext" 915 msgstr "SELinux fcontext" 924 "SELinux Distribution fcontext Equivalence \n" 927 "SELinux डिस्ट्रिब्युशन fcontext इक्विवॅलेंस \n" 932 "SELinux Local fcontext Equivalence \n" 935 "SELinux लोकल fcontext इक्विवॅलेंस \n"
|
D | pa.po | 907 msgid "SELinux fcontext" 908 msgstr "SELinux fcontext" 917 "SELinux Distribution fcontext Equivalence \n" 920 "SELinux ਡਿਸਟਰੀਬਿਊਸ਼ਨ fcontext ਬਦਲਾਅ \n" 925 "SELinux Local fcontext Equivalence \n" 928 "SELinux ਲੋਕਲ fcontext ਬਦਲਾਅ \n"
|
D | ta.po | 912 msgid "SELinux fcontext" 913 msgstr "SELinux fcontext" 922 "SELinux Distribution fcontext Equivalence \n" 925 "SELinux Distribution fcontext சமானம் \n" 930 "SELinux Local fcontext Equivalence \n" 933 "SELinux Local fcontext சமானம்\n"
|
D | ml.po | 906 msgid "SELinux fcontext" 907 msgstr "SELinux fcontext" 916 "SELinux Distribution fcontext Equivalence \n" 919 "SELinux ഡിസ്ട്രിബ്യൂഷന് fcontext ഇക്ക്വിവാലന്സ് \n" 924 "SELinux Local fcontext Equivalence \n" 927 "SELinux ലോക്കല് fcontext ഇക്ക്വിവാലന്സ് \n"
|
D | kn.po | 914 msgid "SELinux fcontext" 915 msgstr "SELinux fcontext" 924 "SELinux Distribution fcontext Equivalence \n" 927 "SELinux ವಿತರಣೆ fcontext ಗೆ ಸಮನಾದ\n" 932 "SELinux Local fcontext Equivalence \n" 935 "SELinux ಸ್ಥಳೀಯ fcontext ಗೆ ಸಮನಾದ\n"
|
D | ja.po | 923 msgid "SELinux fcontext" 924 msgstr "SELinux fcontext" 933 "SELinux Distribution fcontext Equivalence \n" 936 "SELinux ディストリビューション fcontext の等価\n" 941 "SELinux Local fcontext Equivalence \n" 944 " SELinux ローカル fcontext の等価\n"
|
D | el.po | 901 msgid "SELinux fcontext" 902 msgstr "SELinux fcontext" 911 "SELinux Distribution fcontext Equivalence \n" 917 "SELinux Local fcontext Equivalence \n" 4244 msgstr "SELinux fcontext"
|
D | pt_BR.po | 923 msgid "SELinux fcontext" 924 msgstr "fcontext do SELinux" 933 "SELinux Distribution fcontext Equivalence \n" 936 "SELinux Distribution fcontext Equivalence \n" 941 "SELinux Local fcontext Equivalence \n" 944 "SELinux Local fcontext Equivalence \n" 5189 "SELinux Local fcontext Equivalence \n"
|