/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 | 221 static int fcontext_matches(const semanage_fcontext_t *fcontext, void *varg) in fcontext_matches() argument 223 const char *oexpr = semanage_fcontext_get_expr(fcontext); in fcontext_matches() 230 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 | 471 char * fcontext = NULL; in selinux_file_context_verify() local 485 if (selabel_lookup_raw(hnd, &fcontext, path, mode) != 0) { in selinux_file_context_verify() 497 rc = (selinux_file_context_cmp(fcontext, con) == 0); in selinux_file_context_verify() 501 freecon(fcontext); in selinux_file_context_verify()
|
/external/selinux/policycoreutils/semanage/ |
D | seobject.py | 1818 (rc, fcontext) = semanage_fcontext_create(self.sh) 1822 rc = semanage_fcontext_set_expr(self.sh, fcontext, target) 1834 rc = semanage_fcontext_set_con(self.sh, fcontext, con) 1838 semanage_fcontext_set_type(fcontext, file_types[ftype]) 1840 rc = semanage_fcontext_modify_local(self.sh, k, fcontext) 1847 semanage_fcontext_free(fcontext) 1874 (rc, fcontext) = semanage_fcontext_query_local(self.sh, k) 1876 (rc, fcontext) = semanage_fcontext_query(self.sh, k) 1881 con = semanage_fcontext_get_con(fcontext) 1894 rc = semanage_fcontext_set_con(self.sh, fcontext, con) [all …]
|
/external/selinux/policycoreutils/gui/ |
D | fcontextPage.py | 124 self.fcontext=seobject.fcontextRecords() 126 fcon_dict=self.fcontext.get_all(self.local)
|
/external/selinux/policycoreutils/sepolicy/sepolicy/help/ |
D | file_equiv.txt | 13 # semanage fcontext -a -e /var/www /srv/www
|
/external/selinux/libsemanage/ |
D | ChangeLog | 190 * allow fcontext and seuser changes without rebuilding the policy from Dan Walsh 197 * Fix bug in genhomedircon fcontext matches logic from Dan Walsh. 402 * Merged bug fix for fcontext validate handler from Ivan Gyurdiev. 440 * Merged improve port/fcontext API patch from Ivan Gyurdiev. 480 * Merged fcontext compare fix from Ivan Gyurdiev. 507 * Merged fcontext swig patch from Ivan Gyurdiev.
|
/external/selinux/policycoreutils/ |
D | ChangeLog | 93 * Allow use of <<none>> for semanage fcontext from Dan Walsh. 172 * return equivalency records in fcontext customized 237 * semanage: Make sure semanage fcontext -l -C prints even if local keys 413 * Fixed bug preventing semanage fcontext -l from working 498 * fcontext add checked local records twice, fix from Dan Walsh. 870 * Merged semanage/seobject patch to preserve fcontext ordering in list. 958 * Merged improve port/fcontext API patch from Ivan Gyurdiev.
|
/external/selinux/libsepol/ |
D | ChangeLog | 233 This happens for e.g. semanage_fcontext_set_con(sh, fcontext, NULL) 413 * Merged improve port/fcontext API patch from Ivan Gyurdiev.
|
/external/selinux/policycoreutils/po/ |
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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"
|
/external/selinux/libselinux/ |
D | ChangeLog | 222 * do not check fcontext duplicates on use 304 * Make matchpathcon print <<none>> if path not found in fcontext file.
|