/external/selinux/libsemanage/src/ |
D | seuser_record.c | 65 const semanage_seuser_t * seuser, in hidden_def() 69 if (semanage_seuser_key_create(handle, seuser->name, key_ptr) < 0) in hidden_def() 89 int semanage_seuser_compare(const semanage_seuser_t * seuser, in hidden_def() 93 return strcmp(seuser->name, key->name); in hidden_def() 98 int semanage_seuser_compare2(const semanage_seuser_t * seuser, in hidden_def() 102 return strcmp(seuser->name, seuser2->name); in hidden_def() 107 static int semanage_seuser_compare2_qsort(const semanage_seuser_t ** seuser, in hidden_def() 111 return strcmp((*seuser)->name, (*seuser2)->name); in hidden_def() 115 const char *semanage_seuser_get_name(const semanage_seuser_t * seuser) in semanage_seuser_get_name() argument 118 return seuser->name; in semanage_seuser_get_name() [all …]
|
D | seusers_file.c | 23 semanage_seuser_t * seuser, FILE * str) in seuser_print() argument 26 const char *name = semanage_seuser_get_name(seuser); in seuser_print() 27 const char *sename = semanage_seuser_get_sename(seuser); in seuser_print() 28 const char *mls = semanage_seuser_get_mlsrange(seuser); in seuser_print() 45 parse_info_t * info, semanage_seuser_t * seuser) in seuser_parse() argument 58 if (semanage_seuser_set_name(handle, seuser, str) < 0) in seuser_parse() 73 if (semanage_seuser_set_sename(handle, seuser, str) < 0) in seuser_parse() 89 if (semanage_seuser_set_mlsrange(handle, seuser, str) < 0) in seuser_parse()
|
D | seusers_local.c | 59 const semanage_seuser_t * seuser, in semanage_seuser_audit() argument 80 if (seuser) { in semanage_seuser_audit() 81 name = semanage_seuser_get_name(seuser); in semanage_seuser_audit() 82 sename = semanage_seuser_get_sename(seuser); in semanage_seuser_audit() 83 mls = semanage_seuser_get_mlsrange(seuser); in semanage_seuser_audit() 179 semanage_seuser_t *seuser = NULL; in semanage_seuser_del_local() local 182 semanage_seuser_query(handle, key, &seuser); in semanage_seuser_del_local() 183 if (semanage_seuser_audit(handle, NULL, seuser, AUDIT_ROLE_REMOVE, rc == 0) < 0) in semanage_seuser_del_local() 185 if (seuser) in semanage_seuser_del_local() 186 semanage_seuser_free(seuser); in semanage_seuser_del_local() [all …]
|
D | pywrap-test.py | 15 -S for add seuser (warning this will write!)\n\ 180 for seuser in slist: 182 print("seseuser reference: %s" % seuser) 183 print("seuser name: %s" % semanage.semanage_seuser_get_name(seuser)) 184 print(" seuser mls range: %s" % semanage.semanage_seuser_get_mlsrange(seuser)) 185 print(" seuser sename: %s" % semanage.semanage_seuser_get_sename(seuser)) 186 semanage.semanage_seuser_free(seuser) 480 (status, seuser) = semanage.semanage_seuser_create(sh) 486 status = semanage.semanage_seuser_set_name(sh, seuser, "testPySEUser") 490 print("SEUser name set: %s" % semanage.semanage_seuser_get_name(seuser)) [all …]
|
/external/selinux/libsemanage/include/semanage/ |
D | seuser_record.h | 19 const semanage_seuser_t * seuser, 24 extern int semanage_seuser_compare(const semanage_seuser_t * seuser, 27 extern int semanage_seuser_compare2(const semanage_seuser_t * seuser, 31 extern const char *semanage_seuser_get_name(const semanage_seuser_t * seuser); 34 semanage_seuser_t * seuser, 38 extern const char *semanage_seuser_get_sename(const semanage_seuser_t * seuser); 41 semanage_seuser_t * seuser, 46 seuser); 49 semanage_seuser_t * seuser, 57 const semanage_seuser_t * seuser, [all …]
|
/external/selinux/libselinux/src/ |
D | seusers.c | 20 char *luser = NULL, *seuser = NULL, *level = NULL; in process_seusers() local 54 seuser = strdup(start); in process_seusers() 55 if (!seuser) in process_seusers() 58 if (!strcmp(seuser, "")) in process_seusers() 80 *seuserp = seuser; in process_seusers() 86 free(seuser); in process_seusers() 179 char *seuser = NULL; in getseuserbyname() local 195 rc = process_seusers(buffer, &username, &seuser, &level, in getseuserbyname() 211 groupseuser = seuser; in getseuserbyname() 216 defaultseuser = seuser; in getseuserbyname() [all …]
|
/external/selinux/libselinux/utils/ |
D | getseuser.c | 10 char *seuser = NULL, *level = NULL; in main() local 19 rc = getseuserbyname(argv[1], &seuser, &level); in main() 25 printf("seuser: %s, level %s\n", seuser, level); in main() 26 n = get_ordered_context_list_with_level(seuser, level, argv[2], in main() 34 free(seuser); in main()
|
D | getdefaultcon.c | 23 char *user = NULL, *level = NULL, *role=NULL, *seuser=NULL, *dlevel=NULL; in main() local 68 if ((ret = getseuser(user, service, &seuser, &dlevel)) == 0) { in main() 71 ret=get_default_context_with_rolelevel(seuser, role, level,cur_context,&usercon); in main() 73 ret=get_default_context_with_level(seuser, level, cur_context,&usercon); in main() 79 …printf("%s: %s from %s %s %s %s -> %s\n", argv[0], user, cur_context, seuser, role, level, usercon… in main() 86 free(seuser); in main()
|
/external/selinux/gui/ |
D | loginsPage.py | 116 seuser = store.get_value(iter, 1) 119 while iter != None and liststore.get_value(iter, 0) != seuser: 155 seuser = list_model.get_value(iter, 0) 157 (rc, out) = getstatusoutput("semanage login -a -s %s -r %s %s" % (seuser, serange, target)) 165 self.store.set_value(iter, 1, seuser) 175 seuser = list_model.get_value(iter, 0) 177 (rc, out) = getstatusoutput("semanage login -m -s %s -r %s %s" % (seuser, serange, target)) 185 self.store.set_value(iter, 1, seuser)
|
/external/selinux/python/semanage/ |
D | seobject.py | 2367 def createcon(self, target, seuser="system_u"): argument 2371 if seuser == "": 2372 seuser = "system_u" 2374 rc = semanage_context_set_user(self.sh, con, seuser) 2400 def __add(self, target, type, ftype="", serange="", seuser="system_u"): argument 2436 con = self.createcon(target, seuser) 2461 if not seuser: 2462 seuser = "system_u" 2464 …audit.audit_encode_nv_string("tglob", target, 0), ftype_to_audit[ftype], seuser, "object_r", type,… 2466 def add(self, target, type, ftype="", serange="", seuser="system_u"): argument [all …]
|
D | semanage | 193 OBJECT.add(args.login, args.seuser, args.range) 195 OBJECT.modify(args.login, args.seuser, args.range) 329 OBJECT.add(args.file_spec, args.type, args.ftype, args.range, args.seuser) 334 OBJECT.modify(args.file_spec, args.type, args.ftype, args.range, args.seuser)
|
/external/selinux/libselinux/include/selinux/ |
D | selinux.h | 646 extern int getseuserbyname(const char *linuxuser, char **seuser, char **level);
|
/external/selinux/python/sepolicy/sepolicy/ |
D | gui.py | 1753 seuser = self.combo_get_active_text(combo) 1756 if seuser == u['name']: 1934 seuser = self.combo_get_active_text(self.login_seuser_combobox) 1945 …self.cur_dict["login"][name] = {"action": "-m", "range": mls_range, "seuser": seuser, "oldrange": … 1948 self.cur_dict["login"][name] = {"action": "-a", "range": mls_range, "seuser": seuser} 1951 self.liststore.set_value(iter, 1, seuser) 2108 seuser = login_dict[login]["seuser"] 2111 self.login_delete_liststore.set_value(iter, 1, seuser) 2296 seuser = self.cur_dict["login"][login]["seuser"] 2297 self.update_treestore.set_value(niter, 1, (_("SELinux User: %s")) % seuser)
|
/external/selinux/libsepol/src/ |
D | module_to_cil.c | 3116 char *seuser = NULL; in seusers_to_cil() local 3137 matched = tokenize(tmp, ':', 3, &user, &seuser, &level); in seusers_to_cil() 3146 cil_printf("(selinuxuserdefault %s (", seuser); in seusers_to_cil() 3148 cil_printf("(selinuxuser %s %s (", user, seuser); in seusers_to_cil() 3163 free(seuser); in seusers_to_cil() 3166 user = seuser = level = NULL; in seusers_to_cil() 3178 free(seuser); in seusers_to_cil()
|
/external/selinux/policycoreutils/po/ |
D | bg.po | 256 msgid "Requires seuser or serange" 257 msgstr "Изисква seuser или serange" 266 msgid "Could not query seuser for %s" 267 msgstr "Не можах да запитам seuser за %s" 862 msgid "Requires setype, serange or seuser" 863 msgstr "Изисква setype, serange или seuser"
|
D | mk.po | 257 msgid "Requires seuser or serange" 258 msgstr "Побарува seuser или serange" 267 msgid "Could not query seuser for %s" 268 msgstr "Не можев да пребарувам во seuser за %s" 862 msgid "Requires setype, serange or seuser" 863 msgstr "Побарува setype, serange или seuser"
|
D | te.po | 256 msgid "Requires seuser or serange" 257 msgstr "seuser లేదా serange అవసరము" 266 msgid "Could not query seuser for %s" 267 msgstr "%s కొరకు seuser ను క్వరీ చేయలేకపోయింది" 859 msgid "Requires setype, serange or seuser" 860 msgstr "setype, serange లేదా seuser అవసరము"
|
D | ko.po | 255 msgid "Requires seuser or serange" 256 msgstr "seuser 또는 serange 필요" 265 msgid "Could not query seuser for %s" 266 msgstr "%s에 대한 seuser를 질의할 수 없습니다" 859 msgid "Requires setype, serange or seuser" 860 msgstr "setype, serange 또는 seuser 필요"
|
D | hi.po | 255 msgid "Requires seuser or serange" 256 msgstr "seuser या serange जरूरी" 265 msgid "Could not query seuser for %s" 266 msgstr "seuser को %s के लिये प्रश्न नहीं कर सका" 858 msgid "Requires setype, serange or seuser" 859 msgstr "सेटटाइप जरूरी, serange या seuser"
|
D | sr.po | 258 msgid "Requires seuser or serange" 259 msgstr "Захтева seuser или serange" 268 msgid "Could not query seuser for %s" 269 msgstr "Не могу да испитам seuser-а за %s" 860 msgid "Requires setype, serange or seuser" 861 msgstr "Захтева setype, serange или seuser"
|
D | ar.po | 258 msgid "Requires seuser or serange" 259 msgstr "بحاجة إلى seuser أو serange" 268 msgid "Could not query seuser for %s" 269 msgstr "لا يمكن استعلام seuser لـ %s" 860 msgid "Requires setype, serange or seuser" 861 msgstr "يتطلب setype، serange أو seuser"
|
D | mai.po | 254 msgid "Requires seuser or serange" 255 msgstr "seuser अथवा serange जरूरी" 264 msgid "Could not query seuser for %s" 265 msgstr "seuser केँ %s क लेल प्रश्न नहि कए सकल" 856 msgid "Requires setype, serange or seuser" 857 msgstr "सेटटाइप जरूरी, serange या seuser"
|
D | bn_IN.po | 256 msgid "Requires seuser or serange" 257 msgstr "seuser অথবা serange আবশ্যক" 266 msgid "Could not query seuser for %s" 267 msgstr "%s'র ক্ষেত্রে seuser কোয়েরি করা যায়নি" 864 msgid "Requires setype, serange or seuser" 865 msgstr "setype, serange অথবা seuser আবশ্যক"
|
D | ta.po | 262 msgid "Requires seuser or serange" 263 msgstr "seuser அல்லது serange தேவைப்படுகிறது" 272 msgid "Could not query seuser for %s" 273 msgstr "seuser %sக்கு வினா எழுப்ப முடியவில்லை" 866 msgid "Requires setype, serange or seuser" 867 msgstr "setype, serange அல்லது seuser தேவைப்படுகிறது"
|
D | sr@latin.po | 259 msgid "Requires seuser or serange" 260 msgstr "Zahteva seuser ili serange" 269 msgid "Could not query seuser for %s" 270 msgstr "Ne mogu da ispitam seuser-a za %s" 861 msgid "Requires setype, serange or seuser" 862 msgstr "Zahteva setype, serange ili seuser"
|