HomeSort by relevance Sort by last modified time
    Searched full:ibpkey (Results 1 - 25 of 27) sorted by null

1 2

  /external/selinux/libsemanage/src/
ibpkey_record.c 26 int semanage_ibpkey_compare(const semanage_ibpkey_t *ibpkey,
29 return sepol_ibpkey_compare(ibpkey, key);
34 int semanage_ibpkey_compare2(const semanage_ibpkey_t *ibpkey,
37 return sepol_ibpkey_compare2(ibpkey, ibpkey2);
42 hidden int semanage_ibpkey_compare2_qsort(const semanage_ibpkey_t **ibpkey,
45 return sepol_ibpkey_compare2(*ibpkey, *ibpkey2);
57 const semanage_ibpkey_t *ibpkey,
60 return sepol_ibpkey_key_extract(handle->sepolh, ibpkey, key_ptr);
73 const semanage_ibpkey_t *ibpkey,
76 return sepol_ibpkey_get_subnet_prefix(handle->sepolh, ibpkey, subnet_prefix_ptr)
    [all...]
ibpkeys_file.c 24 semanage_ibpkey_t *ibpkey, FILE *str)
29 int low = semanage_ibpkey_get_low(ibpkey);
30 int high = semanage_ibpkey_get_high(ibpkey);
32 if (semanage_ibpkey_get_subnet_prefix(handle, ibpkey, &subnet_prefix_str) != 0)
35 semanage_context_t *con = semanage_ibpkey_get_con(ibpkey);
58 ERR(handle, "could not print ibpkey range (%s) %u - %u to stream",
66 parse_info_t *info, semanage_ibpkey_t *ibpkey)
86 if (semanage_ibpkey_set_subnet_prefix(handle, ibpkey, str) < 0)
99 * in the ranged case, not in the single ibpkey case,
114 semanage_ibpkey_set_range(ibpkey, low, high)
    [all...]
ibpkeys_local.c 99 /* Test each ibpkey for overlap */
112 /* Find the first ibpkey with matching
134 ERR(handle, "ibpkey overlap between ranges "
141 /* If closest ibpkey of matching subnet prefix doesn't overlap
142 * with test ibpkey, neither do the rest of them, because that's
ibpkey_internal.h 49 hidden int semanage_ibpkey_compare2_qsort(const semanage_ibpkey_t **ibpkey,
semanageswig_python.i 440 /** ibpkey typemaps **/
  /external/selinux/libsepol/src/
ibpkey_record.c 41 ERR(handle, "could not parse IPv6 address for ibpkey subnet prefix %s: %s",
108 ERR(handle, "out of memory, could not create ibpkey key");
126 ERR(handle, "could not create ibpkey key for subnet prefix%s, range %u, %u",
144 const sepol_ibpkey_t *ibpkey,
149 ibpkey_expand_subnet_prefix(handle, ibpkey->subnet_prefix, subnet_prefix_str);
152 (handle, subnet_prefix_str, ibpkey->low, ibpkey->high, key_ptr) < 0) {
153 ERR(handle, "could not extract key from ibpkey %s %d:%d",
155 ibpkey->low, ibpkey->high)
    [all...]
ibpkeys.c 12 /* Create a low level ibpkey structure from
17 ocontext_t **ibpkey, const sepol_ibpkey_t *data)
29 tmp_ibpkey->u.ibpkey.subnet_prefix = sepol_ibpkey_get_subnet_prefix_bytes(data);
32 tmp_ibpkey->u.ibpkey.low_pkey = low;
33 tmp_ibpkey->u.ibpkey.high_pkey = high;
34 if (tmp_ibpkey->u.ibpkey.low_pkey > tmp_ibpkey->u.ibpkey.high_pkey) {
35 ERR(handle, "low ibpkey %d exceeds high ibpkey %d",
36 tmp_ibpkey->u.ibpkey.low_pkey, tmp_ibpkey->u.ibpkey.high_pkey)
190 ocontext_t *ibpkey = NULL; local
222 sepol_ibpkey_t *ibpkey = NULL; local
    [all...]
kernel_to_common.c 527 rc = (*aa)->u.ibpkey.subnet_prefix - (*bb)->u.ibpkey.subnet_prefix;
531 return compare_ranges((*aa)->u.ibpkey.low_pkey, (*aa)->u.ibpkey.high_pkey,
532 (*bb)->u.ibpkey.low_pkey, (*bb)->u.ibpkey.high_pkey);
kernel_to_conf.c     [all...]
services.c     [all...]
write.c     [all...]
expand.c     [all...]
kernel_to_cil.c     [all...]
module_to_cil.c     [all...]
policydb.c     [all...]
  /external/selinux/libsemanage/include/semanage/
ibpkey_record.h 19 extern int semanage_ibpkey_compare(const semanage_ibpkey_t *ibpkey,
22 extern int semanage_ibpkey_compare2(const semanage_ibpkey_t *ibpkey,
31 const semanage_ibpkey_t *ibpkey,
37 const semanage_ibpkey_t *ibpkey,
40 extern uint64_t semanage_ibpkey_get_subnet_prefix_bytes(const semanage_ibpkey_t *ibpkey);
43 semanage_ibpkey_t *ibpkey,
46 extern void semanage_ibpkey_set_subnet_prefix_bytes(semanage_ibpkey_t *ibpkey,
49 extern int semanage_ibpkey_get_low(const semanage_ibpkey_t *ibpkey);
51 extern int semanage_ibpkey_get_high(const semanage_ibpkey_t *ibpkey);
53 extern void semanage_ibpkey_set_pkey(semanage_ibpkey_t *ibpkey, int pkey_num)
    [all...]
  /external/selinux/libsepol/include/sepol/
ibpkey_record.h 20 extern int sepol_ibpkey_compare(const sepol_ibpkey_t *ibpkey,
23 extern int sepol_ibpkey_compare2(const sepol_ibpkey_t *ibpkey,
36 const sepol_ibpkey_t *ibpkey,
41 extern int sepol_ibpkey_get_low(const sepol_ibpkey_t *ibpkey);
43 extern int sepol_ibpkey_get_high(const sepol_ibpkey_t *ibpkey);
45 extern void sepol_ibpkey_set_pkey(sepol_ibpkey_t *ibpkey, int pkey_num);
47 extern void sepol_ibpkey_set_range(sepol_ibpkey_t *ibpkey, int low, int high);
50 const sepol_ibpkey_t *ibpkey,
53 extern uint64_t sepol_ibpkey_get_subnet_prefix_bytes(const sepol_ibpkey_t *ibpkey);
56 sepol_ibpkey_t *ibpkey,
    [all...]
ibpkeys.h 17 /* Check if a ibpkey exists */
22 /* Query a ibpkey - returns the ibpkey, or NULL if not found */
28 /* Modify a ibpkey, or add it, if the key is not found */
42 int (*fn)(const sepol_ibpkey_t *ibpkey,
  /external/selinux/python/semanage/
semanage-ibpkey.8 1 .TH "semanage-ibpkey" "8" "20170508" "" ""
3 .B semanage\-ibpkey \- SELinux Policy Management ibpkey mapping tool
5 .B semanage ibpkey [\-h] [\-n] [\-N] [\-S STORE] [ \-\-add \-t TYPE \-x SUBNET_PREFIX \-r RANGE ibpkey_name | ibpkey_range | \-\-delete \-x SUBNET_PREFIX ibpkey_name | ibpkey_range | \-\-deleteall | \-\-extract | \-\-list [\-C] | \-\-modify \-t TYPE \-x SUBNET_PREFIX \-r RANGE ibpkey_name | ibpkey_range ]
8 semanage is used to configure certain elements of SELinux policy without requiring modification to or recompilation from policy sources. semanage ibpkey controls the ibpkey number to ibpkey type definitions.
56 List all ibpkey definitions
57 # semanage ibpkey \-l
59 # semanage ibpkey \-a \-t default_ibpkey_t \-x fe80:: 0x8FF
    [all...]
semanage.8 6 .B semanage {import,export,login,user,port,interface,module,node,fcontext,boolean,permissive,dontaudit,ibpkey,ibendport}
46 .B ibpkey
semanage 61 usage_ibpkey = "semanage ibpkey [-h] [-n] [-N] [-s STORE] ["
139 'ibpkey': seobject.ibpkeyRecords,
252 Subnet prefix for the specified infiniband ibpkey.
477 ibpkey_args = {'list': [('ibpkey', 'type', 'subnet_prefix'), ('')], 'add': [('locallist'), ('type', 'ibpkey', 'subnet_prefix')], 'modify': [('localist'), ('ibpkey', 'subnet_prefix')], 'delete': [('locallist'), ('ibpkey', 'subnet_prefix')], 'extract': [('locallist', 'ibpkey', 'type', 'subnet prefix'), ('')], 'deleteall': [('locallist'), ('')]}
481 OBJECT = object_dict['ibpkey'](args)
484 OBJECT.add(args.ibpkey, args.subnet_prefix, args.range, args.type
    [all...]
seobject.py     [all...]
  /external/selinux/libsepol/include/sepol/policydb/
services.h 191 * Return the SID of the ibpkey specified by
policydb.h 368 } ibpkey; member in union:ocontext::__anon33685
  /external/selinux/checkpolicy/
policy_define.c     [all...]

Completed in 637 milliseconds

1 2