Searched refs:ibdev_name (Results 1 – 8 of 8) sorted by relevance
/external/selinux/libsepol/src/ |
D | ibendport_record.c | 14 char *ibdev_name; member 25 char *ibdev_name; member 33 char **ibdev_name) in sepol_ibendport_alloc_ibdev_name() argument 35 *ibdev_name = calloc(1, IB_DEVICE_NAME_MAX); in sepol_ibendport_alloc_ibdev_name() 37 if (!*ibdev_name) in sepol_ibendport_alloc_ibdev_name() 50 const char *ibdev_name, in sepol_ibendport_key_create() argument 62 if (sepol_ibendport_alloc_ibdev_name(handle, &tmp_key->ibdev_name) < 0) in sepol_ibendport_key_create() 65 strncpy(tmp_key->ibdev_name, ibdev_name, IB_DEVICE_NAME_MAX); in sepol_ibendport_key_create() 77 ibdev_name, port); in sepol_ibendport_key_create() 84 const char **ibdev_name, int *port) in hidden_def() [all …]
|
D | ibendports.c | 21 char *ibdev_name = NULL; in ibendport_from_record() local 34 &ibdev_name) < 0) in ibendport_from_record() 37 strncpy(tmp_ibendport->u.ibendport.dev_name, ibdev_name, IB_DEVICE_NAME_MAX); in ibendport_from_record() 39 free(ibdev_name); in ibendport_from_record() 40 ibdev_name = NULL; in ibendport_from_record() 66 free(ibdev_name); in ibendport_from_record() 133 const char *ibdev_name; in sepol_ibendport_exists() local 135 sepol_ibendport_key_unpack(key, &ibdev_name, &port); in sepol_ibendport_exists() 143 (!strcmp(ibdev_name, ibdev_name2))) { in sepol_ibendport_exists() 161 const char *ibdev_name; in sepol_ibendport_query() local [all …]
|
/external/selinux/libsepol/include/sepol/ |
D | ibendport_record.h | 24 const char *ibdev_name, 29 const char **ibdev_name, 33 char **ibdev_name); 47 char **ibdev_name); 51 const char *ibdev_name);
|
/external/selinux/libsemanage/src/ |
D | ibendport_record.c | 49 const char *ibdev_name, in semanage_ibendport_key_create() argument 53 return sepol_ibendport_key_create(handle->sepolh, ibdev_name, port, key_ptr); in semanage_ibendport_key_create() 83 const char *ibdev_name) in hidden_def() 85 return sepol_ibendport_set_ibdev_name(handle->sepolh, ibendport, ibdev_name); in hidden_def()
|
D | ibendports_local.c | 84 char *ibdev_name; in hidden_def() local 104 &ibdev_name)) { in hidden_def() 127 stop = !strcmp(ibdev_name, ibdev_name2); in hidden_def()
|
/external/selinux/python/semanage/ |
D | seobject.py | 1598 def __genkey(self, ibendport, ibdev_name): argument 1599 if ibdev_name == "": 1607 (rc, k) = semanage_ibendport_key_create(self.sh, ibdev_name, port) 1609 … raise ValueError(_("Could not create a key for ibendport %s/%s") % (ibdev_name, ibendport)) 1610 return (k, ibdev_name, port) 1612 def __add(self, ibendport, ibdev_name, serange, type): argument 1626 (k, ibendport, port) = self.__genkey(ibendport, ibdev_name) 1630 … raise ValueError(_("Could not check if ibendport %s/%s is defined") % (ibdev_name, port)) 1632 raise ValueError(_("ibendport %s/%s already defined") % (ibdev_name, port)) 1636 raise ValueError(_("Could not create ibendport for %s/%s") % (ibdev_name, port)) [all …]
|
D | semanage | 532 OBJECT.add(args.ibendport, args.ibdev_name, args.range, args.type) 534 OBJECT.modify(args.ibendport, args.ibdev_name, args.range, args.type) 536 OBJECT.delete(args.ibendport, args.ibdev_name)
|
/external/selinux/libsemanage/include/semanage/ |
D | ibendport_record.h | 25 const char *ibdev_name, 41 const char *ibdev_name);
|